projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: rename transforming bt_X_borrow_Y() -> bt_X_as_Y()
[babeltrace.git]
/
plugins
/
ctf
/
fs-src
/
query.c
diff --git
a/plugins/ctf/fs-src/query.c
b/plugins/ctf/fs-src/query.c
index ec8eccbe44a674a421ded50ebc476c0b81364892..026c95829e4189df04c5ee0f71e1968a69c29ed8 100644
(file)
--- a/
plugins/ctf/fs-src/query.c
+++ b/
plugins/ctf/fs-src/query.c
@@
-175,7
+175,7
@@
end:
fclose(metadata_fp);
}
fclose(metadata_fp);
}
- *user_result = bt_private_value_
borrow
_value(result);
+ *user_result = bt_private_value_
as
_value(result);
return status;
}
return status;
}
@@
-213,7
+213,7
@@
int add_range(struct bt_private_value *info, struct range *range,
}
status = bt_private_value_map_insert_entry(info, range_name,
}
status = bt_private_value_map_insert_entry(info, range_name,
- bt_private_value_
borrow
_value(range_map));
+ bt_private_value_
as
_value(range_map));
if (status != BT_VALUE_STATUS_OK) {
ret = -1;
goto end;
if (status != BT_VALUE_STATUS_OK) {
ret = -1;
goto end;
@@
-326,14
+326,14
@@
int populate_stream_info(struct ctf_fs_ds_file_group *group,
}
status = bt_private_value_map_insert_entry(group_info, "paths",
}
status = bt_private_value_map_insert_entry(group_info, "paths",
- bt_private_value_
borrow
_value(file_paths));
+ bt_private_value_
as
_value(file_paths));
if (status != BT_VALUE_STATUS_OK) {
ret = -1;
goto end;
}
ret = add_stream_ids(group_info,
if (status != BT_VALUE_STATUS_OK) {
ret = -1;
goto end;
}
ret = add_stream_ids(group_info,
- bt_private_stream_
borrow
_stream(group->stream));
+ bt_private_stream_
as
_stream(group->stream));
if (ret) {
goto end;
}
if (ret) {
goto end;
}
@@
-428,7
+428,7
@@
int populate_trace_info(const char *trace_path, const char *trace_name,
trace_intersection.set = true;
status = bt_private_value_array_append_element(
file_groups,
trace_intersection.set = true;
status = bt_private_value_array_append_element(
file_groups,
- bt_private_value_
borrow
_value(group_info));
+ bt_private_value_
as
_value(group_info));
bt_object_put_ref(group_info);
if (status != BT_VALUE_STATUS_OK) {
goto end;
bt_object_put_ref(group_info);
if (status != BT_VALUE_STATUS_OK) {
goto end;
@@
-450,7
+450,7
@@
int populate_trace_info(const char *trace_path, const char *trace_name,
}
status = bt_private_value_map_insert_entry(trace_info, "streams",
}
status = bt_private_value_map_insert_entry(trace_info, "streams",
- bt_private_value_
borrow
_value(file_groups));
+ bt_private_value_
as
_value(file_groups));
BT_OBJECT_PUT_REF_AND_RESET(file_groups);
if (status != BT_VALUE_STATUS_OK) {
ret = -1;
BT_OBJECT_PUT_REF_AND_RESET(file_groups);
if (status != BT_VALUE_STATUS_OK) {
ret = -1;
@@
-538,7
+538,7
@@
enum bt_query_status trace_info_query(
}
status = bt_private_value_array_append_element(result,
}
status = bt_private_value_array_append_element(result,
- bt_private_value_
borrow
_value(trace_info));
+ bt_private_value_
as
_value(trace_info));
bt_object_put_ref(trace_info);
if (status != BT_VALUE_STATUS_OK) {
goto error;
bt_object_put_ref(trace_info);
if (status != BT_VALUE_STATUS_OK) {
goto error;
@@
-576,6
+576,6
@@
end:
g_list_free(trace_names);
}
g_list_free(trace_names);
}
- *user_result = bt_private_value_
borrow
_value(result);
+ *user_result = bt_private_value_
as
_value(result);
return status;
}
return status;
}
This page took
0.024585 seconds
and
4
git commands to generate.