Home
last modified time | relevance | path

Searched refs:slice_out (Results 1 – 25 of 31) sorted by relevance

12

/external/grpc-grpc/test/core/surface/
Dbyte_buffer_reader_test.cc204 grpc_slice slice_out; in test_readall() local
222 slice_out = grpc_byte_buffer_reader_readall(&reader); in test_readall()
224 GPR_ASSERT(GRPC_SLICE_LENGTH(slice_out) == 512 + 1024); in test_readall()
225 GPR_ASSERT(memcmp(GRPC_SLICE_START_PTR(slice_out), lotsa_as, 512) == 0); in test_readall()
226 GPR_ASSERT(memcmp(&(GRPC_SLICE_START_PTR(slice_out)[512]), lotsa_bs, 1024) == in test_readall()
228 grpc_slice_unref(slice_out); in test_readall()
239 grpc_slice slice_out; in test_byte_buffer_copy() local
258 slice_out = grpc_byte_buffer_reader_readall(&reader); in test_byte_buffer_copy()
260 GPR_ASSERT(GRPC_SLICE_LENGTH(slice_out) == 512 + 1024); in test_byte_buffer_copy()
261 GPR_ASSERT(memcmp(GRPC_SLICE_START_PTR(slice_out), lotsa_as, 512) == 0); in test_byte_buffer_copy()
[all …]
/external/grpc-grpc/src/core/lib/compression/
Dstream_compression_gzip.cc52 grpc_slice slice_out = GRPC_SLICE_MALLOC(slice_size); in gzip_flate() local
54 ctx->zs.next_out = GRPC_SLICE_START_PTR(slice_out); in gzip_flate()
62 grpc_slice_unref_internal(slice_out); in gzip_flate()
93 grpc_slice_unref_internal(slice_out); in gzip_flate()
109 grpc_slice_unref_internal(slice_out); in gzip_flate()
117 grpc_slice_buffer_add(out, slice_out); in gzip_flate()
119 size_t len = GRPC_SLICE_LENGTH(slice_out); in gzip_flate()
120 GRPC_SLICE_SET_LENGTH(slice_out, len - ctx->zs.avail_out); in gzip_flate()
121 grpc_slice_buffer_add(out, slice_out); in gzip_flate()
123 grpc_slice_unref_internal(slice_out); in gzip_flate()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/compression/
Dstream_compression_gzip.cc52 grpc_slice slice_out = GRPC_SLICE_MALLOC(slice_size); in gzip_flate() local
54 ctx->zs.next_out = GRPC_SLICE_START_PTR(slice_out); in gzip_flate()
62 grpc_slice_unref_internal(slice_out); in gzip_flate()
93 grpc_slice_unref_internal(slice_out); in gzip_flate()
109 grpc_slice_unref_internal(slice_out); in gzip_flate()
117 grpc_slice_buffer_add(out, slice_out); in gzip_flate()
119 size_t len = GRPC_SLICE_LENGTH(slice_out); in gzip_flate()
120 GRPC_SLICE_SET_LENGTH(slice_out, len - ctx->zs.avail_out); in gzip_flate()
121 grpc_slice_buffer_add(out, slice_out); in gzip_flate()
123 grpc_slice_unref_internal(slice_out); in gzip_flate()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/slice/
Dpercent_encoding.cc91 grpc_slice* slice_out) { in grpc_strict_percent_decode_slice() argument
111 *slice_out = grpc_slice_ref_internal(slice_in); in grpc_strict_percent_decode_slice()
115 *slice_out = GRPC_SLICE_MALLOC(out_length); in grpc_strict_percent_decode_slice()
116 uint8_t* q = GRPC_SLICE_START_PTR(*slice_out); in grpc_strict_percent_decode_slice()
125 GPR_ASSERT(q == GRPC_SLICE_END_PTR(*slice_out)); in grpc_strict_percent_decode_slice()
Dpercent_encoding.h59 grpc_slice* slice_out);
/external/grpc-grpc/src/core/lib/slice/
Dpercent_encoding.cc91 grpc_slice* slice_out) { in grpc_strict_percent_decode_slice() argument
111 *slice_out = grpc_slice_ref_internal(slice_in); in grpc_strict_percent_decode_slice()
115 *slice_out = GRPC_SLICE_MALLOC(out_length); in grpc_strict_percent_decode_slice()
116 uint8_t* q = GRPC_SLICE_START_PTR(*slice_out); in grpc_strict_percent_decode_slice()
125 GPR_ASSERT(q == GRPC_SLICE_END_PTR(*slice_out)); in grpc_strict_percent_decode_slice()
Dpercent_encoding.h59 grpc_slice* slice_out);
/external/perfetto/src/trace_processor/importers/common/
Dflow_tracker_unittest.cc59 EXPECT_EQ(flows.slice_out()[0], out_slice_id); in TEST()
95 EXPECT_EQ(flows.slice_out()[0], out_slice_id); in TEST()
130 EXPECT_EQ(flows.slice_out()[0], out_slice_id); in TEST()
178 EXPECT_EQ(flows.slice_out()[0], out_slice1_id); in TEST()
180 EXPECT_EQ(flows.slice_out()[1], out_slice2_id); in TEST()
228 EXPECT_EQ(flows.slice_out()[0], out_slice2_id); in TEST()
230 EXPECT_EQ(flows.slice_out()[1], out_slice1_id); in TEST()
272 EXPECT_EQ(flows.slice_out()[0], out_slice1_id); in TEST()
274 EXPECT_EQ(flows.slice_out()[1], inout_slice2_id); in TEST()
/external/perfetto/test/trace_processor/dynamic/
Dconnected_flow.sql18 JOIN slice s1 ON s1.id = c.slice_out
23 JOIN slice s1 ON s1.id = c.slice_out
28 JOIN slice s1 ON s1.id = c.slice_out
/external/perfetto/test/trace_processor/track_event/
Dflow_events.sql16 select t1.name as slice_out, t2.name as slice_in from flow t
17 join slice t1 on t.slice_out == t1.slice_id
Dflow_events_proto_v2.out1 "slice_out","slice_in"
Dflow_events_proto_v1.out1 "slice_out","slice_in"
Dflow_events_track_event.out1 "slice_out","slice_in"
/external/perfetto/test/trace_processor/parsing/
Dflow_events.sql16 select t1.name as slice_out, t2.name as slice_in from flow t
17 join slice t1 on t.slice_out == t1.slice_id
Dflow_events_json_v1.out1 "slice_out","slice_in"
Dflow_events_json_v2.out1 "slice_out","slice_in"
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dframe_data.cc102 grpc_slice_buffer* slices, grpc_slice* slice_out, in grpc_deframe_unprocessed_incoming_frames() argument
219 GPR_ASSERT(slice_out != nullptr); in grpc_deframe_unprocessed_incoming_frames()
231 slice_out))) { in grpc_deframe_unprocessed_incoming_frames()
250 slice_out))) { in grpc_deframe_unprocessed_incoming_frames()
264 slice_out)) { in grpc_deframe_unprocessed_incoming_frames()
Dframe_data.h81 grpc_slice_buffer* slices, grpc_slice* slice_out,
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dframe_data.cc94 grpc_slice_buffer* slices, grpc_slice* slice_out, in grpc_deframe_unprocessed_incoming_frames() argument
211 GPR_ASSERT(slice_out != nullptr); in grpc_deframe_unprocessed_incoming_frames()
223 slice_out))) { in grpc_deframe_unprocessed_incoming_frames()
242 slice_out))) { in grpc_deframe_unprocessed_incoming_frames()
256 slice_out)) { in grpc_deframe_unprocessed_incoming_frames()
Dframe_data.h79 grpc_slice_buffer* slices, grpc_slice* slice_out,
/external/perfetto/test/trace_processor/fuchsia/
Dfuchsia_smoke_flow.out1 "id","slice_out","slice_in"
Dsmoke_flow.sql18 slice_out,
/external/perfetto/src/trace_processor/tables/
Dflow_tables.h31 C(SliceTable::Id, slice_out) \
/external/perfetto/src/trace_processor/dynamic/
Dconnected_flow_generator.cc156 (flow_direction == FlowDirection::OUTGOING ? flow.slice_out() in GoByFlow()
160 : flow.slice_out()); in GoByFlow()
/external/perfetto/docs/analysis/
Dtrace-processor.md361 `flow[i].slice_out = flow[i+1].slice_in` and `flow[0].slice_out = start_slice_id
373 `flow[i+1].slice_out IN DESCENDANT_SLICE(flow[i].slice_in) OR
374 flow[i+1].slice_out = flow[i].slice_in` and `flow[0].slice_out IN
375 DESCENDANT_SLICE(start_slice_id) OR flow[0].slice_out = start_slice_id`.
382 `flow[i].slice_in IN ANCESTOR_SLICE(flow[i+1].slice_out) OR flow[i].slice_in =
383 flow[i+1].slice_out` and `flow[0].slice_in IN ANCESTOR_SLICE(start_slice_id) OR

12