Home
last modified time | relevance | path

Searched refs:CopyFrom (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/external/protobuf/csharp/src/Google.Protobuf.Test/
DByteStringTest.cs48 ByteString b1 = ByteString.CopyFrom(1, 2, 3); in Equality()
49 ByteString b2 = ByteString.CopyFrom(1, 2, 3); in Equality()
50 ByteString b3 = ByteString.CopyFrom(1, 2, 4); in Equality()
51 ByteString b4 = ByteString.CopyFrom(1, 2, 3, 4); in Equality()
82 ByteString bs = ByteString.CopyFrom("AB", Encoding.Unicode); in CopyFromStringWithExplicitEncoding()
107 ByteString bs = ByteString.CopyFrom(data); in CopyFromByteArrayCopiesContents()
139 ByteString bs = ByteString.CopyFrom(data, 2, 3); in CopyFromPortion()
155 ByteString bs = ByteString.CopyFrom("\u20ac", Encoding.Unicode); in ToStringWithExplicitEncoding()
182 ByteString expected = ByteString.CopyFrom(2, 3, 4, 5); in FromStream_Seekable()
195 ByteString expected = ByteString.CopyFrom(2, 3, 4); in FromStream_NotSeekable()
[all …]
DSampleMessages.cs52 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in CreateFullTestAllTypes()
74 …RepeatedBytes = { ByteString.CopyFrom(1, 2, 3, 4), ByteString.CopyFrom(5, 6), ByteString.CopyFrom(… in CreateFullTestAllTypes()
/external/google-breakpad/src/processor/
Dfast_source_line_resolver_types.h57 void CopyFrom(const Line *line_ptr) { in CopyFrom() function
59 CopyFrom(raw); in CopyFrom()
63 void CopyFrom(const char *raw) { in CopyFrom() function
75 void CopyFrom(const Function *func_ptr) { in CopyFrom() function
77 CopyFrom(raw); in CopyFrom()
81 void CopyFrom(const char *raw) { in CopyFrom() function
98 void CopyFrom(const PublicSymbol *public_symbol_ptr) { in CopyFrom() function
100 CopyFrom(raw); in CopyFrom()
104 void CopyFrom(const char *raw) { in CopyFrom() function
Dfast_source_line_resolver.cc84 func.get()->CopyFrom(func_ptr); in LookupAddress()
92 line.get()->CopyFrom(line_ptr); in LookupAddress()
104 public_symbol.get()->CopyFrom(public_symbol_ptr); in LookupAddress()
204 result->CopyFrom(CopyWFI(frame_info_ptr)); in FindWindowsFrameInfo()
221 function.get()->CopyFrom(function_ptr); in FindWindowsFrameInfo()
234 public_symbol.get()->CopyFrom(public_symbol_ptr); in FindWindowsFrameInfo()
/external/giflib/
Dgifalloc.c323 GifMakeSavedImage(GifFileType *GifFile, const SavedImage *CopyFrom) in GifMakeSavedImage() argument
337 if (CopyFrom != NULL) { in GifMakeSavedImage()
338 memcpy((char *)sp, CopyFrom, sizeof(SavedImage)); in GifMakeSavedImage()
349 CopyFrom->ImageDesc.ColorMap->ColorCount, in GifMakeSavedImage()
350 CopyFrom->ImageDesc.ColorMap->Colors); in GifMakeSavedImage()
359 (CopyFrom->ImageDesc.Height * in GifMakeSavedImage()
360 CopyFrom->ImageDesc.Width), in GifMakeSavedImage()
366 memcpy(sp->RasterBits, CopyFrom->RasterBits, in GifMakeSavedImage()
367 sizeof(GifPixelType) * CopyFrom->ImageDesc.Height * in GifMakeSavedImage()
368 CopyFrom->ImageDesc.Width); in GifMakeSavedImage()
[all …]
/external/tensorflow/tensorflow/python/tools/
Doptimize_for_inference_lib.py374 scaled_weights_op.attr["dtype"].CopyFrom(weights_op.attr["dtype"])
375 scaled_weights_op.attr["value"].CopyFrom(
384 new_conv_op.CopyFrom(conv_op)
388 offset_op.attr["dtype"].CopyFrom(mean_op.attr["dtype"])
389 offset_op.attr["value"].CopyFrom(
395 bias_add_op.attr["T"].CopyFrom(conv_op.attr["T"])
396 bias_add_op.attr["data_format"].CopyFrom(conv_op.attr["data_format"])
405 new_node.CopyFrom(node)
415 result_graph_def.versions.CopyFrom(input_graph_def.versions)
500 paddings_op.attr["dtype"].CopyFrom(
[all …]
Dstrip_unused_lib.py69 placeholder_node.attr["dtype"].CopyFrom(
73 placeholder_node.attr["dtype"].CopyFrom(
76 placeholder_node.attr["_output_shapes"].CopyFrom(node.attr[
79 placeholder_node.attr["shape"].CopyFrom(node.attr["shape"])
/external/tensorflow/tensorflow/python/framework/
Dgraph_util_impl.py215 out.library.CopyFrom(graph_def.library)
216 out.versions.CopyFrom(graph_def.versions)
284 node.attr["T"].CopyFrom(input_node.attr["T"])
287 node.attr["T"].CopyFrom(input_node.attr["dtype"])
327 output_node.attr["dtype"].CopyFrom(dtype)
328 output_node.attr["value"].CopyFrom(
414 output_node.attr[attr_name].CopyFrom(input_node.attr[attr_name])
415 output_node.attr["T"].CopyFrom(resource_op_types[input_node.name])
423 output_node.attr["T"].CopyFrom(input_node.attr["dtype"])
425 output_node.attr["_class"].CopyFrom(input_node.attr["_class"])
[all …]
Dconvert_to_constants.py57 output_graph_def.CopyFrom(graph_def)
125 meta_graph.collection_def["train_op"].CopyFrom(fetch_collection)
317 output_node.attr["dtype"].CopyFrom(dtype)
320 output_node.attr["value"].tensor.CopyFrom(tensor)
333 output_node.attr["T"].CopyFrom(input_node.attr["dtype"])
335 output_node.attr["_class"].CopyFrom(input_node.attr["_class"])
347 output_node.CopyFrom(input_node)
352 output_node.attr["Tin"].list.CopyFrom(
366 output_node.CopyFrom(input_node)
371 output_node.attr["T"].list.CopyFrom(
[all …]
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DByteStringTest.cs44 ByteString b1 = ByteString.CopyFrom(1, 2, 3); in Equality()
45 ByteString b2 = ByteString.CopyFrom(1, 2, 3); in Equality()
46 ByteString b3 = ByteString.CopyFrom(1, 2, 4); in Equality()
47 ByteString b4 = ByteString.CopyFrom(1, 2, 3, 4); in Equality()
78 ByteString bs = ByteString.CopyFrom("AB", Encoding.Unicode); in CopyFromStringWithExplicitEncoding()
103 ByteString bs = ByteString.CopyFrom(data); in CopyFromByteArrayCopiesContents()
135 ByteString bs = ByteString.CopyFrom(data, 2, 3); in CopyFromPortion()
151 ByteString bs = ByteString.CopyFrom("\u20ac", Encoding.Unicode); in ToStringWithExplicitEncoding()
DSampleMessages.cs52 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in CreateFullTestAllTypes()
74 …RepeatedBytes = { ByteString.CopyFrom(1, 2, 3, 4), ByteString.CopyFrom(5, 6), ByteString.CopyFrom(… in CreateFullTestAllTypes()
/external/tensorflow/tensorflow/tools/graph_transforms/python/
Dtransform_graph_test.py40 const_op1.attr["dtype"].CopyFrom(attr_value_pb2.AttrValue(
42 const_op1.attr["value"].CopyFrom(
49 const_op2.attr["dtype"].CopyFrom(attr_value_pb2.AttrValue(
51 const_op2.attr["value"].CopyFrom(
58 add_op.attr["T"].CopyFrom(attr_value_pb2.AttrValue(
66 relu_op.attr["T"].CopyFrom(attr_value_pb2.AttrValue(
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dmatrix.h80 CopyFrom(data, num_rows, num_columns); in Matrix()
88 void CopyFrom(const Matrix& other) { in CopyFrom() function
89 CopyFrom(&other.data_[0], other.num_rows_, other.num_columns_); in CopyFrom()
93 void CopyFrom(const T* const data, size_t num_rows, size_t num_columns) { in CopyFrom() function
158 CopyFrom(operand); in Scale()
174 CopyFrom(lhs); in Add()
190 CopyFrom(lhs); in Subtract()
206 CopyFrom(lhs); in PointwiseMultiply()
222 CopyFrom(lhs); in PointwiseDivide()
235 CopyFrom(operand); in PointwiseSquareRoot()
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dnested_structure_coder.py136 encoded_list.list_value.CopyFrom(struct_pb2.ListValue())
138 encoded_list.list_value.values.add().CopyFrom(encode_fn(element))
179 encoded_tuple.tuple_value.CopyFrom(struct_pb2.TupleValue())
181 encoded_tuple.tuple_value.values.add().CopyFrom(encode_fn(element))
202 encoded_dict.dict_value.CopyFrom(struct_pb2.DictValue())
204 encoded_dict.dict_value.fields[key].CopyFrom(encode_fn(value))
229 encoded_named_tuple.named_tuple_value.CopyFrom(struct_pb2.NamedTupleValue())
235 pair.value.CopyFrom(encode_fn(named_tuple_value._asdict()[key]))
334 value.none_value.CopyFrom(struct_pb2.NoneValue())
380 encoded_tensor_shape.tensor_shape_value.CopyFrom(
[all …]
Dfunction_serialization.py42 proto.fullargspec.CopyFrom(
47 proto.input_signature.CopyFrom(
70 concrete_function_proto.canonicalized_input_signature.CopyFrom(
72 concrete_function_proto.output_signature.CopyFrom(
96 proto.function_spec.CopyFrom(function_spec_proto)
/external/protobuf/src/google/protobuf/
Dwrappers.pb.h114 CopyFrom(from);
121 CopyFrom(from);
177 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
179 void CopyFrom(const DoubleValue& from);
268 CopyFrom(from);
275 CopyFrom(from);
331 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
333 void CopyFrom(const FloatValue& from);
422 CopyFrom(from);
429 CopyFrom(from);
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-tuple.h196 tuple& operator=(const tuple& t) { return CopyFrom(t); }
200 return CopyFrom(t);
206 tuple& CopyFrom(const GTEST_1_TUPLE_(U)& t) {
231 tuple& operator=(const tuple& t) { return CopyFrom(t); }
235 return CopyFrom(t);
247 tuple& CopyFrom(const GTEST_2_TUPLE_(U)& t) {
272 tuple& operator=(const tuple& t) { return CopyFrom(t); }
276 return CopyFrom(t);
282 tuple& CopyFrom(const GTEST_3_TUPLE_(U)& t) {
311 tuple& operator=(const tuple& t) { return CopyFrom(t); }
[all …]
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-tuple.h227 tuple& operator=(const tuple& t) { return CopyFrom(t); }
231 return CopyFrom(t);
237 tuple& CopyFrom(const GTEST_1_TUPLE_(U)& t) {
262 tuple& operator=(const tuple& t) { return CopyFrom(t); }
266 return CopyFrom(t);
278 tuple& CopyFrom(const GTEST_2_TUPLE_(U)& t) {
303 tuple& operator=(const tuple& t) { return CopyFrom(t); }
307 return CopyFrom(t);
313 tuple& CopyFrom(const GTEST_3_TUPLE_(U)& t) {
342 tuple& operator=(const tuple& t) { return CopyFrom(t); }
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-tuple.h226 tuple& operator=(const tuple& t) { return CopyFrom(t); }
230 return CopyFrom(t);
236 tuple& CopyFrom(const GTEST_1_TUPLE_(U)& t) {
261 tuple& operator=(const tuple& t) { return CopyFrom(t); }
265 return CopyFrom(t);
277 tuple& CopyFrom(const GTEST_2_TUPLE_(U)& t) {
302 tuple& operator=(const tuple& t) { return CopyFrom(t); }
306 return CopyFrom(t);
312 tuple& CopyFrom(const GTEST_3_TUPLE_(U)& t) {
341 tuple& operator=(const tuple& t) { return CopyFrom(t); }
[all …]
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-tuple.h218 tuple& operator=(const tuple& t) { return CopyFrom(t); }
222 return CopyFrom(t);
228 tuple& CopyFrom(const GTEST_1_TUPLE_(U)& t) {
253 tuple& operator=(const tuple& t) { return CopyFrom(t); }
257 return CopyFrom(t);
269 tuple& CopyFrom(const GTEST_2_TUPLE_(U)& t) {
294 tuple& operator=(const tuple& t) { return CopyFrom(t); }
298 return CopyFrom(t);
304 tuple& CopyFrom(const GTEST_3_TUPLE_(U)& t) {
333 tuple& operator=(const tuple& t) { return CopyFrom(t); }
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DByteString.cs206 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom() method in Google.Protobuf.ByteString
214 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom() method in Google.Protobuf.ByteString
227 public static ByteString CopyFrom(ReadOnlySpan<byte> bytes) in CopyFrom() method in Google.Protobuf.ByteString
237 public static ByteString CopyFrom(string text, Encoding encoding) in CopyFrom() method in Google.Protobuf.ByteString
247 return CopyFrom(text, Encoding.UTF8); in CopyFromUtf8()
/external/tensorflow/tensorflow/tools/test/
Dsystem_info_lib.py48 config.cpu_info.CopyFrom(gather_cpu_info())
49 config.platform_info.CopyFrom(gather_platform_info())
55 config.available_device_info.add().CopyFrom(d)
59 config.memory_info.CopyFrom(gather_memory_info())
/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dexport_output_test.py83 signature_constants.REGRESS_INPUTS].CopyFrom(
88 signature_constants.REGRESS_OUTPUTS].CopyFrom(
115 signature_constants.CLASSIFY_INPUTS].CopyFrom(
120 signature_constants.CLASSIFY_OUTPUT_CLASSES].CopyFrom(
152 signature_constants.CLASSIFY_INPUTS].CopyFrom(
157 signature_constants.CLASSIFY_OUTPUT_CLASSES].CopyFrom(
162 signature_constants.CLASSIFY_OUTPUT_SCORES].CopyFrom(
193 signature_constants.CLASSIFY_INPUTS].CopyFrom(
198 signature_constants.CLASSIFY_OUTPUT_SCORES].CopyFrom(
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs64 BytesField = ByteString.CopyFrom(1, 2, 3), in NonDefaultSingleValues()
78 Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), parsed.BytesField); in NonDefaultSingleValues()
134 … BytesField = { ByteString.CopyFrom(1, 2, 3), ByteString.CopyFrom(4, 5, 6), ByteString.Empty }, in RepeatedWrappersSerializeDeserialize()
184 { -1, ByteString.CopyFrom(1, 2, 3) }, in MapWrappersSerializeDeserialize()
185 { 10, ByteString.CopyFrom(4, 5, 6) }, in MapWrappersSerializeDeserialize()
211 BytesField = ByteString.CopyFrom(1, 2, 3), in Reflection_SingleValues()
223 …Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), fields[TestWellKnownTypes.BytesFieldFieldNumber].Acc… in Reflection_SingleValues()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs64 BytesField = ByteString.CopyFrom(1, 2, 3), in NonDefaultSingleValues()
78 Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), parsed.BytesField); in NonDefaultSingleValues()
134 … BytesField = { ByteString.CopyFrom(1, 2, 3), ByteString.CopyFrom(4, 5, 6), ByteString.Empty }, in RepeatedWrappersSerializeDeserialize()
184 { -1, ByteString.CopyFrom(1, 2, 3) }, in MapWrappersSerializeDeserialize()
185 { 10, ByteString.CopyFrom(4, 5, 6) }, in MapWrappersSerializeDeserialize()
211 BytesField = ByteString.CopyFrom(1, 2, 3), in Reflection_SingleValues()
223 …Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), fields[TestWellKnownTypes.BytesFieldFieldNumber].Acc… in Reflection_SingleValues()

12345678910>>...14