Home
last modified time | relevance | path

Searched refs:copier (Results 1 – 25 of 30) sorted by relevance

12

/external/python/cpython3/Lib/
Dcopy.py74 copier = _copy_dispatch.get(cls)
75 if copier:
76 return copier(x)
82 copier = getattr(cls, "__copy__", None)
83 if copier is not None:
84 return copier(x)
144 copier = _deepcopy_dispatch.get(cls)
145 if copier is not None:
146 y = copier(x, memo)
151 copier = getattr(x, "__deepcopy__", None)
[all …]
/external/python/cpython2/Lib/
Dcopy.py74 copier = _copy_dispatch.get(cls)
75 if copier:
76 return copier(x)
78 copier = getattr(cls, "__copy__", None)
79 if copier:
80 return copier(x)
161 copier = _deepcopy_dispatch.get(cls)
162 if copier:
163 y = copier(x, memo)
172 copier = getattr(x, "__deepcopy__", None)
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dconcat_lib_cpu.h36 int64 cost_per_unit, ElementCopier copier, in ConcatCPUImpl() argument
70 copier.Copy(out, inp[j], j, size); in ConcatCPUImpl()
79 auto work = [&row_size, &sizes, &inputs, &output, &copier, &num_inputs]( in ConcatCPUImpl()
103 copier.Copy(out, inp, j, size); in ConcatCPUImpl()
122 copier.Copy(out, inp[j], j, size); in ConcatCPUImpl()
Drandom_op_gpu.h154 const SampleCopier<T, kGroupSize> copier;
157 copier(&data[offset], samples);
/external/javassist/src/main/javassist/bytecode/
DAnnotationDefaultAttribute.java109 AnnotationsAttribute.Copier copier in copy() local
112 copier.memberValue(0); in copy()
113 return new AnnotationDefaultAttribute(newCp, copier.close()); in copy()
DParameterAnnotationsAttribute.java110 Copier copier = new Copier(info, constPool, newCp, classnames); in copy() local
112 copier.parameters(); in copy()
114 copier.close()); in copy()
DTypeAnnotationsAttribute.java63 Copier copier = new Copier(info, constPool, newCp, classnames); in copy() local
65 copier.annotationArray(); in copy()
66 return new TypeAnnotationsAttribute(newCp, getName(), copier.close()); in copy()
DStackMap.java118 Copier copier = new Copier(this, newCp, classnames); in copy() local
119 copier.visit(); in copy()
120 return copier.getStackMap(); in copy()
DAnnotationsAttribute.java181 Copier copier = new Copier(info, constPool, newCp, classnames); in copy() local
183 copier.annotationArray(); in copy()
184 return new AnnotationsAttribute(newCp, getName(), copier.close()); in copy()
/external/tensorflow/tensorflow/core/common_runtime/
Dcopy_tensor.cc65 auto copier = in CopyHostToDevice() local
101 VariantDeviceCopyDirection::HOST_TO_DEVICE, v[i], &v_out[i], copier); in CopyHostToDevice()
137 auto copier = in CopyDeviceToDevice() local
178 &v_out[i], copier); in CopyDeviceToDevice()
345 auto copier = in CopyDeviceToHost() local
380 VariantDeviceCopyDirection::DEVICE_TO_HOST, v[i], &v_out[i], copier); in CopyDeviceToHost()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DBuilderSpec.java403 private final Copier copier; field in BuilderSpec.PropertySetter
405 PropertySetter(ExecutableElement setter, TypeMirror parameterType, Copier copier) { in PropertySetter() argument
407 this.copier = copier; in PropertySetter()
456 String copy = copier.copy.apply(property.toString()); in copy()
457 if (property.isNullable() && !copier.acceptsNull) { in copy()
DBuilderMethodClassifier.java553 Copier copier = in getConvertingSetterFunction() local
557 return Optional.of(copier); in getConvertingSetterFunction()
/external/tensorflow/tensorflow/core/lib/gtl/
Dflatrep.h305 void CopyEntries(Bucket* start, Bucket* end, Copier copier) { in CopyEntries() argument
309 FreshInsert(b, i, copier); in CopyEntries()
320 void FreshInsert(Bucket* src, uint32 src_index, Copier copier) { in FreshInsert() argument
332 copier(b, bi, src, src_index); in FreshInsert()
/external/python/cpython3/Lib/venv/
D__init__.py240 copier = self.symlink_or_copy
243 copier(context.executable, path)
251 copier(context.env_exe, path, relative_symlinks_ok=True)
276 copier(src, os.path.join(binpath, suffix))
/external/clang/test/Analysis/
Ddtor.cpp511 struct copier { struct
517 copier<IsSimple, T>::do_copy(dest, src, count); in do_copy()
/external/llvm-project/clang/test/Analysis/
Ddtor.cpp511 struct copier { struct
517 copier<IsSimple, T>::do_copy(dest, src, count); in do_copy()
/external/llvm-project/llvm/utils/
Ddemangle_tree.py117 copier = functools.partial(process_file, objdump=objdump)
118 mapped_results = list(pool.map(copier, objs))
/external/desugar/java/com/google/devtools/build/android/desugar/
DJava7Compatibility.java166 InlineOneMethod copier = new InlineOneMethod("$jacocoInit", this); in visitMethodInsn() local
167 bytecode.accept(copier, ClassReader.SKIP_DEBUG /* we're copying generated code anyway */); in visitMethodInsn()
DLambdaClassFixer.java223 CopyOneMethod copier = new CopyOneMethod(methodName); in copyRewrittenLambdaMethods() local
225 bytecode.accept(copier, ClassReader.SKIP_DEBUG); in copyRewrittenLambdaMethods()
226 checkState(copier.copied(), "Didn't find %s", rewritten); in copyRewrittenLambdaMethods()
/external/tensorflow/tensorflow/core/framework/
Dvariant_op_registry_test.cc76 const std::function<Status(const Tensor&, Tensor*)>& copier) { in CPUToGPUCopyFn()
77 TF_RETURN_IF_ERROR(copier(Tensor(), nullptr)); in CPUToGPUCopyFn()
Dvariant_op_registry.cc138 const UnaryVariantOpRegistry::AsyncTensorDeviceCopyFn& copier) { in DeviceCopyPrimitiveType() argument
/external/python/cpython2/Lib/test/
Dtest_collections.py218 for copier in copy.copy, copy.deepcopy:
219 q = copier(p)
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.cc709 auto copier = [this, &alloc_attrs, &notifications, &copy_status]( in MakeTensorFromProto() local
726 from[ix], &copy_variant[ix], copier); in MakeTensorFromProto()
/external/python/cpython3/Lib/test/
Dtest_collections.py569 for copier in copy.copy, copy.deepcopy:
570 q = copier(p)
/external/python/google-api-python-client/samples/prediction/
Dlanguage_id.txt270 …de cette conviction, enfon�a-t-il son b�ret sur ses yeux, et, t�chant de copier quelques-uns des a…

12