Home
last modified time | relevance | path

Searched +full:object +full:- +full:copy (Results 1 – 25 of 1405) sorted by relevance

12345678910>>...57

/external/flac/include/FLAC++/
Dmetadata.h1 /* libFLAC++ - Free Lossless Audio Codec library
2 * Copyright (C) 2002-2009 Josh Coalson
3 * Copyright (C) 2011-2023 Xiph.Org Foundation
9 * - Redistributions of source code must retain the above copyright
12 * - Redistributions in binary form must reproduce the above copyright
16 * - Neither the name of the Xiph.org Foundation nor the names of its
70 * FLAC files, and it is read-only i.e. no writing back changed
84 /** \defgroup flacpp_metadata_object FLAC++/metadata.h: metadata object classes
92 * \link flac_metadata_object C metadata object module \endlink.
94 * Any time a metadata object is constructed or assigned, you
[all …]
/external/flac/include/FLAC/
Dmetadata.h1 /* libFLAC - Free Lossless Audio Codec library
2 * Copyright (C) 2001-2009 Josh Coalson
3 * Copyright (C) 2011-2023 Xiph.Org Foundation
9 * - Redistributions of source code must retain the above copyright
12 * - Redistributions in binary form must reproduce the above copyright
16 * - Neither the name of the Xiph.org Foundation nor the names of its
41 /* --------------------------------------------------------------------
45 ------------------------------------------------------------------*/
66 * FLAC files, and it is read-only i.e. no writing back changed
72 * Read-only access to the STREAMINFO, VORBIS_COMMENT, CUESHEET, and
[all …]
/external/flac/src/libFLAC/
Dmetadata_object.c1 /* libFLAC - Free Lossless Audio Codec library
2 * Copyright (C) 2001-2009 Josh Coalson
3 * Copyright (C) 2011-2023 Xiph.Org Foundation
9 * - Redistributions of source code must retain the above copyright
12 * - Redistributions in binary form must reproduce the above copyright
16 * - Neither the name of the Xiph.org Foundation nor the names of its
59 /* copy bytes:
61 * to <- NULL
63 * to <- copy of from
84 … copy_bytes_(), but free()s the original '*to' if the copy succeeds and the original '*to' is non-
[all …]
/external/clang/test/SemaObjC/
Dproperty-10.m1 // RUN: %clang_cc1 -fsyntax-only -verify %s -fblocks
6 @property(readonly, readwrite) int p0; // expected-error {{property attributes 'readonly' and 'read…
8 @property(retain) int p1; // expected-error {{property with 'retain (or strong)' attribute must be …
9 @property(strong) int s1; // expected-error {{property with 'retain (or strong)' attribute must be …
11 @property(copy) int p2; // expected-error {{property with 'copy' attribute must be of object type}}
13 @property(assign, copy) id p3_0; // expected-error {{property attributes 'assign' and 'copy' are mu…
14 @property(assign, retain) id p3_1; // expected-error {{property attributes 'assign' and 'retain' ar…
15 @property(assign, strong) id s3_1; // expected-error {{property attributes 'assign' and 'strong' ar…
16 @property(copy, retain) id p3_2; // expected-error {{property attributes 'copy' and 'retain' are mu…
17 @property(copy, strong) id s3_2; // expected-error {{property attributes 'copy' and 'strong' are mu…
[all …]
/external/guava/guava-testlib/src/com/google/common/testing/
DSerializableTester.java6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
25 * Tests serialization and deserialization of an object, optionally asserting that the resulting
26 * object is equal to the original.
29 * serialization tests require more setup. This no-op behavior allows test authors to intersperse
30 * {@code SerializableTester} calls with other, GWT-compatible tests.
35 @GwtCompatible // but no-op!
41 * Serializes and deserializes the specified object.
44 * serialization tests require more setup. This no-op behavior allows test authors to intersperse
45 * {@code SerializableTester} calls with other, GWT-compatible tests.
[all …]
/external/guava/android/guava-testlib/src/com/google/common/testing/
DSerializableTester.java6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
25 * Tests serialization and deserialization of an object, optionally asserting that the resulting
26 * object is equal to the original.
29 * serialization tests require more setup. This no-op behavior allows test authors to intersperse
30 * {@code SerializableTester} calls with other, GWT-compatible tests.
35 @GwtCompatible // but no-op!
41 * Serializes and deserializes the specified object.
44 * serialization tests require more setup. This no-op behavior allows test authors to intersperse
45 * {@code SerializableTester} calls with other, GWT-compatible tests.
[all …]
/external/sdv/vsomeip/third_party/boost/optional/doc/
D11_development.qbk4 Copyright (c) 2003-2007 Fernando Luis Cacciola Carballal
7 (See accompanying file LICENSE_1_0.txt or copy at
15 In C++, we can ['declare] an object (a variable) of type `T`, and we can give this
17 When a declaration includes a non-empty initializer (an initial value is given),
18 it is said that the object has been initialized.
20 neither default nor value initialization applies, it is said that the object is
24 allowing a program to test whether an object has been initialized and stating
25 that access to the value of an uninitialized object is undefined behavior. That
27 the variable is ['formally] uninitialized. A formally uninitialized optional object
37 additional information to tell if an object has been effectively initialized.
[all …]
/external/rust/crates/serde_json/src/
Dmacros.rs19 /// interpolated into an array element or object value must implement Serde's
20 /// `Serialize` trait, while any type interpolated into a object key must
23 /// map with non-string keys, the `json!` macro will panic.
49 /// "comma -->",
133 // TT muncher for parsing the inside of an object {...}. Each entry is
136 // Must be invoked as: json_internal!(@object $map () ($($tt)*) ($($tt)*))
139 // copy and trigger errors on the other copy.
143 (@object $object:ident () () ()) => {};
146 (@object $object:ident [$($key:tt)+] ($value:expr) , $($rest:tt)*) => {
147 let _ = $object.insert(($($key)+).into(), $value);
[all …]
/external/flac/src/libFLAC++/
Dmetadata.cpp1 /* libFLAC++ - Free Lossless Audio Codec library
2 * Copyright (C) 2002-2009 Josh Coalson
3 * Copyright (C) 2011-2023 Xiph.Org Foundation
9 * - Redistributions of source code must retain the above copyright
12 * - Redistributions in binary form must reproduce the above copyright
16 * - Neither the name of the Xiph.org Foundation nor the names of its
56 Prototype *construct_block(::FLAC__StreamMetadata *object) in construct_block() argument
58 if (0 == object) in construct_block()
62 switch(object->type) { in construct_block()
64 ret = new StreamInfo(object, /*copy=*/false); in construct_block()
[all …]
/external/python/cpython2/Lib/
Dhmac.py1 """HMAC (Keyed-Hashing for Message Authentication) Python module.
18 # A unique object passed by HMAC.copy() to the HMAC constructor, in order
28 blocksize = 64 # 512-bit HMAC; can be changed in subclasses.
31 """Create a new HMAC object.
33 key: key for the keyed hash object.
36 A hashlib constructor returning a new hash object.
66 _warnings.warn('No block_size attribute on given digest object; '
74 key = key + chr(0) * (blocksize - len(key))
84 """Update this hashing object with the string msg.
88 def copy(self): member in HMAC
[all …]
/external/mesa3d/src/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/Retired/
DrefDesc.py3 # Copyright 2016-2023 The Khronos Group Inc.
5 # SPDX-License-Identifier: Apache-2.0
10 # This is a one-time measure to inject // refBegin markup into the spec.
18 refDesc['vkBindBufferMemory'] = 'Bind device memory to a buffer object'
19 refDesc['vkBindImageMemory'] = 'Bind device memory to an image object'
20 refDesc['VkBufferCreateFlags'] = 'Buffer object creation flags'
21 …Desc['VkBufferCreateInfo'] = 'Structure specifying the parameters of a newly created buffer object'
23 refDesc['VkBufferUsageFlags'] = 'Buffer object usage flags'
28 refDesc['vkCmdBindPipeline'] = 'Bind a pipeline object to a command buffer'
30 refDesc['vkCmdBlitImage'] = 'Copy regions of an image, potentially performing format conversion,'
[all …]
/external/python/cpython2/Lib/test/
Dtest_copy.py1 """Unit tests for the copy module."""
3 import copy
12 # Attempt full line coverage of copy.py from top to bottom
15 self.assertTrue(copy.Error is copy.error)
16 self.assertTrue(issubclass(copy.Error, Exception))
18 # The copy() method
22 y = copy.copy(x)
26 class C(object):
32 y = copy.copy(x)
37 class C(object):
[all …]
/external/python/cpython3/Doc/library/
Dcopy.rst1 :mod:`copy` --- Shallow and deep copy operations
4 .. module:: copy
5 :synopsis: Shallow and deep copy operations.
7 **Source code:** :source:`Lib/copy.py`
9 --------------
11 Assignment statements in Python do not copy objects, they create bindings
12 between a target and an object. For collections that are mutable or contain
13 mutable items, a copy is sometimes needed so one can change one copy without
14 changing the other. This module provides generic shallow and deep copy
20 .. function:: copy(x)
[all …]
Dpickle.rst1 :mod:`pickle` --- Python object serialization
20 --------------
23 de-serializing a Python object structure. *"Pickling"* is the process
24 whereby a Python object hierarchy is converted into a byte stream, and
26 (from a :term:`binary file` or :term:`bytes-like object`) is converted
27 back into an object hierarchy. Pickling (and unpickling) is alternatively
43 you are processing untrusted data. See :ref:`comparison-with-json`.
47 ------------------------------------
60 so that later references to the same object won't be serialized again.
63 This has implications both for recursive objects and object sharing. Recursive
[all …]
/external/sdv/vsomeip/third_party/boost/asio/include/boost/asio/
Dio_context_strand.hpp5 // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
43 * @li a strand object @c s
45 * @li an object @c a meeting completion handler requirements
47 * @li an object @c a1 which is an arbitrary copy of @c a made by the
50 * @li an object @c b meeting completion handler requirements
52 * @li an object @c b1 which is an arbitrary copy of @c b made by the
57 * @li @c s.post(a) happens-before @c s.post(b)
59 * @li @c s.post(a) happens-before @c s.dispatch(b), where the latter is
62 * @li @c s.dispatch(a) happens-before @c s.post(b), where the former is
[all …]
/external/tensorflow/tensorflow/python/checkpoint/
Dgraph_view.py6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
16 import copy
27 """Gathers and serializes an object graph."""
33 root: A `Trackable` object whose variables (including the variables of
35 attached_dependencies: List of dependencies to attach to the root object.
36 Used when saving a Checkpoint with a defined root object. To avoid
42 # root -> deferred dependencies -> CheckpointPosition
43 # -> CheckpointRestoreCoordinator -> ObjectGraphView -> root
50 # deepcopy behavior. To fix, we first we copy the object itself, then we
[all …]
/external/sdv/vsomeip/third_party/boost/bind/doc/bind/
Dpurpose.qbk3 / Copyright (c) 2003-2008 Peter Dimov
6 / accompanying file LICENSE_1_0.txt or copy at
16 not place any requirements on the function object; in particular, it does not
34 `bind(f, 1, 2)` will produce a "nullary" function object that takes no
60 Note that, in the last example, the function object produced by
67 function object. For example, in the following code:
72 a copy of the value of `i` is stored into the function object.
75 object store a reference to an object, rather than a copy:
86 the general case, the return type of the generated function object's
92 int operator()(int a, int b) { return a - b; }
[all …]
/external/python/cpython3/Lib/test/
Dtest_copy.py1 """Unit tests for the copy module."""
3 import copy
18 # Attempt full line coverage of copy.py from top to bottom
21 self.assertIs(copy.Error, copy.error)
22 self.assertTrue(issubclass(copy.Error, Exception))
24 # The copy() method
28 y = copy.copy(x)
32 class C(object):
38 y = copy.copy(x)
43 class C(object):
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dtypes.h5 You may obtain a copy of the License at
7 http://www.apache.org/licenses/LICENSE-2.0
46 // Returns a numpy-style format descriptor string for `type`.
49 // Returns a numpy-style typestr for `type`, as returned by np.dtype(...).str
53 pybind11::object np_bool;
54 pybind11::object np_int8;
55 pybind11::object np_int16;
56 pybind11::object np_int32;
57 pybind11::object np_int64;
58 pybind11::object np_uint8;
[all …]
/external/python/cpython2/Doc/library/
Dcopy_reg.rst1 :mod:`copy_reg` --- Register :mod:`pickle` support functions
15 module: copy
18 specific objects. The :mod:`pickle`, :mod:`cPickle`, and :mod:`copy` modules
20 configuration information about object constructors which are not classes.
24 .. function:: constructor(object)
26 Declares *object* to be a valid constructor. If *object* is not callable (and
33 type *type*; *type* must not be a "classic" class object. (Classic classes are
38 The optional *constructor* parameter, if provided, is a callable object which
39 can be used to reconstruct the object when called with the tuple of arguments
41 *object* is a class or *constructor* is not callable.
[all …]
/external/pdfium/core/fpdfapi/parser/
Dcpdf_object.h2 // Use of this source code is governed by a BSD-style license that can be
31 // ISO 32000-1:2008 defines PDF objects. When CPDF_Parser parses a PDF object,
32 // it represents the PDF object using CPDF_Objects. Take this PDF object for
41 // Multiple CPDF_Objects instances are necessary to represent this PDF object:
42 // 1) A CPDF_Dictionary with object number 4 that contains 3 elements.
46 // 5) A CPDF_Reference that references object 9 0.
48 // CPDF_Object (1) has an object number of 4. All the other CPDF_Objects are
49 // inline objects. CPDF_Object represent that by using an object number of 0.
52 static constexpr uint32_t kInvalidObjNum = static_cast<uint32_t>(-1);
74 // Create a deep copy of the object.
[all …]
/external/compiler-rt/lib/BlocksRuntime/
Druntime.c4 * Copyright 2008-2010 Apple, Inc. Permission is hereby granted, free of charge,
5 * to any person obtaining a copy of this software and associated documentation
7 * including without limitation the rights to use, copy, modify, merge, publish,
52 /* fixme barrier is overkill -- see objc-os.h */ in OSAtomicCompareAndSwapLong()
58 /* fixme barrier is overkill -- see objc-os.h */ in OSAtomicCompareAndSwapInt()
64 * Check to see if the GCC atomic built-ins are available. If we're on
65 * a 64-bit system, make sure we have an 8-byte atomic function
81 #error unknown atomic compare-and-swap primitive
138 if (OSAtomicCompareAndSwapLong(old_value, old_value-1, (volatile long int *)where)) {
139 return old_value-1;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DObject.h1 /*===-- llvm-c/Object.h - Object Lib C Iface --------------------*- C++ -*-===*/
6 /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
8 /*===----------------------------------------------------------------------===*/
11 /* implements object file reading and writing. */
17 /*===----------------------------------------------------------------------===*/
22 #include "llvm-c/ExternC.h"
23 #include "llvm-c/Types.h"
24 #include "llvm/Config/llvm-config.h"
29 * @defgroup LLVMCObject Object file reading and writing
42 LLVMBinaryTypeMachOUniversalBinary, /**< Mach-O Universal Binary file. */
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm-c/
DObject.h1 /*===-- llvm-c/Object.h - Object Lib C Iface --------------------*- C++ -*-===*/
6 /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */
8 /*===----------------------------------------------------------------------===*/
11 /* implements object file reading and writing. */
17 /*===----------------------------------------------------------------------===*/
22 #include "llvm-c/ExternC.h"
23 #include "llvm-c/Types.h"
24 #include "llvm/Config/llvm-config.h"
29 * @defgroup LLVMCObject Object file reading and writing
42 LLVMBinaryTypeMachOUniversalBinary, /**< Mach-O Universal Binary file. */
[all …]
/external/caliper/examples/src/main/java/examples/
DCopyArrayBenchmark.java6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
27 * Tests each of four ways to copy an array, for all nine array types.
29 * <p>Once upon a time, {@code clone} was much slower than the other array copy techniques, but
35 * at which time all copy methods were equally efficient.
50 @Override Object[] copy(Object[] array) { in copy() method
53 @Override boolean[] copy(boolean[] array) { in copy() method
56 @Override byte[] copy(byte[] array) { in copy() method
59 @Override char[] copy(char[] array) { in copy() method
62 @Override double[] copy(double[] array) { in copy() method
[all …]

12345678910>>...57