/cts/tests/tests/slice/src/android/slice/cts/ |
Launcher.java | 15 package android.slice.cts;
|
/external/grpc-grpc/test/core/transport/ |
stream_owned_slice_test.cc | 36 grpc_slice slice = local 38 GPR_ASSERT(GRPC_SLICE_START_PTR(slice) == buffer); 39 GPR_ASSERT(GRPC_SLICE_LENGTH(slice) == sizeof(buffer)); 41 grpc_slice_unref(slice);
|
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
alts_tsi_utils.cc | 25 #include "src/core/lib/slice/slice_internal.h" 49 grpc_slice slice = grpc_byte_buffer_reader_readall(&bbr); local 51 bool ok = grpc_gcp_handshaker_resp_decode(slice, resp); 52 grpc_slice_unref_internal(slice);
|
/external/grpc-grpc/src/php/ext/grpc/ |
byte_buffer.c | 28 grpc_slice slice = grpc_slice_from_copied_buffer(string, length); local 29 grpc_byte_buffer *buffer = grpc_raw_byte_buffer_create(&slice, 1); 30 grpc_slice_unref(slice); 44 grpc_slice slice = grpc_byte_buffer_reader_readall(&reader); local 45 size_t length = GRPC_SLICE_LENGTH(slice); 47 memcpy(string, GRPC_SLICE_START_PTR(slice), length); 48 grpc_slice_unref(slice);
|
/external/grpc-grpc/test/core/http/ |
request_fuzzer.cc | 37 grpc_slice slice = grpc_slice_from_copied_buffer((const char*)data, size); local 38 GRPC_ERROR_UNREF(grpc_http_parser_parse(&parser, slice, nullptr)); 40 grpc_slice_unref(slice);
|
response_fuzzer.cc | 36 grpc_slice slice = grpc_slice_from_copied_buffer((const char*)data, size); local 37 GRPC_ERROR_UNREF(grpc_http_parser_parse(&parser, slice, nullptr)); 39 grpc_slice_unref(slice);
|
format_request_test.cc | 29 grpc_slice slice; local 37 slice = grpc_httpcli_format_get_request(&req); 39 GPR_ASSERT(0 == grpc_slice_str_cmp(slice, 48 grpc_slice_unref(slice); 54 grpc_slice slice; local 64 slice = grpc_httpcli_format_post_request(&req, body_bytes, body_len); 66 GPR_ASSERT(0 == grpc_slice_str_cmp(slice, 78 grpc_slice_unref(slice); 84 grpc_slice slice; local 92 slice = grpc_httpcli_format_post_request(&req, nullptr, 0) 109 grpc_slice slice; local [all...] |
/external/grpc-grpc/test/core/nanopb/ |
fuzzer_response.cc | 35 grpc_slice slice = grpc_slice_from_copied_buffer((const char*)data, size); local 37 if ((response = grpc_grpclb_initial_response_parse(slice))) { 40 grpc_slice_unref(slice);
|
fuzzer_serverlist.cc | 35 grpc_slice slice = grpc_slice_from_copied_buffer((const char*)data, size); local 37 if ((serverlist = grpc_grpclb_response_parse_serverlist(slice))) { 40 grpc_slice_unref(slice);
|
/external/grpc-grpc/test/core/transport/chttp2/ |
varint_test.cc | 22 #include <grpc/slice.h> 32 grpc_slice slice; local 35 slice = grpc_slice_malloc(nbytes); 37 GRPC_SLICE_START_PTR(slice), nbytes); 38 GPR_ASSERT(grpc_slice_eq(expect, slice)); 40 grpc_slice_unref(slice);
|
/external/grpc-grpc/test/core/util/ |
parse_hexstring.cc | 27 grpc_slice slice; local 35 slice = grpc_slice_malloc(nibbles / 2); 36 out = GRPC_SLICE_START_PTR(slice); 55 return slice;
|
/external/grpc-grpc/src/core/lib/surface/ |
byte_buffer.cc | 26 #include "src/core/lib/slice/slice_internal.h" 54 grpc_slice slice; local 59 while (grpc_byte_buffer_reader_next(reader, &slice)) { 60 grpc_slice_buffer_add(&bb->data.raw.slice_buffer, slice);
|
/external/grpc-grpc/src/ruby/ext/grpc/ |
rb_byte_buffer.c | 26 #include <grpc/slice.h> 30 grpc_slice slice = grpc_slice_from_copied_buffer(string, length); local 31 grpc_byte_buffer* buffer = grpc_raw_byte_buffer_create(&slice, 1); 32 grpc_slice_unref(slice); 57 VALUE grpc_rb_slice_to_ruby_string(grpc_slice slice) { 58 if (GRPC_SLICE_START_PTR(slice) == NULL) { 62 return rb_str_new((char*)GRPC_SLICE_START_PTR(slice), 63 GRPC_SLICE_LENGTH(slice));
|
/external/grpc-grpc/test/core/tsi/alts/handshaker/ |
alts_tsi_utils_test.cc | 43 grpc_slice slice; local 44 GPR_ASSERT(grpc_gcp_handshaker_resp_encode(resp, &slice)); 48 grpc_raw_byte_buffer_create(&slice, 1 /* number of slices */); 56 grpc_slice_split_head(&slice, GRPC_SLICE_LENGTH(slice) - 1); 61 grpc_slice_unref(slice);
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
unpack_op.cc | 77 auto slice = xla::Slice(input, start_indices, limit_indices, strides); variable 79 auto result = xla::Reshape(slice, output_shape.dim_sizes());
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
dynamic_index_splitter_test.cc | 39 ROOT dynamic-slice = s32[1,1,1] dynamic-slice(operand, indices), dynamic_slice_sizes={1,1,1} 54 op::Reshape(op::Slice(op::Parameter(1))), 55 op::Reshape(op::Slice(op::Parameter(1))), 56 op::Reshape(op::Slice(op::Parameter(1))))); 59 const HloInstruction* slice = module->entry_computation() local 63 EXPECT_EQ(slice->slice_starts(0), i); 64 EXPECT_EQ(slice->slice_limits(0), i + 1); 76 ROOT dynamic-update-slice = s32[4,5,6] dynamic-update-slice(operand, update, indices 97 const HloInstruction* slice = module->entry_computation() local [all...] |
dynamic_index_splitter.cc | 75 auto slice = parent->AddInstruction(HloInstruction::CreateSlice( local 79 ShapeUtil::MakeShape(index_element_type, {}), slice));
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
frame_ping.cc | 33 grpc_slice slice = GRPC_SLICE_MALLOC(9 + 8); local 34 uint8_t* p = GRPC_SLICE_START_PTR(slice); 54 return slice; 76 grpc_slice slice, int is_last) { 77 uint8_t* const beg = GRPC_SLICE_START_PTR(slice); 78 uint8_t* const end = GRPC_SLICE_END_PTR(slice);
|
frame_rst_stream.cc | 34 grpc_slice slice = GRPC_SLICE_MALLOC(frame_size); local 36 uint8_t* p = GRPC_SLICE_START_PTR(slice); 57 return slice; 77 grpc_slice slice, int is_last) { 78 uint8_t* const beg = GRPC_SLICE_START_PTR(slice); 79 uint8_t* const end = GRPC_SLICE_END_PTR(slice);
|
frame_window_update.cc | 31 grpc_slice slice = GRPC_SLICE_MALLOC(frame_size); local 33 uint8_t* p = GRPC_SLICE_START_PTR(slice); 51 return slice; 72 grpc_slice slice, 74 uint8_t* const beg = GRPC_SLICE_START_PTR(slice); 75 uint8_t* const end = GRPC_SLICE_END_PTR(slice);
|
/external/grpc-grpc/src/core/tsi/ssl/session_cache/ |
ssl_session_openssl.cc | 43 grpc_slice slice = grpc_slice_malloc(size_t(size)); local 44 unsigned char* start = GRPC_SLICE_START_PTR(slice); 47 serialized_session_ = slice;
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
StreamRef.h | 27 // Use StreamRef.slice() instead. 53 Buffer = Buffer.slice(0, MaxLength); 82 StreamRef slice(uint32_t Offset, uint32_t Len) const { function in class:llvm::codeview::StreamRef
|
/external/perfetto/include/perfetto/tracing/core/ |
slice.h | 33 struct Slice { 34 Slice() : start(nullptr), size(0) {} 35 Slice(const void* st, size_t sz) : start(st), size(sz) {} 38 explicit Slice(std::unique_ptr<std::string> str) 41 Slice(Slice&& other) noexcept = default; 43 // Create a Slice which owns |size| bytes of memory. 44 static Slice Allocate(size_t size) { 45 Slice slice; local [all...] |
/external/perfetto/src/tracing/core/ |
trace_packet_unittest.cc | 56 auto slice = tp.slices().begin(); local 57 ASSERT_NE(tp.slices().end(), slice); 58 ASSERT_EQ(ser_buf.data(), slice->start); 59 ASSERT_EQ(ser_buf.size(), slice->size); 60 ASSERT_EQ(tp.slices().end(), ++slice); 78 auto slice = tp.slices().begin(); local 79 ASSERT_NE(tp.slices().end(), slice); 80 ASSERT_EQ(ser_buf.data(), slice->start); 81 ASSERT_EQ(3u, slice->size); 83 ASSERT_NE(tp.slices().end(), ++slice); [all...] |
/external/tensorflow/tensorflow/core/util/ |
tensor_slice_set.h | 17 // tensor and then "query" if we have data for a given slice. 48 // Register a new slice for the tensor. The "tag" is an arbitrary string 49 // associated with the slice (in one application it denotes the name of the 50 // file that contains the slice); the "data" points to the data of the tensor 51 // slice (it can be a nullptr). 53 // the data is always available during the life time of the tensor slice set 55 Status Register(const TensorSlice& slice, const string& tag, 58 // Query about a new slice: checks if we have data for "slice" and if we have 59 // the data and "data" is not nullptr, fill "data" with the slice data. Th 73 TensorSlice slice; member in struct:tensorflow::checkpoint::TensorSliceSet::SliceInfo [all...] |