Searched defs:array (Results 1 - 25 of 1079) sorted by last modified time

1234567891011>>

/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/zopfli/src/zopfli/
H A Dhash.c91 void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end, argument
99 array[pos + ZOPFLI_MIN_MATCH - 1] : 0);
113 array[pos] == array[pos + amount + 1] && amount < (unsigned short)(-1)) {
130 void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end, argument
133 UpdateHashValue(h, array[pos + 0]);
134 UpdateHashValue(h, array[pos + 1]);
H A Dlz77.c125 /* 8 checks at once per array bounds check (size_t is 64-bit). */
131 /* 4 checks at once per array bounds check (unsigned int is 32-bit). */
138 /* do 8 checks at once per array bounds check. */
166 beginning of the whole array. */
211 beginning of the whole array. */
230 const unsigned char* array,
273 arrayend = &array[pos] + limit;
296 scan = &array[pos];
297 match = &array[pos - dist];
314 currentlength = scan - &array[po
229 ZopfliFindLongestMatch(ZopfliBlockState* s, const ZopfliHash* h, const unsigned char* array, size_t pos, size_t size, size_t limit, unsigned short* sublen, unsigned short* distance, unsigned short* length) argument
[all...]
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp533 convert tree1d[] to tree2d[][]. In the 2D array, a value of 32767 means
1293 /*search the index in the array, that has the largest value smaller than or equal to the given value,
1294 given array must be sorted (if no value is smaller, it returns the size of the given array)*/
1295 static size_t searchCodeIndex(const unsigned* array, size_t array_size, size_t value) argument
1298 /*for(size_t i = 1; i < array_size; i++) if(array[i] > value) return i - 1;
1307 if(array[mid] <= value) left = mid + 1; /*the value to find is more to the right*/
1308 else if(array[mid - 1] > value) right = mid - 1; /*the value to find is more to the left*/
2153 /*ucvector-controlled version of the output buffer, for dynamic array*/
2896 /*index: bitgroup index, bits: bitgroup size(1, 2 or 4), in: bitgroup value, out: octet array t
[all...]
/external/webrtc/src/modules/audio_processing/test/
H A Dunit_test.cc219 unsigned char* array = new unsigned char[size]; local
220 ASSERT_TRUE(message.SerializeToArray(array, size));
224 fwrite(array, sizeof(unsigned char), size, file));
226 delete [] array;
239 unsigned char* array = new unsigned char[size]; local
241 fread(array, sizeof(unsigned char), size, file));
243 ASSERT_TRUE(message->ParseFromArray(array, size));
245 delete [] array;
/external/webrtc/src/system_wrappers/interface/
H A Ddata_log.h92 // Inserts an array of values into a table with name table_name at the
102 const T* array,
110 new MultiValueContainer<T>(array, length));
100 InsertCell(const std::string& table_name, const std::string& column_name, const T* array, int length) argument
/external/webrtc/src/system_wrappers/source/
H A Dcpu_mac.cc70 WebRtc_UWord32* array = NULL; local
71 return CpuUsageMultiCore(numCores, array);
76 WebRtc_UWord32*& array)
96 array = _cpuUsage;
75 CpuUsageMultiCore(WebRtc_UWord32& numCores, WebRtc_UWord32*& array) argument
/external/wpa_supplicant_8/hostapd/
H A Dconfig_file.c1190 static int parse_lang_string(struct hostapd_lang_string **array, argument
1217 ls = os_realloc_array(*array, *count + 1,
1222 *array = ls;
1223 ls = &(*array)[*count];
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_methods.c117 * eap_get_names_as_string_array - Get supported EAP methods as string array
118 * @num: Buffer for returning the number of items in array, not including %NULL
120 * Returns: A %NULL-terminated array of strings, or %NULL on error.
123 * array of strings. The caller must free the returned array items and the
124 * array.
130 char **array; local
136 array = os_zalloc(sizeof(char *) * (array_len + 1));
137 if (array == NULL)
141 array[
[all...]
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_methods.c117 * eap_get_names_as_string_array - Get supported EAP methods as string array
118 * @num: Buffer for returning the number of items in array, not including %NULL
120 * Returns: A %NULL-terminated array of strings, or %NULL on error.
123 * array of strings. The caller must free the returned array items and the
124 * array.
130 char **array; local
136 array = os_zalloc(sizeof(char *) * (array_len + 1));
137 if (array == NULL)
141 array[
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dbgscan_learn.c52 static int bssid_in_array(u8 *array, size_t array_len, const u8 *bssid) argument
56 if (array == NULL || array_len == 0)
60 if (os_memcmp(array + i * ETH_ALEN, bssid, ETH_ALEN) == 0)
195 static int in_array(int *array, int val) argument
199 if (array == NULL)
202 for (i = 0; array[i]; i++) {
203 if (array[i] == val)
H A Dsme.c45 static int index_within_array(const int *array, int idx) argument
49 if (array[i] <= 0)
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_new_handlers.c368 * wpas_dbus_simple_array_property_getter - Get array type property
370 * @type: DBus type of property array elements (must be basic type)
371 * @array: pointer to array of elements to put into response message
372 * @array_len: length of above array
376 * Generic getter for array type properties. Array elements type is
381 const void *array,
445 array + i * element_size)) {
470 * wpas_dbus_simple_array_array_property_getter - Get array array typ
379 wpas_dbus_simple_array_property_getter(DBusMessageIter *iter, const int type, const void *array, size_t array_len, DBusError *error) argument
481 wpas_dbus_simple_array_array_property_getter(DBusMessageIter *iter, const int type, struct wpabuf **array, size_t array_len, DBusError *error) argument
[all...]
H A Ddbus_new_handlers_p2p.c1636 * wpas_dbus_getter_persistent_groups - Get array of persistent group objects
2623 DBusMessageIter variant, array; local
2635 dbus_message_iter_recurse(&variant, &array);
2636 dbus_message_iter_get_fixed_array(&array, &data, &len);
H A Ddbus_old_handlers.c344 * Returns: a dbus message containing a dbus array of objects paths, or returns
534 /* free returned method array */
1350 message, "Byte array expected.");
1357 message, "Invalid array size.");
1415 DBusMessageIter iter, array; local
1424 dbus_message_iter_recurse(&iter, &array);
1425 while (dbus_message_iter_get_arg_type(&array) == DBUS_TYPE_STRING) {
1428 dbus_message_iter_get_basic(&array, &name);
1436 dbus_message_iter_next(&array);
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_methods.c117 * eap_get_names_as_string_array - Get supported EAP methods as string array
118 * @num: Buffer for returning the number of items in array, not including %NULL
120 * Returns: A %NULL-terminated array of strings, or %NULL on error.
123 * array of strings. The caller must free the returned array items and the
124 * array.
130 char **array; local
136 array = os_zalloc(sizeof(char *) * (array_len + 1));
137 if (array == NULL)
141 array[
[all...]
/external/vixl/test/examples/
H A Dtest-examples.cc64 uint32_t SumArrayC(uint8_t* array, uint32_t size) { argument
68 result += array[i];
/external/webp/src/enc/
H A Dhistogram.c182 static double BitsEntropy(const uint32_t* const array, int n) { argument
189 if (array[i] != 0) {
190 sum += array[i];
192 retval -= VP8LFastSLog2(array[i]);
193 if (max_val < array[i]) {
194 max_val = array[i];
/external/valgrind/main/callgrind/
H A Ddump.c81 /* Boolean dumping array */
1200 * Put all BBCCs with costs into a sorted array.
1207 BBCC **array; local
1224 /* allocate bbcc array, insert BBCCs and sort */
1225 prepare_ptr = array =
1236 CLG_ASSERT(array + prepare_count == prepare_ptr);
1243 qsort_start = array;
1244 qsort(array, prepare_count, my_cmp);
1248 return array;
1511 BBCC **p, **array; local
[all...]
H A Dglobal.h294 UInt instr; /* instruction index for BB.instr array */
333 CJmpInfo* jmp; /* array of info for condition jumps,
361 UInt base_number; // for context compression & dump array
390 * stored in a contiguous array.
399 BBCC** rec_array; /* Variable sized array of pointers to
567 UInt* array; member in struct:_fn_array
827 /* Function active counter array, indexed by function number */
/external/valgrind/main/coregrind/
H A Dm_mallocfree.c70 // Each arena has a sorted array of superblocks, which expands
210 // A dynamically expanding, ordered array of (pointers to)
211 // superblocks in the arena. If this array is expanded, which
214 // the first incarnation of this array, the first allocation of
225 // are not stored in sblocks array above.
1198 // Check the superblock array.
1207 VG_(printf)("sanity_check_malloc_arena: sblock array BAD\n");
1622 // One possibility is an array (with N_MALLOC_LISTS elements) of
1626 // shortcut array every time a list [i] changes from empty to nonempty or
1669 Superblock ** array; local
[all...]
/external/valgrind/main/drd/tests/
H A Dannotate_barrier.c45 int* array; member in struct:threadinfo
102 * Single thread, which touches p->iterations elements of array p->array.
103 * Each modification of an element of p->array is a data race.
108 int* const array = p->array; local
117 p->thread_num, i + 1, &array[i]);
118 array[i] = i;
131 int* array; local
134 array
[all...]
H A Dcustom_alloc.c67 int* array; local
70 array = custom_alloc(sizeof(int) * 10);
71 array[8] = 8;
72 array[9] = 8;
73 array[10] = 10; // invalid write (ok w/o MALLOCLIKE -- in superblock)
75 custom_free(array); // ok
83 return array[0]; // use after free (ok without MALLOCLIKE)
H A Dpth_barrier.c29 int8_t* array; member in struct:threadinfo
45 /** Single thread, which touches p->iterations elements of array p->array.
46 * Each modification of an element of p->array is a data race. */
50 int8_t* const array = p->array; local
59 pthread_self(), i + 1, &array[i]);
60 array[i] = i;
73 int8_t* array; local
76 array
[all...]
H A Dtsan_unittest.cpp277 // An array of threads. Create/start/join all elements at once. {{{1
4726 int array[ARRAY_SIZE]; member in namespace:test97
4727 int * GLOB = &array[ARRAY_SIZE/2];
4729 We use sizeof(array) == 4 * HG_CACHELINE_SIZE to be sure that GLOB points
4730 to a memory inside a CacheLineZ which is inside array's memory range
4950 int array[ARRAY_SIZE + 1]; member in namespace:test102
4951 int * GLOB = &array[ARRAY_SIZE/2];
4953 We use sizeof(array) == 4 * HG_CACHELINE_SIZE to be sure that GLOB points
4954 to a memory inside a CacheLineZ which is inside array's memory range
5967 // are reading from the entire array a
6603 int array[N+1]; member in namespace:test142
7452 int array[ARRAY_SIZE]; member in namespace:test504
7495 int64_t array[ARRAY_SIZE]; member in namespace:test505
7765 int array[N_THREADS][ARRAY_SIZE]; member in namespace:test513
[all...]

Completed in 485 milliseconds

1234567891011>>