/cts/tools/vm-tests/src/dot/junit/opcodes/aput_object/d/ |
T_aput_object_3.d | 62 new-array v2, v0, [Ldot/junit/opcodes/aput_object/d/SubClass; 65 new-array v3, v0, [Ldot/junit/opcodes/aput_object/d/SuperClass; 76 new-array v6, v0, [Ldot/junit/opcodes/aput_object/d/SuperInterface; 79 new-array v7, v0, [Ljava/lang/Object; 82 new-array v8, v0, [Ldot/junit/opcodes/aput_object/d/SuperInterface2;
|
/external/bluetooth/bluez/src/ |
manager.c | 208 char **array; local 222 array = g_new0(char *, g_slist_length(adapters) + 1); 229 array[i] = (char *) adapter_get_path(adapter); 231 dict_append_array(&dict, "Adapters", DBUS_TYPE_OBJECT_PATH, &array, i); 232 g_free(array); 269 char **array; local 272 array = g_new0(char *, g_slist_length(adapters) + 1); 279 array[i] = (char *) adapter_get_path(adapter); 284 DBUS_TYPE_OBJECT_PATH, &array); 286 g_free(array); [all...] |
/external/dbus/dbus/ |
dbus-auth-script.c | 173 char **array; local 185 array = dbus_new0 (char *, count + 1); 186 if (array == NULL) 195 array[k] = dbus_malloc (j - i + 1); 196 if (array[k] == NULL) 198 dbus_free_string_array (array); 201 memcpy (array[k], 203 array[k][j - i] = '\0'; 207 array[k] = NULL; 209 return array; [all...] |
dbus-marshal-header.c | 45 /** Offset from start of _dbus_header_signature_str to the signature of the fields array */ 47 /** Offset from start of _dbus_header_signature_str to the signature of an element of the fields array */ 63 /** Offset to fields array length from start of header */ 173 DBusTypeReader array; local 191 _dbus_type_reader_recurse (&reader, &array); 193 while (_dbus_type_reader_get_current_type (&array) != DBUS_TYPE_INVALID) 199 _dbus_type_reader_recurse (&array, &sub); 216 _dbus_type_reader_next (&array); 322 * @param reader the reader (should be iterating over the array pointing at the field to set) 525 DBusTypeWriter array; local 1265 DBusTypeWriter array; local [all...] |
dbus-internals.c | 70 * Computes the number of elements in a fixed-size array using 73 * @param array the array to count elements in. 458 * Duplicates a string array. Result may be freed with 460 * If the array to be duplicated is #NULL, returns #NULL. 462 * @param array array to duplicate. 466 _dbus_dup_string_array (const char **array) 472 if (array == NULL) 475 for (len = 0; array[len] != NULL; ++len [all...] |
dbus-marshal-recursive.c | 190 /* point type_pos at the array element type */ 194 sub->u.array.start_pos = _DBUS_INT_MAX; 198 /** compute position of array length given array_len_offset, which is 201 ((reader)->u.array.start_pos - ((int)(reader)->array_len_offset) - 4) 216 _dbus_verbose (" reader %p len_pos %d array len %u len_offset %d\n", 220 _dbus_assert (reader->u.array.start_pos - len_pos - 4 < 8); 245 sub->u.array.start_pos = sub->value_pos; 246 _dbus_assert ((sub->u.array.start_pos - (len_pos + 4)) < 8); /* only 3 bits in array_len_offset */ 247 sub->array_len_offset = sub->u.array.start_pos - (len_pos + 4); 250 _dbus_verbose (" type reader %p array start = %d len_offset = %d array len = %d array element type = %s\n" [all...] |
dbus-internals.h | 154 #define _DBUS_N_ELEMENTS(array) ((int) (sizeof ((array)) / sizeof ((array)[0]))) 199 dbus_bool_t _dbus_string_array_contains (const char **array, 201 char** _dbus_dup_string_array (const char **array);
|
/frameworks/base/core/java/android/content/res/ |
Resources.java | 350 * Return the styled text array associated with a particular resource ID. 358 * @return The styled text array associated with the resource. 365 throw new NotFoundException("Text array resource ID #0x" 370 * Return the string array associated with a particular resource ID. 378 * @return The string array associated with the resource. 385 throw new NotFoundException("String array resource ID #0x" 390 * Return the int array associated with a particular resource ID. 398 * @return The int array associated with the resource. 405 throw new NotFoundException("Int array resource ID #0x" 410 * Return an array of heterogeneous values 429 TypedArray array = getCachedStyledAttributes(len); local 997 TypedArray array = getCachedStyledAttributes(len); local 1027 TypedArray array = getCachedStyledAttributes(len); local 1112 TypedArray array = getCachedStyledAttributes(len); local 1237 TypedArray array = getCachedStyledAttributes(len); local [all...] |
/external/bluetooth/bluez/tools/ |
csr.c | 974 return "pmalloc sizes array"; 2646 uint8_t array[2] = { 0x00, 0x00 }; local 2658 uint8_t array[2] = { value & 0xff, value >> 8 }; local 2665 uint8_t array[4] = { 0x00, 0x00, 0x00, 0x00 }; local 2678 uint8_t array[4] = { (value & 0xff0000) >> 16, value >> 24, local 2748 uint8_t array[256]; local 2830 uint8_t array[256]; local [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
VectorTest.java | 86 Object array; local 89 array = vector.toArray(); 90 array = vector.toArray(); 91 array = vector.toArray(); 92 array = vector.toArray(); 93 array = vector.toArray(); 94 array = vector.toArray(); 95 array = vector.toArray(); 96 array = vector.toArray(); 97 array = vector.toArray() 159 Integer[] array; local [all...] |
/external/bluetooth/glib/tests/ |
hash-test.c | 45 int array[10000]; variable 54 array[i] = i; 55 g_hash_table_insert (hash_table, &array[i], &array[i]); 69 verify_result_array (int array[10000]) 74 g_assert (array[i] == i); 440 g_hash_table_remove (hash_table, &array[i]);
|
/external/skia/src/core/ |
SkGraphics.cpp | 54 int array[] = { 4, 3, 7, 5, 2, 5, 1, 2, 9, 6, 7, 4, 5, 3, 1, 0 }; local 55 int* ptr[SK_ARRAY_COUNT(array)]; 56 int i, N = SK_ARRAY_COUNT(array) - 1; 59 printf(" %d", array[i]); 63 ptr[i] = &array[i]; 69 sort_int(array, N); 71 printf(" %d", array[i]);
|
/system/extras/latencytop/ |
latencytop.c | 369 struct latency_entry *e, **array; local 381 array = calloc(count, sizeof(struct latency_entry *)); 382 if (!array) { 383 fprintf(stderr, "Error allocating array: %s\n", strerror(errno)); 387 array[i] = e; 391 qsort(array, count, sizeof(struct latency_entry *), &lat_cmp); 395 e = array[i]; 404 free(array);
|
/external/icu4c/i18n/ |
fmtable.cpp | 65 * Creates a new Formattable array and copies the values from the specified 67 * @param array the original array 68 * @param count the original array count 69 * @return the new Formattable array. 71 static inline Formattable* createArrayCopy(const Formattable* array, int32_t count) { 75 result[i] = array[i]; // Don't memcpy! 206 // Sets each element in the array one by one and records the array count. 518 // Sets the value to an array of Formattable objects 686 const Formattable* array; local [all...] |
csdetect.cpp | 30 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 33 #define DELETE_ARRAY(array) uprv_free((void *) (array))
|
/external/icu4c/test/intltest/ |
cpdtrtst.cpp | 248 UnicodeString *array=split(ID, 0x003b, count); local 252 if(child != *(array+i)){ 253 errln("Error getTransliterator() failed: Expected->" + *(array+i) + " Got->" + child); 255 logln("OK: getTransliterator() passed: Expected->" + *(array+i) + " Got->" + child); 258 delete []array; 262 array=split(ID2, 0x003b, count); 265 transarray[i]=Transliterator::createInstance(*(array+i), UTRANS_FORWARD, parseError, status); 267 errln("Error could not create Transliterator with ID :"+*(array+i)); 315 delete []array; 330 // make an array [all...] |
winnmtst.cpp | 47 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 49 #define DELETE_ARRAY(array) uprv_free((void *) (array))
|
/external/stlport/test/unit/ |
vector_test.cpp | 179 int array [] = { 1, 4, 9, 16 }; local 181 vector<int> v(array, array + 4); 193 int array [] = { 1, 4, 9, 16, 25, 36 }; local 195 vector<int> v(array, array + 6); 449 int array[] = { 1, 2, 3, 4, 5 }; local 451 v.assign( array, array + 5 );
|
/external/webkit/JavaScriptCore/runtime/ |
ArrayPrototype.cpp | 90 const ClassInfo ArrayPrototype::info = {"Array", &JSArray::info, 0, ExecState::arrayTable}; 134 // ------------------------------ Array Functions ---------------------------- 338 JSArray* array = asArray(thisValue); local 339 array->push(exec, *args.begin()); 340 return jsNumber(exec, array->length()); 401 // http://developer.netscape.com/docs/manuals/js/client/jsref/array.htm#1193713 or 15.4.4.10 405 // We return a new array 597 JSArray* array = asArray(thisObj); local 600 if (!array->canGetIndex(k)) 602 JSValue v = array->getIndex(k) 655 JSArray* array = asArray(thisObj); local 712 JSArray* array = asArray(thisObj); local 766 JSArray* array = asArray(thisObj); local 813 JSArray* array = asArray(thisObj); local [all...] |
/external/webkit/JavaScriptGlue/ |
JavaScriptGlue.cpp | 600 CFMutableArrayRef JSCreateCFArrayFromJSArray(CFArrayRef array) 602 CFIndex count = array ? CFArrayGetCount(array) : 0; 608 JSObjectRef jsValue = (JSObjectRef)CFArrayGetValueAtIndex(array, i); 623 CFMutableArrayRef JSCreateJSArrayFromCFArray(CFArrayRef array) 627 CFIndex count = array ? CFArrayGetCount(array) : 0; 635 for (i = 0; array && i < count; i++) 637 CFTypeRef cfValue = (CFTypeRef)CFArrayGetValueAtIndex(array, i);
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLServerSocketImpl.java | 126 * @return an array of protocols names 142 * @return an array of protocols names 146 ArrayList<String> array = new ArrayList<String>(); local 149 array.add(supportedProtocols[0]); 152 array.add(supportedProtocols[1]); 154 return array.toArray(new String[array.size()]); 166 * array are not supported, or when the array is null. 209 * @throws IllegalArgumentException when one or more of the ciphers in array [all...] |
/external/bluetooth/glib/gio/tests/ |
sleepy-stream.c | 60 gchar **array; local 64 array = g_new (char *, pieces + 1); 65 array[pieces] = NULL; 68 array[pieces] = cook_piece (); 70 return array;
|
/external/icu4c/common/ |
unistr_cnv.cpp | 381 UChar *array, *myTarget; local 402 array = getArrayStart(); 403 myTarget = array + length(); 404 ucnv_toUnicode(converter, &myTarget, array + getCapacity(), 408 setLength((int32_t)(myTarget - array));
|
/external/skia/src/animator/ |
SkAnimateBase.cpp | 174 void SkAnimateBase::packARGB(SkScalar array[], int count, SkTDOperandArray* converted) 178 SkColor color = SkColorSetARGB(SkScalarRound(array[0]), SkScalarRound(array[1]), 179 SkScalarRound(array[2]), SkScalarRound(array[3]));
|
/frameworks/base/include/utils/ |
SortedVector.h | 70 * C-style array access 74 inline const TYPE* array() const; 76 //! read-write C-style access. BE VERY CAREFUL when modifying the array 101 * modifing the array 172 const TYPE* SortedVector<TYPE>::array() const { function in class:android::SortedVector 185 return *(array() + index); 196 return *(array() + ((index<0) ? (size()-index) : index)); 201 return *(array() + size() - 1);
|