/external/mesa3d/src/mesa/vbo/ |
vbo_split_inplace.c | 45 const struct gl_client_array **array; member in struct:split_context 66 const struct gl_client_array **saved_arrays = ctx->Array._DrawArrays; 87 ctx->Array._DrawArrays = split->array; 99 ctx->Array._DrawArrays = saved_arrays; 240 split->array, 252 split->array, 279 split.array = arrays;
|
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/ |
MessageNanoPrinter.java | 33 import java.lang.reflect.Array; 83 * @param object the value to print. May in fact be a primitive value or byte array and not a 127 // bytes is special since it's not repeated, but is represented by an array 131 int len = value == null ? 0 : Array.getLength(value); 133 Object elem = Array.get(value, i); 254 * Appends a quoted byte array to the provided {@code StringBuffer}.
|
/external/swiftshader/src/Shader/ |
ShaderCore.hpp | 190 x = new Array<Float4>(S); 191 y = new Array<Float4>(S); 192 z = new Array<Float4>(S); 193 w = new Array<Float4>(S); 197 x = new Array<Float4>[S]; 198 y = new Array<Float4>[S]; 199 z = new Array<Float4>[S]; 200 w = new Array<Float4>[S]; 243 Array<Float4> *x; 244 Array<Float4> *y [all...] |
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter5/ |
codegen.ml | 44 if Array.length params == Array.length args then () else 46 let args = Array.map codegen_expr args in 174 let doubles = Array.make (Array.length args) double_type in 194 Array.iteri (fun i a ->
|
/packages/apps/Camera2/src/com/android/camera/util/ |
CaptureDataSerializer.java | 38 import java.lang.reflect.Array; 140 int length = Array.getLength(object); 142 Object item = Array.get(object, i);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/ |
sharedctypes.py | 42 __all__ = ['RawValue', 'RawArray', 'Value', 'Array', 'copy', 'synchronized'] 78 Returns a ctypes array allocated from shared memory 108 def Array(typecode_or_type, size_or_initializer, **kwds): 134 elif isinstance(obj, ctypes.Array): 155 if isinstance(obj, ctypes.Array):
|
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/ |
sharedctypes.py | 42 __all__ = ['RawValue', 'RawArray', 'Value', 'Array', 'copy', 'synchronized'] 78 Returns a ctypes array allocated from shared memory 108 def Array(typecode_or_type, size_or_initializer, **kwds): 134 elif isinstance(obj, ctypes.Array): 155 if isinstance(obj, ctypes.Array):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
sharedctypes.py | 42 __all__ = ['RawValue', 'RawArray', 'Value', 'Array', 'copy', 'synchronized'] 78 Returns a ctypes array allocated from shared memory 108 def Array(typecode_or_type, size_or_initializer, **kwds): 134 elif isinstance(obj, ctypes.Array): 155 if isinstance(obj, ctypes.Array):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
sharedctypes.py | 42 __all__ = ['RawValue', 'RawArray', 'Value', 'Array', 'copy', 'synchronized'] 78 Returns a ctypes array allocated from shared memory 108 def Array(typecode_or_type, size_or_initializer, **kwds): 134 elif isinstance(obj, ctypes.Array): 155 if isinstance(obj, ctypes.Array):
|
/art/runtime/mirror/ |
object_test.cc | 23 #include "array-inl.h" 157 MutableHandle<Array> a( 158 hs.NewHandle(Array::Alloc<true>(soa.Self(), c, 1, c->GetComponentSizeShift(), 164 a.Assign(Array::Alloc<true>(soa.Self(), c, 1, c->GetComponentSizeShift(), 170 a.Assign(Array::Alloc<true>(soa.Self(), c, 1, c->GetComponentSizeShift(), 180 MutableHandle<Array> a( 181 hs.NewHandle(Array::Alloc<true, true>(soa.Self(), c, 1, c->GetComponentSizeShift(), 187 a.Assign(Array::Alloc<true, true>(soa.Self(), c, 2, c->GetComponentSizeShift(), 193 a.Assign(Array::Alloc<true, true>(soa.Self(), c, 2, c->GetComponentSizeShift(), 199 a.Assign(Array::Alloc<true, true>(soa.Self(), c, 2, c->GetComponentSizeShift() 553 Object* array = ObjectArray<Object>::Alloc(soa.Self(), Object_array_class, 1); local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
CameraMetadataTest.java | 52 import java.lang.reflect.Array; 218 // android.colorCorrection.colorCorrectionGains (float x 4 array) 246 * Format an array into a string with the {@code badIndex} highlighted with {@code **}. 253 private static <T> String formatArray(T array, int badIndex) { 258 int len = Array.getLength(array); 261 Object elem = Array.get(array, i); 292 assertEquals("Array lengths must be equal", 293 Array.getLength(expected), Array.getLength(actual)) [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
JSONArray.java | 29 import java.lang.reflect.Array; 175 * @throws JSONException If not an array. 197 * Construct a JSONArray from an array 198 * @throws JSONException If not an array. 200 public JSONArray(Object array) throws JSONException { 202 if (array.getClass().isArray()) { 203 int length = Array.getLength(array); 205 this.put(Array.get(array, i)) [all...] |
/external/mesa3d/src/mesa/main/ |
enable.c | 57 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; 79 var = &arrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Enabled; 80 flag = VERT_BIT_TEX(ctx->Array.ActiveTexture); 134 var = &ctx->Array.PrimitiveRestart; [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
ArrayUtils.java | 27 import java.lang.reflect.Array; 81 * @param array1 the first byte array 82 * @param array2 the second byte array 106 * Returns an empty array of the specified type. The intent is that 107 * it will return the same empty array every time to avoid reallocation, 120 cache = Array.newInstance(kind, 0); 130 * Checks if given array is null or has zero elements. 132 public static boolean isEmpty(@Nullable Collection<?> array) { 133 return array == null || array.isEmpty() 280 int[] array = new int[list.size()]; local [all...] |
/external/protobuf/js/binary/ |
reader.js | 108 * @private {!Array.<!jspb.BinaryReader>} 913 * @return {!Array} 933 * @return {!Array.<number>} 943 * @return {!Array.<string>} 953 * @return {!Array.<number>} 963 * @return {!Array.<string>} 973 * @return {!Array.<number>} 983 * @return {!Array.<string>} 993 * @return {!Array.<number>} 1003 * @return {!Array.<string> [all...] |
/external/protobuf/js/ |
message.js | 40 goog.require('goog.array'); 83 * @param {?function(new: jspb.Message, Array=)} ctor 185 * The internal data array. 186 * @type {!Array} 189 jspb.Message.prototype.array; method in class:jspb.Message 194 * on demand from the raw array data. Includes message fields, repeated message 261 * An offset applied to lookups into this.array to account for the presence or 263 * Otherwise, it will be -1 so that the first array position is not wasted. 271 * Returns the index into msg.array at which the proto field with tag number 286 * @param {Array|undefined} data An initial data array [all...] |
/external/libmojo/mojo/public/cpp/bindings/tests/ |
struct_unittest.cc | 181 // Serialization test of a struct with an array member. 216 // Serialization test of a struct with null array pointers. 460 native->data = Array<uint8_t>(2); 489 mojo::Array<uint8_t> data = Rect::Serialize(&null_struct); 501 mojo::Array<uint8_t> data = EmptyStruct::Serialize(&empty_struct); 513 mojo::Array<uint8_t> data = Rect::Serialize(&rect); 529 mojo::Array<uint8_t> data = NamedRegion::Serialize(®ion); 532 mojo::Array<uint8_t> cloned_data = data.Clone(); 541 mojo::Array<uint8_t> data = Rect::Serialize(&rect);
|
union_unittest.cc | 12 #include "mojo/public/cpp/bindings/array.h" 413 // Array tests 428 Array<PodUnionPtr> array(2); 429 array[0] = PodUnion::New(); 430 array[1] = PodUnion::New(); 432 array[0]->set_f_int8(10); 433 array[1]->set_f_int16(12); 434 EXPECT_EQ(2U, array.size()); 437 mojo::internal::PrepareToSerialize<Array<PodUnionPtr>>(array, nullptr) [all...] |
/external/v8/src/runtime/ |
runtime-atomics.cc | 365 case kExternal##Type##Array: \ 398 case kExternal##Type##Array: \ 430 case kExternal##Type##Array: \ 462 case kExternal##Type##Array: \ 494 case kExternal##Type##Array: \ 526 case kExternal##Type##Array: \ 558 case kExternal##Type##Array: \
|
/external/v8/src/js/ |
array.js | 16 var GlobalArray = global.Array; 38 function ArraySpeciesCreate(array, length) { 40 var constructor = %ArraySpeciesConstructor(array); 49 function GetSortedArrayKeys(array, indices) { 55 var e = array[i]; 56 if (!IS_UNDEFINED(e) || i in array) { 66 function SparseJoinWithSeparatorJS(array, keys, length, use_locale, separator) { 72 elements[i * 2 + 1] = ConvertToString(use_locale, array[key]); 79 function SparseJoin(array, keys, use_locale) { 83 elements[i] = ConvertToString(use_locale, array[keys[i]]) [all...] |
/art/runtime/ |
transaction.cc | 175 void Transaction::RecordWriteArray(mirror::Array* array, size_t index, uint64_t value) { 176 DCHECK(array != nullptr); 177 DCHECK(array->IsArrayInstance()); 178 DCHECK(!array->IsObjectArray()); 180 auto it = array_logs_.find(array); 183 it = array_logs_.emplace(array, std::move(log)).first; 244 // TODO we may not need to restore array allocated during this transaction. Or we could directly 307 typedef std::pair<mirror::Array*, mirror::Array*> ArrayPair [all...] |
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
CameraDeviceInfo.java | 38 import java.lang.reflect.Array; 143 for (int fi = 0; fi < Array.getLength(fmts); fi++) { 146 for (int si = 0; si < Array.getLength(sizes); si++) { 303 int arrayLen = Array.getLength(keyValue); 328 intValues[i] = (int) ((byte) Array.get(keyValue, i)); 335 storeRational((Rational) Array.get(keyValue, i), null); 342 storeSize((Size) Array.get(keyValue, i), null); 349 storeRect((Rect) Array.get(keyValue, i), null); 358 storeRangeInt((Range<Integer>) Array.get(keyValue, i), null); 365 storeBlackLevelPattern((BlackLevelPattern) Array.get(keyValue, i), null) [all...] |
/external/eigen/test/ |
array.cpp | 12 template<typename ArrayType> void array(const ArrayType& m) function 17 typedef Array<Scalar, ArrayType::RowsAtCompileTime, 1> ColVectorType; 18 typedef Array<Scalar, 1, ArrayType::ColsAtCompileTime> RowVectorType; 92 typedef Array<Scalar, 123 typedef Array<Scalar, Dynamic, 1> OneDArrayType; 162 // comparisons array to scalar 168 // comparisons scalar to array 200 typedef Array<typename ArrayType::Index, Dynamic, 1> ArrayOfIndices; 202 // TODO allows colwise/rowwise for array 306 // scalar by array divisio [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
parser.ml | 43 Ast.Call (id, Array.of_list (List.rev args)) 95 Ast.Var (Array.of_list (List.rev var_names), body) 186 Ast.Prototype (id, Array.of_list (List.rev args)) 195 let args = Array.of_list (List.rev args) in 198 if Array.length args != kind
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter7/ |
parser.ml | 43 Ast.Call (id, Array.of_list (List.rev args)) 95 Ast.Var (Array.of_list (List.rev var_names), body) 186 Ast.Prototype (id, Array.of_list (List.rev args)) 195 let args = Array.of_list (List.rev args) in 198 if Array.length args != kind
|