Home
last modified time | relevance | path

Searched defs:slice (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/external/grpc-grpc/src/core/lib/surface/
Dvalidate_metadata.cc32 static grpc_error* conforms_to(grpc_slice slice, const uint8_t* legal_bits, in conforms_to()
60 grpc_error* grpc_validate_header_key_is_legal(grpc_slice slice) { in grpc_validate_header_key_is_legal()
69 if (GRPC_SLICE_START_PTR(slice)[0] == ':') { in grpc_validate_header_key_is_legal() local
76 int grpc_header_key_is_legal(grpc_slice slice) { in grpc_header_key_is_legal()
80 grpc_error* grpc_validate_header_nonbin_value_is_legal(grpc_slice slice) { in grpc_validate_header_nonbin_value_is_legal()
88 int grpc_header_nonbin_value_is_legal(grpc_slice slice) { in grpc_header_nonbin_value_is_legal()
92 int grpc_is_binary_header(grpc_slice slice) { in grpc_is_binary_header()
/external/grpc-grpc/test/core/slice/
Dslice_test.cc41 grpc_slice slice; in test_slice_malloc_returns_something_sensible() local
63 GRPC_SLICE_START_PTR(slice)[i] = static_cast<uint8_t>(i); in test_slice_malloc_returns_something_sensible() local
75 grpc_slice slice = grpc_slice_new(&x, 1, do_nothing); in test_slice_new_returns_something_sensible() local
88 grpc_slice slice; in test_slice_new_with_user_data() local
115 grpc_slice slice = grpc_slice_new_with_len(&x, 1, do_nothing_with_len_1); in test_slice_new_with_len_returns_something_sensible() local
138 grpc_slice slice; in test_slice_sub_works() local
149 GRPC_SLICE_START_PTR(slice)[i] = static_cast<uint8_t>(i); in test_slice_sub_works() local
167 static void check_head_tail(grpc_slice slice, grpc_slice head, in check_head_tail()
178 grpc_slice slice; in test_slice_split_head_works() local
189 GRPC_SLICE_START_PTR(slice)[i] = static_cast<uint8_t>(i); in test_slice_split_head_works() local
[all …]
/external/grpc-grpc/include/grpc/impl/codegen/
Dslice.h116 #define GRPC_SLICE_START_PTR(slice) \ argument
119 #define GRPC_SLICE_LENGTH(slice) \ argument
122 #define GRPC_SLICE_SET_LENGTH(slice, newlen) \ argument
125 #define GRPC_SLICE_END_PTR(slice) \ argument
127 #define GRPC_SLICE_IS_EMPTY(slice) (GRPC_SLICE_LENGTH(slice) == 0) argument
132 #define GPR_SLICE_START_PTR(slice) \ argument
135 #define GPR_SLICE_LENGTH(slice) \ argument
138 #define GPR_SLICE_SET_LENGTH(slice, newlen) \ argument
141 #define GPR_SLICE_END_PTR(slice) \ argument
143 #define GPR_SLICE_IS_EMPTY(slice) (GRPC_SLICE_LENGTH(slice) == 0) argument
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_handshaker_service_api_util.cc63 grpc_slice slice = grpc_slice_from_copied_buffer(data, size); in create_slice() local
70 void destroy_slice(grpc_slice* slice) { in destroy_slice()
79 grpc_slice* slice = static_cast<grpc_slice*>(*arg); in encode_string_or_bytes_cb() local
103 const grpc_slice* slice = static_cast<const grpc_slice*>(var->data); in encode_repeated_string_cb() local
114 grpc_slice slice = grpc_slice_malloc(stream->bytes_left); in decode_string_or_bytes_cb() local
137 grpc_slice slice = grpc_slice_malloc(stream->bytes_left); in decode_repeated_string_cb() local
Dalts_handshaker_service_api.cc125 grpc_slice* slice = create_slice(target_name, strlen(target_name)); in grpc_gcp_handshaker_req_set_target_name() local
139 grpc_slice* slice = in grpc_gcp_handshaker_req_add_application_protocol() local
165 grpc_slice* slice = create_slice(record_protocol, strlen(record_protocol)); in grpc_gcp_handshaker_req_add_record_protocol() local
175 grpc_slice* slice = create_slice(hostname, strlen(hostname)); in set_identity_hostname() local
182 grpc_slice* slice = create_slice(service_account, strlen(service_account)); in set_identity_service_account() local
254 grpc_slice* slice = create_slice(ip_address, strlen(ip_address)); in set_endpoint() local
340 grpc_slice* slice = create_slice(in_bytes, size); in grpc_gcp_handshaker_req_set_in_bytes() local
385 grpc_slice* slice = create_slice(record_protocol, strlen(record_protocol)); in grpc_gcp_handshaker_req_param_add_record_protocol() local
436 grpc_slice* slice) { in grpc_gcp_handshaker_req_encode()
/external/grpc-grpc/test/core/http/
Dformat_request_test.cc29 grpc_slice slice; in test_format_get_request() local
54 grpc_slice slice; in test_format_post_request() local
84 grpc_slice slice; in test_format_post_request_no_body() local
109 grpc_slice slice; in test_format_post_request_content_type_override() local
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_writer_test.cc81 TensorSlice slice = TensorSlice::ParseOrDie("-:0,1"); in TEST() local
89 TensorSlice slice = TensorSlice::ParseOrDie("-:3,1"); in TEST() local
98 TensorSlice slice = TensorSlice::ParseOrDie("-:-"); in TEST() local
106 TensorSlice slice = TensorSlice::ParseOrDie("-:3,1"); in TEST() local
114 TensorSlice slice = TensorSlice::ParseOrDie("-:3,1"); in TEST() local
129 const TensorSlice& slice, in GetData()
333 TensorSlice slice = TensorSlice::ParseOrDie("-:-"); in TEST() local
344 TensorSlice slice = TensorSlice::ParseOrDie("-:-"); in TEST() local
Dtensor_slice_reader_test.cc72 TensorSlice slice = TensorSlice::ParseOrDie("0,2:-"); in SimpleFloatHelper() local
96 TensorSlice slice = TensorSlice::ParseOrDie("2,2:0,3"); in SimpleFloatHelper() local
102 TensorSlice slice = TensorSlice::ParseOrDie("3,1:3,2"); in SimpleFloatHelper() local
197 TensorSlice slice = TensorSlice::ParseOrDie("0,2:-"); in SimpleIntXHelper() local
221 TensorSlice slice = TensorSlice::ParseOrDie("2,2:0,3"); in SimpleIntXHelper() local
227 TensorSlice slice = TensorSlice::ParseOrDie("3,1:3,2"); in SimpleIntXHelper() local
329 TensorSlice slice = TensorSlice::ParseOrDie("0,2:-"); in TEST_SIMPLE_INT() local
353 TensorSlice slice = TensorSlice::ParseOrDie("2,2:0,3"); in TEST_SIMPLE_INT() local
359 TensorSlice slice = TensorSlice::ParseOrDie("3,1:3,2"); in TEST_SIMPLE_INT() local
Dsaved_tensor_slice_util.cc28 string EncodeTensorNameSlice(const string& name, const TensorSlice& slice) { in EncodeTensorNameSlice()
46 tensorflow::TensorSlice* slice) { in DecodeTensorNameSlice()
91 TensorSlice* slice, TensorShape* shape_slice) { in ParseShapeAndSlice()
Dtensor_slice_set.cc33 Status TensorSliceSet::Register(const TensorSlice& slice, const string& tag, in Register()
63 bool TensorSliceSet::Query(const TensorSlice& slice, float* data) const { in Query() argument
120 const TensorSlice& slice, in QueryMeta()
173 const string& tag, const TensorSlice& slice, in RegisterTensorSlice()
Dsaved_tensor_slice.proto45 repeated TensorSliceProto slice = 4; field
68 TensorSliceProto slice = 2; field
/external/grpc-grpc/test/core/iomgr/
Dload_file_test.cc38 grpc_slice slice; in test_load_empty_file() local
67 grpc_slice slice; in test_load_failure() local
89 grpc_slice slice; in test_load_small_file() local
122 grpc_slice slice; in test_load_big_file() local
/external/tensorflow/tensorflow/compiler/jit/
Dincrease_dynamism_for_auto_jit_pass_test.cc109 Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size); in TEST() local
155 Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size); in TEST() local
176 Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size); in TEST() local
202 Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size); in TEST() local
224 Output slice = in TEST() local
247 Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size); in TEST() local
266 Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size); in TEST() local
285 Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size); in TEST() local
313 Output slice = in TEST() local
337 Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size_a); in TEST() local
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Drecords.pxd.pxi16 cdef bytes _slice_bytes(grpc_slice slice)
17 cdef grpc_slice _copy_slice(grpc_slice slice) nogil
/external/flatbuffers/include/flatbuffers/
Dgrpc.h37 Message(grpc_slice slice, bool add_ref) in Message()
222 uint8_t *ReleaseRaw(size_t &size, size_t &offset, grpc_slice &slice) { in ReleaseRaw()
248 grpc_slice slice = slice_allocator_.get_slice(buf_data, buf_size); in GetMessage() local
279 grpc_slice *slice = const_cast<grpc_slice *>(&msg.BorrowSlice()); in Serialize() local
298 grpc_slice slice = buffer->data.raw.slice_buffer.slices[0]; in Deserialize() local
307 grpc_slice slice = grpc_byte_buffer_reader_readall(&reader); in Deserialize() local
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_handshaker_service_api_test_lib.cc78 grpc_slice* slice = in grpc_gcp_handshaker_resp_set_application_protocol() local
94 grpc_slice* slice = create_slice(record_protocol, strlen(record_protocol)); in grpc_gcp_handshaker_resp_set_record_protocol() local
108 grpc_slice* slice = create_slice(key_data, size); in grpc_gcp_handshaker_resp_set_key_data() local
116 grpc_slice* slice = create_slice(hostname, strlen(hostname)); in set_identity_hostname() local
123 grpc_slice* slice = create_slice(service_account, strlen(service_account)); in set_identity_service_account() local
220 grpc_slice* slice = create_slice(details, strlen(details)); in grpc_gcp_handshaker_resp_set_details() local
235 grpc_slice* slice = create_slice(out_frames, size); in grpc_gcp_handshaker_resp_set_out_frames() local
280 grpc_slice* slice) { in grpc_gcp_handshaker_resp_encode()
303 bool grpc_gcp_handshaker_req_decode(grpc_slice slice, in grpc_gcp_handshaker_req_decode()
/external/grpc-grpc/src/core/lib/slice/
Dslice.cc31 char* grpc_slice_to_c_string(grpc_slice slice) { in grpc_slice_to_c_string()
52 grpc_slice grpc_slice_ref_internal(grpc_slice slice) { in grpc_slice_ref_internal()
59 void grpc_slice_unref_internal(grpc_slice slice) { in grpc_slice_unref_internal()
66 grpc_slice grpc_slice_ref(grpc_slice slice) { in grpc_slice_ref()
71 void grpc_slice_unref(grpc_slice slice) { in grpc_slice_unref()
92 grpc_slice slice; in grpc_slice_from_static_buffer() local
132 grpc_slice slice; in grpc_slice_new_with_user_data() local
181 grpc_slice slice; in grpc_slice_new_with_len() local
199 grpc_slice slice = GRPC_SLICE_MALLOC(length); in grpc_slice_from_copied_buffer() local
230 grpc_slice slice; in grpc_slice_malloc_large() local
[all …]
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_byte_buffer.c30 grpc_slice slice = grpc_slice_from_copied_buffer(string, length); in grpc_rb_s_to_byte_buffer() local
57 VALUE grpc_rb_slice_to_ruby_string(grpc_slice slice) { in grpc_rb_slice_to_ruby_string()
/external/grpc-grpc/src/php/ext/grpc/
Dbyte_buffer.c28 grpc_slice slice = grpc_slice_from_copied_buffer(string, length); in string_to_byte_buffer() local
44 grpc_slice slice = grpc_byte_buffer_reader_readall(&reader); in byte_buffer_to_string() local
/external/grpc-grpc/test/core/compression/
Dstream_compression_test.cc69 grpc_slice slice = grpc_slice_from_static_string(test_str); in test_stream_compression_simple_compress_decompress() local
102 grpc_slice slice = grpc_slice_from_static_string(test_str); in test_stream_compression_simple_compress_decompress_with_output_size_constraint() local
152 grpc_slice slice = grpc_slice_from_static_string(test_str); in test_stream_compression_simple_compress_decompress_with_large_data() local
183 grpc_slice slice = grpc_slice_from_static_string(test_str); in test_stream_compression_drop_context() local
252 grpc_slice slice = grpc_slice_from_static_string(test_str); in test_stream_compression_sync_flush() local
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dslice.h44 Slice(grpc_slice slice, AddRef) in Slice()
49 Slice(grpc_slice slice, StealRef) : slice_(slice) {} in Slice()
120 inline grpc::string_ref StringRefFromSlice(const grpc_slice* slice) { in StringRefFromSlice()
126 inline grpc::string StringFromCopiedSlice(grpc_slice slice) { in StringFromCopiedSlice()
/external/v8/src/interpreter/
Dconstant-array-builder.cc151 ConstantArraySlice* slice = idx_slice_[--i]; in size() local
171 const ConstantArraySlice* slice = IndexToSlice(index); in At() local
184 for (const ConstantArraySlice* slice : idx_slice_) { in ToFixedArray() local
283 ConstantArraySlice* slice = nullptr; in OperandSizeToSlice() local
311 ConstantArraySlice* slice = IndexToSlice(index); in SetDeferredAt() local
316 ConstantArraySlice* slice = IndexToSlice(index); in SetJumpTableSmi() local
349 ConstantArraySlice* slice = OperandSizeToSlice(operand_size); in CommitReservedEntry() local
/external/perfetto/src/protozero/
Dscattered_heap_buffer.cc60 for (const auto& slice : slices_) { in StitchSlices() local
75 for (auto& slice : slices_) { in GetTotalSize() local
/external/grpc-grpc/test/core/surface/
Dbyte_buffer_reader_test.cc38 grpc_slice slice; in test_read_one_slice() local
60 grpc_slice slice; in test_read_one_slice_malloc() local
83 grpc_slice slice; in test_read_none_compressed_slice() local
105 grpc_slice slice; in test_read_corrupted_slice() local
174 grpc_slice slice; in test_byte_buffer_from_reader() local
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_mipmap_tree.c494 GLuint level, GLuint slice, in intel_miptree_get_image_offset()
515 GLuint level, GLuint slice, in intel_miptree_get_tile_offsets()
537 int slice, in intel_miptree_copy_slice_sw()
594 int slice; in intel_miptree_copy_slice() local
654 for (int slice = 0; slice < depth; slice++) { in intel_miptree_copy_teximage() local
694 unsigned int level, unsigned int slice) in intel_miptree_map_gtt()
742 unsigned int level, unsigned int slice) in intel_miptree_map_blit()
786 unsigned int slice) in intel_miptree_unmap_blit()
812 unsigned int slice, in intel_miptree_attach_map()
842 unsigned int slice) in intel_miptree_release_map()
[all …]

12345678910>>...14