HomeSort by relevance Sort by last modified time
    Searched refs:array (Results 651 - 675 of 7929) sorted by null

<<21222324252627282930>>

  /prebuilts/go/linux-x86/test/fixedbugs/
bug255.go 12 var d ["abc"]int // ERROR "invalid array bound|not numeric"
13 var e [nil]int // ERROR "use of untyped nil|invalid array bound|not numeric"
15 var g [1 << 65]int // ERROR "array bound is too large|overflows"
20 var i [len([1]string{ff()})]int // ERROR "non-constant array bound|not constant"
  /system/connectivity/wifilogd/
byte_buffer.h 20 #include <array>
62 std::array<uint8_t, SizeBytes> raw_buffer_;
  /frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
ArrayMapTests.java 121 private static boolean compareMaps(HashMap map, ArrayMap array) {
122 if (map.size() != array.size()) {
123 Log.e("test", "Bad size: expected " + map.size() + ", got " + array.size());
130 Object gotValue = array.get(entry.getKey());
138 for (int i=0; i<array.size(); i++) {
139 Object gotValue = array.valueAt(i);
140 Object key = array.keyAt(i);
149 if (map.entrySet().hashCode() != array.entrySet().hashCode()) {
151 + Integer.toHexString(map.entrySet().hashCode()) + " array=0x"
152 + Integer.toHexString(array.entrySet().hashCode()))
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
CharBufferTest.java 54 char array[] = buf.array(); local
55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
57 loadTestData1(array, buf.arrayOffset(), buf.capacity());
58 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
60 loadTestData2(array, buf.arrayOffset(), buf.capacity());
61 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
64 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
67 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity());
71 char array[] = buf.array() local
319 char array[] = new char[1]; local
340 char array[] = new char[buf.capacity()]; local
459 char array[] = new char[1]; local
488 char array[] = new char[buf.capacity()]; local
798 char array[] = new char[buf.capacity()]; local
837 assertEquals(buf.get(i), array[offset + i]); local
    [all...]
  /external/pdfium/fxjs/
cjs_color.cpp 46 v8::Local<v8::Array> color::ConvertPWLColorToArray(CJS_Runtime* pRuntime,
48 v8::Local<v8::Array> array; local
51 array = pRuntime->NewArray();
52 pRuntime->PutArrayElement(array, 0, pRuntime->NewString(L"T"));
55 array = pRuntime->NewArray();
56 pRuntime->PutArrayElement(array, 0, pRuntime->NewString(L"G"));
57 pRuntime->PutArrayElement(array, 1, pRuntime->NewNumber(color.fColor1));
60 array = pRuntime->NewArray();
61 pRuntime->PutArrayElement(array, 0, pRuntime->NewString(L"RGB"))
241 v8::Local<v8::Value> array = ConvertPWLColorToArray(pRuntime, *var); local
279 v8::Local<v8::Value> array = local
    [all...]
  /external/skia/include/private/
SkTArray.h 26 * Creates an empty array with no initial storage
31 * Creates an empty array that will preallocate space for reserveCount
37 * Copies one array to another. The new array will be heap allocated.
52 * Creates a SkTArray by copying contents of a standard C array. The new
53 * array will be heap allocated. Be careful not to use this constructor
56 SkTArray(const T* array, int count) {
58 this->copy(array);
125 * Resets to a copy of a C array and resets any reserve count.
127 void reset(const T* array, int count)
    [all...]
  /external/skqp/include/private/
SkTArray.h 26 * Creates an empty array with no initial storage
31 * Creates an empty array that will preallocate space for reserveCount
37 * Copies one array to another. The new array will be heap allocated.
52 * Creates a SkTArray by copying contents of a standard C array. The new
53 * array will be heap allocated. Be careful not to use this constructor
56 SkTArray(const T* array, int count) {
58 this->copy(array);
125 * Resets to a copy of a C array and resets any reserve count.
127 void reset(const T* array, int count)
    [all...]
  /external/deqp/framework/delibs/depool/
dePoolHashArray.h 23 * \brief Memory pool hash-array class.
37 * \brief Declare a template pool hash-array (array with hash) class interface.
38 * \param TYPENAME Type name of the declared hash-array.
41 * \param KEYARRAYTYPE Type of the key array.
42 * \param VALUEARRAYTYPE Type of the value array.
61 DE_DECLARE_POOL_ARRAY(TYPENAME##Array, VALUETYPE); \
67 TYPENAME##Array* array; \
80 return TYPENAME##Array_getNumElements(hashArray->array); \
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
AbstractMultimapTester.java 49 * @return an array of the proper size with {@code null} as the key of the
53 Map.Entry<K, V>[] array = createSamplesArray(); local
55 final Map.Entry<K, V> oldEntry = array[nullKeyLocation];
56 array[nullKeyLocation] = Helpers.mapEntry(null, oldEntry.getValue());
57 return array;
61 * @return an array of the proper size with {@code null} as the value of the
65 Map.Entry<K, V>[] array = createSamplesArray(); local
67 final Map.Entry<K, V> oldEntry = array[nullValueLocation];
68 array[nullValueLocation] = Helpers.mapEntry(oldEntry.getKey(), null);
69 return array;
77 Map.Entry<K, V>[] array = createSamplesArray(); local
    [all...]
  /external/jemalloc/test/include/test/
SFMT-sse2.h 56 * @param a a 128-bit part of the interal state array
57 * @param b a 128-bit part of the interal state array
58 * @param c a 128-bit part of the interal state array
59 * @param d a 128-bit part of the interal state array
81 * This function fills the internal state array with pseudorandom
108 * This function fills the user-specified array with pseudorandom
111 * @param array an 128-bit array to be filled by pseudorandom numbers.
114 JEMALLOC_INLINE void gen_rand_array(sfmt_t *ctx, w128_t *array, int size) {
124 _mm_store_si128(&array[i].si, r)
    [all...]
  /external/skia/tests/
TDPQueueTest.cpp 88 SkTDArray<Dummy> array; local
89 array.setReserve(count);
91 Dummy* dummy = array.append();
96 array.pop();
104 pq.insert(&array[j]);
106 REPORTER_ASSERT(reporter, pq.count() == array.count());
109 REPORTER_ASSERT(reporter, -1 != array[j].fIndex);
117 REPORTER_ASSERT(reporter, kSentinel == array[k] ||
118 array[k].fPriority >= top->fPriority);
125 REPORTER_ASSERT(reporter, array.begin() <= top && top < array.end())
    [all...]
  /external/skqp/tests/
TDPQueueTest.cpp 88 SkTDArray<Dummy> array; local
89 array.setReserve(count);
91 Dummy* dummy = array.append();
96 array.pop();
104 pq.insert(&array[j]);
106 REPORTER_ASSERT(reporter, pq.count() == array.count());
109 REPORTER_ASSERT(reporter, -1 != array[j].fIndex);
117 REPORTER_ASSERT(reporter, kSentinel == array[k] ||
118 array[k].fPriority >= top->fPriority);
125 REPORTER_ASSERT(reporter, array.begin() <= top && top < array.end())
    [all...]
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
IntPrimitiveOpsTests.java 90 int[] array = IntStream.range(1, 10).map(i -> i * 2).toArray(); local
91 assertEquals(array, new int[]{2, 4, 6, 8, 10, 12, 14, 16, 18});
95 int[] array = IntStream.range(1, 10).parallel().map(i -> i * 2).toArray(); local
96 assertEquals(array, new int[]{2, 4, 6, 8, 10, 12, 14, 16, 18});
108 int[] array = Arrays.stream(content).sorted().toArray(); local
109 assertEquals(array, sortedContent);
113 int[] array = Arrays.stream(content).parallel().sorted().toArray(); local
114 assertEquals(array, sortedContent);
126 int[] array = Arrays.stream(content).sorted().sorted().toArray(); local
127 assertEquals(array, sortedContent)
131 int[] array = Arrays.stream(content).parallel().sorted().sorted().toArray(); local
141 private final int[] array; field in class:IntPrimitiveOpsTests.AssertingConsumer
    [all...]
LongPrimitiveOpsTests.java 90 long[] array = LongStream.range(1, 10).map(i -> i * 2).toArray(); local
91 assertEquals(array, new long[]{2, 4, 6, 8, 10, 12, 14, 16, 18});
95 long[] array = LongStream.range(1, 10).parallel().map(i -> i * 2).toArray(); local
96 assertEquals(array, new long[]{2, 4, 6, 8, 10, 12, 14, 16, 18});
108 long[] array = Arrays.stream(content).sorted().toArray(); local
109 assertEquals(array, sortedContent);
113 long[] array = Arrays.stream(content).parallel().sorted().toArray(); local
114 assertEquals(array, sortedContent);
126 long[] array = Arrays.stream(content).sorted().sorted().toArray(); local
127 assertEquals(array, sortedContent)
131 long[] array = Arrays.stream(content).parallel().sorted().sorted().toArray(); local
141 private final long[] array; field in class:LongPrimitiveOpsTests.AssertingConsumer
    [all...]
  /external/libdrm/radeon/
bof.c 36 bof_t **array; local
40 array = realloc(bof->array, (bof->nentry + 16) * sizeof(void*));
41 if (array == NULL)
43 bof->array = array;
69 if (!strcmp(object->array[i]->value, keyname)) {
70 return object->array[i + 1];
89 object->array[object->array_size++] = key;
90 object->array[object->array_size++] = value
102 bof_t *array = bof_object(); local
    [all...]
  /frameworks/av/media/libstagefright/
ACodecBufferChannel.cpp 54 const std::shared_ptr<const std::vector<const BufferInfo>> &array,
57 array->begin(), array->end(),
62 const std::shared_ptr<const std::vector<const BufferInfo>> &array,
65 array->begin(), array->end(),
93 std::shared_ptr<const std::vector<const BufferInfo>> array(
95 BufferInfoIterator it = findClientBuffer(array, buffer);
96 if (it == array->end()) {
115 std::shared_ptr<const std::vector<const BufferInfo>> array(
    [all...]
  /frameworks/base/core/java/android/util/
ArraySet.java 21 import java.lang.reflect.Array;
31 * separate from ArrayMap, however, so the Object array contains only one item for each
37 * and deleting entries in the array. For containers holding up to hundreds of items,
41 * standard Java containers it will shrink its array as items are removed from it. Currently
57 * Maximum number of entries to have in array caches.
62 * Caches of small array objects to avoid spamming garbage. The cache
63 * Object[] variable is a pointer to a linked list of array objects.
64 * The first entry in the array is a pointer to the next array in the
65 * list; the second entry is a pointer to the int[] hash code array for it
158 final Object[] array = sTwiceBaseCache; local
183 final Object[] array = sBaseCache; local
    [all...]
  /external/mesa3d/src/compiler/
glsl_types.cpp 80 enum glsl_sampler_dim dim, bool shadow, bool array,
85 sampler_array(array), sampled_type(type), interface_packing(0),
216 return this->fields.array->contains_sampler();
233 return this->fields.array->contains_integer();
249 return this->fields.array->contains_double();
269 return fields.array->contains_opaque();
286 return this->fields.array->contains_subroutine();
301 const glsl_type *const t = (this->is_array()) ? this->fields.array : this;
332 return this->fields.array->contains_image();
369 type = type->fields.array;
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
Edits.java 29 // m or n = 61: actual length follows in the next edits array unit.
30 // m or n = 62..63: actual length follows in the next two edits array units.
37 private char[] array; field in class:Edits
47 array = new char[STACK_CAPACITY];
59 array[length - 1] = (char)last;
62 return length > 0 ? array[length - 1] : 0xffff;
142 } else if ((array.length - length) >= 5 || growArray()) {
148 array[limit++] = (char)(0x8000 | oldLength);
151 array[limit++] = (char)(0x8000 | (oldLength >> 15));
152 array[limit++] = (char)(0x8000 | oldLength)
219 private final char[] array; field in class:Edits.Iterator
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
Edits.java 28 // m or n = 61: actual length follows in the next edits array unit.
29 // m or n = 62..63: actual length follows in the next two edits array units.
36 private char[] array; field in class:Edits
47 array = new char[STACK_CAPACITY];
60 array[length - 1] = (char)last;
63 return length > 0 ? array[length - 1] : 0xffff;
145 } else if ((array.length - length) >= 5 || growArray()) {
151 array[limit++] = (char)(0x8000 | oldLength);
154 array[limit++] = (char)(0x8000 | (oldLength >> 15));
155 array[limit++] = (char)(0x8000 | oldLength)
226 private final char[] array; field in class:Edits.Iterator
    [all...]
  /external/v8/src/
transitions.cc 74 TransitionArray* array = TransitionArray::cast(map->raw_transitions()); local
75 number_of_transitions = array->number_of_transitions();
80 ? array->SearchSpecial(Symbol::cast(*name), &insertion_index)
81 : array->Search(details.kind(), *name, details.attributes(),
85 array->SetTarget(index, *target);
93 // If there is enough capacity, insert new entry into the existing array.
94 if (new_nof <= Capacity(array)) {
95 array->SetNumberOfTransitions(new_nof);
97 array->SetKey(index, array->GetKey(index - 1))
117 TransitionArray* array = TransitionArray::cast(map->raw_transitions()); local
398 Handle<FixedArray> array = isolate->factory()->NewTransitionArray( local
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
sparse_concat_op_test.py 49 ind = np.array([[0, 2], [1, 0], [2, 0], [2, 2]])
50 val = np.array([1, 2, 3, 4])
51 shape = np.array([3, 3])
53 np.array(ind, np.int64),
54 np.array(val, np.float32), np.array(shape, np.int64))
63 ind = np.array([[1, 1], [2, 0], [2, 3], [2, 4]])
64 val = np.array([1, 2, 1, 0])
65 shape = np.array([3, 5])
67 np.array(ind, np.int64)
    [all...]
  /frameworks/support/compat/src/main/java/androidx/core/content/res/
FontResourcesParserCompat.java 192 TypedArray array = resources.obtainAttributes(attrs, R.styleable.FontFamily); local
193 String authority = array.getString(R.styleable.FontFamily_fontProviderAuthority);
194 String providerPackage = array.getString(R.styleable.FontFamily_fontProviderPackage);
195 String query = array.getString(R.styleable.FontFamily_fontProviderQuery);
196 int certsId = array.getResourceId(R.styleable.FontFamily_fontProviderCerts, 0);
197 int strategy = array.getInteger(R.styleable.FontFamily_fontProviderFetchStrategy,
199 int timeoutMs = array.getInteger(R.styleable.FontFamily_fontProviderFetchTimeout,
201 array.recycle();
228 * Creates the necessary cert structure given a resources array. This method is capable of
229 * loading one string array as well as an array of string arrays
267 TypedArray array = resources.obtainAttributes(attrs, R.styleable.FontFamilyFont); local
    [all...]
  /frameworks/base/core/jni/
android_opengl_GLES10Ext.cpp 102 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset)
116 *array = NULL;
120 *array = (jarray) _env->CallStaticObjectMethod(nioAccessClass,
130 static void* Get(JNIEnv* _env, jbyteArray array, jboolean* is_copy) {
131 return _env->GetByteArrayElements(array, is_copy);
136 static void* Get(JNIEnv* _env, jbooleanArray array, jboolean* is_copy) {
137 return _env->GetBooleanArrayElements(array, is_copy);
142 static void* Get(JNIEnv* _env, jcharArray array, jboolean* is_copy) {
143 return _env->GetCharArrayElements(array, is_copy);
148 static void* Get(JNIEnv* _env, jshortArray array, jboolean* is_copy)
    [all...]
  /art/runtime/interpreter/mterp/arm/
op_aget_object.S 2 * Array object get. vAA <- vBB[vCC].
11 GET_VREG r0, r2 @ r0<- vBB (array object)
13 bl artAGetObjectFromMterp @ (array, index)

Completed in 2046 milliseconds

<<21222324252627282930>>