/external/libmojo/mojo/public/cpp/bindings/lib/ |
native_struct_serialization.cc | 18 return internal::PrepareToSerialize<Array<uint8_t>>(input->data, context); 34 internal::Serialize<Array<uint8_t>>(input->data, buffer, &data, ¶ms, 47 if (!internal::Deserialize<Array<uint8_t>>(data, &result->data, context)) {
|
/external/vixl/examples/aarch64/ |
sum-array.cc | 29 #define ARRAY_SIZE(Array) (sizeof(Array) / sizeof((Array)[0])) 33 // uint32_t sum_array(uint8_t* array, uint32_t size) 35 // array (pointer) -> x0 43 // There's nothing to do if the array is empty. 46 // Go through the array and sum the elements.
|
/external/webrtc/webrtc/system_wrappers/source/ |
aligned_array_unittest.cc | 29 ASSERT_TRUE(IsAligned(arr.Array(), 128)); 32 ASSERT_EQ(arr.Row(i), arr.Array()[i]); 49 ASSERT_EQ(arr.Array()[i][j], 20 * i + j);
|
/art/runtime/native/ |
java_lang_reflect_Array.cc | 44 mirror::Array* new_array = mirror::Array::CreateMultiArray(soa.Self(), 66 ObjPtr<mirror::Array> new_array = mirror::ObjectArray<mirror::Object*>::Alloc( 75 FAST_NATIVE_METHOD(Array, createMultiArray, "(Ljava/lang/Class;[I)Ljava/lang/Object;"), 76 FAST_NATIVE_METHOD(Array, createObjectArray, "(Ljava/lang/Class;I)Ljava/lang/Object;"), 80 REGISTER_NATIVE_METHODS("java/lang/reflect/Array");
|
/art/runtime/mirror/ |
array.h | 33 class MANAGED Array : public Object { 35 // The size of a java.lang.Class representing an array. 38 // Allocates an array with the given properties, if kFillUsable is true the array will be of at 40 // array will fill it. 42 ALWAYS_INLINE static Array* Alloc(Thread* self, 50 static Array* CreateMultiArray(Thread* self, 61 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Array, length_)); 68 SetField32<false, false, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); 72 return OFFSET_OF_OBJECT_MEMBER(Array, length_) [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
SmallPtrSet.cpp | 29 // Install the new array. Clear all the buckets to empty. 56 // If more than 3/4 of the array is full, grow. 59 // If fewer of 1/8 of the array is empty (meaning that many are filled with 107 const void *const *Array = CurArray; 111 if (Array[Bucket] == Ptr) 112 return Array+Bucket; 117 if (Array[Bucket] == getEmptyMarker()) 118 return Tombstone ? Tombstone : Array+Bucket; 122 if (Array[Bucket] == getTombstoneMarker() && !Tombstone) 123 Tombstone = Array+Bucket; // Remember the first tombstone found [all...] |
/external/mesa3d/src/mesa/main/ |
getstring.c | 190 * Return pointer-valued state, such as a vertex array pointer. 204 const GLuint clientUnit = ctx->Array.ActiveTexture; 217 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Ptr; 222 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Ptr; 227 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Ptr; 232 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Ptr; 237 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_FOG].Ptr; 242 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Ptr; 247 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(clientUnit)].Ptr; 252 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Ptr [all...] |
api_validate.c | 39 * \return number of bytes in array [count] of type. 115 /* For ES2, we can draw if any vertex array is enabled (and we 117 if (ctx->Array.ArrayObj->_Enabled == 0x0 || !ctx->VertexProgram._Current) 126 if (!ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled) 147 * array [0]). 149 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled || 150 ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC0].Enabled); 165 * Do bounds checking on array element indexes. Check that the vertices 178 * array/BO bounds allows application termination. 189 ib.obj = ctx->Array.ArrayObj->ElementArrayBufferObj [all...] |
/external/deqp/framework/delibs/depool/ |
dePoolHeap.h | 59 DE_DECLARE_POOL_ARRAY(TYPENAME##Array, VALUETYPE); \ 63 TYPENAME##Array* array; \ 80 heap->array = TYPENAME##Array_create(pool); \ 81 if (!heap->array) \ 88 return TYPENAME##Array_getNumElements(heap->array); \ 93 return TYPENAME##Array_reserve(heap->array, capacity); \ 98 TYPENAME##Array_setSize(heap->array, 0); \ 103 TYPENAME##Array* array = heap->array; [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_context.h | 121 * drawing to array drawing we need to invalidate the array state. 137 ctx->Array._DrawArrays = vbo->exec.array.inputs; 140 ctx->Array._DrawArrays = vbo->exec.vtx.inputs; 143 ctx->Array._DrawArrays = vbo->save.inputs; 176 * The return type is an array of floats, because that's how we declare
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
RegAllocBase.h | 71 // Array of LiveIntervalUnions indexed by physical register. 74 LiveIntervalUnion *Array; 76 LiveUnionArray(): NumRegs(0), Array(0) {} 87 return Array[PhysReg];
|
/art/runtime/ |
asm_support.h | 200 // Array offsets. 202 ADD_TEST_EQ(MIRROR_ARRAY_LENGTH_OFFSET, art::mirror::Array::LengthOffset().Int32Value()) 206 art::mirror::Array::DataOffset(sizeof(uint16_t)).Int32Value()) 210 art::mirror::Array::DataOffset(sizeof(uint8_t)).Int32Value()) 214 art::mirror::Array::DataOffset(sizeof(int8_t)).Int32Value()) 218 art::mirror::Array::DataOffset(sizeof(int16_t)).Int32Value()) 222 art::mirror::Array::DataOffset(sizeof(int32_t)).Int32Value()) 226 art::mirror::Array::DataOffset(sizeof(uint64_t)).Int32Value()) 230 art::mirror::Array::DataOffset( 239 art::mirror::Array::DataOffset(sizeof(uint64_t)).Int32Value() [all...] |
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/ |
ImageProvider.kt | 48 override fun query(uri: Uri, strings: Array<String>?, s: String?, 49 strings1: Array<String>?, s1: String?): Cursor? { 53 override fun query(uri: Uri, projection: Array<String>?, queryArgs: Bundle, 91 private fun constructExtras(queryArgs: Bundle, files: Array<File>): Bundle { 128 override fun delete(uri: Uri, s: String?, strings: Array<String>?): Int { 133 strings: Array<String>?): Int { 161 val imageResIds = getResourceIdArray(context, R.array.image_res_ids) 227 private fun resolveDocumentProjection(projection: Array<String>?): Array<String> {
|
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/ |
ImageProvider.kt | 48 override fun query(uri: Uri, strings: Array<String>?, s: String?, 49 strings1: Array<String>?, s1: String?): Cursor? { 53 override fun query(uri: Uri, projection: Array<String>?, queryArgs: Bundle, 91 private fun constructExtras(queryArgs: Bundle, files: Array<File>): Bundle { 128 override fun delete(uri: Uri, s: String?, strings: Array<String>?): Int { 133 strings: Array<String>?): Int { 161 val imageResIds = getResourceIdArray(context, R.array.image_res_ids) 227 private fun resolveDocumentProjection(projection: Array<String>?): Array<String> {
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
BitSet.as | 46 protected var bits:Array; 48 /** Construction from a static array of longs */ 49 public function BitSet(bits:Array = null) { 51 this.bits = new Array(); 54 this.bits = new Array(); 212 /** return how much space is being used by the bits array not 219 public function toArray():Array { 220 var elems:Array = new Array[this.bits.length]; 230 public function toPackedArray():Array { [all...] |
DFA.as | 15 protected var eot:Array; // short[] 16 protected var eof:Array; // short[] 17 protected var min:Array; // char[] 18 protected var max:Array; // char[] 19 protected var accept:Array; //short[] 20 protected var special:Array; // short[] 21 protected var transition:Array; // short[][] 33 eot:Array, eof:Array, min:Array, max:Array, accept:Array, special:Array, transition:Array [all...] |
/external/autotest/client/deps/webgl_mpd/src/ |
cros_fps.js | 13 this.frameDataBuf = new Array(); 29 this.frameDataBuf = new Array();
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
ICUTestCase.java | 19 import java.lang.reflect.Array; 182 * be the same length, and each element in the left array must compare 183 * equal to the corresponding element of the right array. 184 * Also fails if one of the objects is not an array. 185 * @param lhs the left array 186 * @param rhs the right array 202 * argument is not an array. 203 * @param lhs the left array 204 * @param rhs the right array 220 int lhsl = Array.getLength(lhsa) [all...] |
/external/javassist/src/main/javassist/bytecode/annotation/ |
ArrayMemberValue.java | 20 import java.lang.reflect.Array; 24 * Array member. 34 * Constructs an array. The initial value or type are not specified. 43 * Constructs an array. The initial value is not specified. 45 * @param t the type of the array elements. 58 "no array elements found: " + method.getName()); 65 throw new ClassNotFoundException("broken array type: " 71 Object a = Array.newInstance(clazz, size); 73 Array.set(a, i, values[i].getValue(cl, cp, method)); 80 throw new ClassNotFoundException("no array type specified") [all...] |
/external/libmojo/mojo/public/cpp/bindings/ |
native_struct.h | 8 #include "mojo/public/cpp/bindings/array.h" 42 Array<uint8_t> data;
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
versioning_test_service.cc | 27 Array<uint8_t> finger_print; 72 callback.Run(nullptr, Array<uint8_t>()); 77 : Array<uint8_t>()); 81 Array<uint8_t> finger_print,
|
array_common_test.h | 19 // Common tests for both mojo::Array and mojo::WTFArray. 40 // Tests that basic array operations work. 42 ArrayType<char> array(8); 43 for (size_t i = 0; i < array.size(); ++i) { 45 array[i] = val; 46 EXPECT_EQ(val, array.at(i)); 52 ArrayType<bool> array(64); 53 for (size_t i = 0; i < array.size(); ++i) { 55 array[i] = val; 56 EXPECT_EQ(val, array.at(i)) 188 ArrayType<int32_t> array; local [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
LibCallSemantics.h | 54 /// LibCallFunctionInfo - Each record in the array of FunctionInfo structs 79 /// LocationID - ID # of the accessed location or ~0U for array end. 85 /// DetailsType - Indicate the sense of the LocationDetails array. This 86 /// controls how the LocationDetails array is interpreted. 90 /// LocationDetails array. If we are trying to say that 'sqrt' can only 92 /// array and have DetailsType set to DoesOnly. 96 /// LocationDetails array is completely inverted. This means that we *do 101 /// {errnoloc,modref} in the LocationDetails array and DetailsType would 107 /// LocationDetails - This is a pointer to an array of LocationMRInfo 110 /// 'errno', it would have a LocationDetails array with the errno ID an [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
ExceptionExtensions.cs | 52 Array stackTrace = new StackTrace(true).GetFrames(); 53 Array.Copy(stackTrace, 1, frames, 0, stackTrace.Length);
|
/external/libchrome/base/memory/ |
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].
|