/external/pdfium/third_party/base/ |
ptr_util.h | 15 // std::unique_ptr<T[]>: do not use this helper for array allocations. 30 using Array = std::unique_ptr<T[]>; 53 // Overload for non-array types. Arguments are forwarded to T's constructor. 59 // Overload for array types of unknown bound, e.g. T[]. The array is allocated 63 typename internal::MakeUniqueResult<T>::Array MakeUnique(size_t size) { 67 // Overload to reject array types of known bound, e.g. T[n].
|
/external/webrtc/webrtc/system_wrappers/include/ |
aligned_array.h | 42 T* const* Array() { 46 const T* const* Array() const {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
FloatArrayToSizeFilter.java | 16 // Takes in an array, returns the size of the array 28 import java.lang.reflect.Array; 45 FrameType floatType = FrameType.array(float.class); 48 .addInputPort("array", Signature.PORT_REQUIRED, floatType) 58 FrameValue arrayFrame = getConnectedInputPort("array").pullFrame().asFrameValues(); 59 Object array = arrayFrame.getValue(); local 60 int size = Array.getLength(array);
|
/libcore/luni/src/main/java/libcore/reflect/ |
InternalNames.java | 19 import java.lang.reflect.Array; 31 return Array.newInstance(componentClass, 0).getClass();
|
/packages/apps/Car/libs/car-stream-lib/src/com/android/car/stream/ |
AbstractBundleable.java | 24 import java.lang.reflect.Array; 103 return (T[]) Array.newInstance(clazz, size); 130 * array of custom class instances should similarly be converted into an array of Bundles first.
|
/external/liblzf/src/org/liblzf/ |
CLZF.java | 129 static int FRST(byte[] Array,int ptr) 131 return (int)((((Array[ptr]) << 8) & 0xff00) | (Array[ptr+1] & 0xff)); 134 static int NEXT(int v,byte[] Array,int ptr) 136 return ((v) << 8) | (Array[ptr+2] & 0xff);
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
BaseTree.as | 36 protected var _children:Array; 55 public function get children():Array { 80 * t.children = child.children; i.e., without copying the array. 113 _children = new Array(); // create children list on demand 122 public function addChildren(kids:Array):void { 137 _children = new Array(); 166 var newChildren:Array = null; 172 newChildren = new Array(); 282 public function get ancestors():Array { 284 var ancestors:Array = new Array() [all...] |
/external/libmojo/mojo/public/cpp/bindings/tests/ |
serialization_warning_unittest.cc | 11 #include "mojo/public/cpp/bindings/array.h" 28 // Creates an array of arrays of handles (2 X 3) for testing. 29 Array<Array<ScopedHandle>> CreateTestNestedHandleArray() { 30 Array<Array<ScopedHandle>> array(2); 31 for (size_t i = 0; i < array.size(); ++i) { 32 Array<ScopedHandle> nested_array(3); 37 array[i] = std::move(nested_array) [all...] |
wtf_types_unittest.cc | 114 size_t size = mojo::internal::PrepareToSerialize<Array<mojo::String>>( 118 typename mojo::internal::MojomTypeTraits<Array<mojo::String>>::Data* data; 121 mojo::internal::Serialize<Array<mojo::String>>(cloned_strs, &buf, &data, 125 mojo::internal::Deserialize<Array<mojo::String>>(data, &strs2, &context); 135 size_t size = mojo::internal::PrepareToSerialize<Array<mojo::String>>( 139 typename mojo::internal::MojomTypeTraits<Array<mojo::String>>::Data* data; 142 mojo::internal::Serialize<Array<mojo::String>>(cloned_strs, &buf, &data, 146 mojo::internal::Deserialize<Array<mojo::String>>(data, &strs2, &context); 156 mojo::internal::PrepareToSerialize<Array<mojo::String>>(strs, &context); 159 typename mojo::internal::MojomTypeTraits<Array<mojo::String>>::Data* data [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsSerializer.java | 46 import java.lang.reflect.Array; 140 for (int fi = 0; fi < Array.getLength(fmts); fi++) { 143 for (int si = 0; si < Array.getLength(sizes); si++) { 156 for (int si = 0; si < Array.getLength(sizes); si++) { 376 int arrayLen = Array.getLength(keyValue); 384 jsonArray.put(serializeRational((Rational)Array.get(keyValue,i))); 390 jsonArray.put(serializeSize((Size)Array.get(keyValue,i))); 396 jsonArray.put(serializeRect((Rect)Array.get(keyValue,i))); 402 jsonArray.put(serializeFace((Face)Array.get(keyValue, i))); 409 (StreamConfigurationMap)Array.get(keyValue,i))) [all...] |
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PlatformBootManagerLib/ |
PlatformBootManager.c | 61 Return the index of the load option in the load option array.
67 @param Array Pointer to the array of load options to be found.
68 @param Count Number of entries in the Array.
70 @retval -1 Key wasn't found in the Array.
71 @retval 0 ~ Count-1 The index of the Key in the Array.
76 IN CONST EFI_BOOT_MANAGER_LOAD_OPTION *Array,
83 if ((Key->OptionType == Array[Index].OptionType) &&
84 (Key->Attributes == Array[Index].Attributes) &&
85 (StrCmp (Key->Description, Array[Index].Description) == 0) && [all...] |
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformBootManagerLib/ |
PlatformBootManager.c | 21 Return the index of the load option in the load option array.
27 @param Array Pointer to the array of load options to be found.
28 @param Count Number of entries in the Array.
30 @retval -1 Key wasn't found in the Array.
31 @retval 0 ~ Count-1 The index of the Key in the Array.
36 IN CONST EFI_BOOT_MANAGER_LOAD_OPTION *Array,
43 if ((Key->OptionType == Array[Index].OptionType) &&
44 (Key->Attributes == Array[Index].Attributes) &&
45 (StrCmp (Key->Description, Array[Index].Description) == 0) && [all...] |
/external/llvm/lib/Support/ |
SmallPtrSet.cpp | 32 // Install the new array. Clear all the buckets to empty. 41 // If more than 3/4 of the array is full, grow. 44 // If fewer of 1/8 of the array is empty (meaning that many are filled with 92 const void *const *Array = CurArray; 98 if (LLVM_LIKELY(Array[Bucket] == getEmptyMarker())) 99 return Tombstone ? Tombstone : Array+Bucket; 102 if (LLVM_LIKELY(Array[Bucket] == Ptr)) 103 return Array+Bucket; 107 if (Array[Bucket] == getTombstoneMarker() && !Tombstone) 108 Tombstone = Array+Bucket; // Remember the first tombstone found [all...] |
/external/bison/src/ |
system.h | 44 #define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array))
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
codegen.ml | 44 if Array.length params == Array.length args then () else 46 let args = Array.map codegen_expr args in 52 let doubles = Array.make (Array.length args) double_type in 72 Array.iteri (fun i a ->
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
codegen.ml | 44 if Array.length params == Array.length args then () else 46 let args = Array.map codegen_expr args in 52 let doubles = Array.make (Array.length args) double_type in 72 Array.iteri (fun i a ->
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter3/ |
codegen.ml | 44 if Array.length params == Array.length args then () else 46 let args = Array.map codegen_expr args in 52 let doubles = Array.make (Array.length args) double_type in 72 Array.iteri (fun i a ->
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter4/ |
codegen.ml | 44 if Array.length params == Array.length args then () else 46 let args = Array.map codegen_expr args in 52 let doubles = Array.make (Array.length args) double_type in 72 Array.iteri (fun i a ->
|
/external/vixl/examples/aarch64/ |
add2-vectors.cc | 30 #define ARRAY_SIZE(Array) (sizeof(Array) / sizeof((Array)[0]))
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
CameraInfoDialogFragment.java | 18 import java.lang.reflect.Array; 103 // Iterate an array-type value 105 int len = Array.getLength(val); 110 Array.get(val, i),
|
/prebuilts/go/darwin-x86/test/ |
nilptr.go | 59 // Array index. 70 // Array index. 75 // Array to slice. 84 // Array to slice. 95 // Array to slice. 101 // Array to slice.
|
/prebuilts/go/linux-x86/test/ |
nilptr.go | 59 // Array index. 70 // Array index. 75 // Array to slice. 84 // Array to slice. 95 // Array to slice. 101 // Array to slice.
|
/art/runtime/mirror/ |
array-inl.h | 20 #include "array.h" 36 inline uint32_t Array::ClassSize(PointerSize pointer_size) { 42 inline size_t Array::SizeOf() { 43 // This is safe from overflow because the array was already allocated, so we know it's sane. 54 inline MemberOffset Array::DataOffset(size_t component_size) { 56 size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); 58 << "Array data offset isn't aligned with component size"; 63 inline bool Array::CheckIsValidIndex(int32_t index) { 76 size_t header_size = Array::DataOffset(component_size).SizeValue(); 90 // The array length limit (exclusive) 109 ObjPtr<Array> array = ObjPtr<Array>::DownCast(obj); local 133 ObjPtr<Array> array = ObjPtr<Array>::DownCast(obj); local [all...] |
/external/mesa3d/src/mesa/main/ |
varray.c | 111 * \param attrib the attribute array index to update 120 * \param ptr the address (or offset inside VBO) of the array data 131 struct gl_client_array *array; local 138 * "Client vertex arrays - all vertex array attribute pointers must 139 * refer to buffer objects (section 2.9.2). The default vertex array 141 * VertexAttribPointer when no buffer object or no vertex array object 147 && (ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj)) { 148 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(no array object bound)", 244 * organization of vertex array data are called while zero is boun 594 const struct gl_client_array *array; local 1166 struct gl_client_array *array; local [all...] |
/art/runtime/entrypoints/quick/ |
quick_default_externs.h | 24 class Array; 68 // Array entrypoints. 69 extern "C" void art_quick_aput_obj_with_null_and_bound_check(art::mirror::Array*, int32_t, 71 extern "C" void art_quick_aput_obj_with_bound_check(art::mirror::Array*, int32_t, 73 extern "C" void art_quick_aput_obj(art::mirror::Array*, int32_t, art::mirror::Object*);
|