Searched refs:table (Results 1 - 20 of 20) sorted by relevance

/hardware/intel/img/libdrm/libdrm/
H A Dxf86drmHash.c1 /* xf86drmHash.c -- Small hash table support for integer -> integer mapping
31 * hash table using self-organizing linked lists [Knuth73, pp. 398-399] for
35 * 1) The table is power-of-two sized. Prime sized tables are more
37 * sized table, especially when double hashing is not used for collision
40 * 2) The hash computation uses a table of random integers [Hanson97,
45 * With a table size of 512, the current implementation is sufficient for a
49 * naive) approach to dynamic hash table implementation simply creates a
50 * new hash table when necessary, rehashes all the data into the new table,
51 * and destroys the old table
159 HashTablePtr table; local
176 HashTablePtr table = (HashTablePtr)t; local
197 HashFind(HashTablePtr table, unsigned long key, unsigned long *h) argument
227 HashTablePtr table = (HashTablePtr)t; local
240 HashTablePtr table = (HashTablePtr)t; local
262 HashTablePtr table = (HashTablePtr)t; local
279 HashTablePtr table = (HashTablePtr)t; local
296 HashTablePtr table = (HashTablePtr)t; local
329 compute_dist(HashTablePtr table) argument
347 check_table(HashTablePtr table, unsigned long key, unsigned long value) argument
377 HashTablePtr table; local
[all...]
/hardware/qcom/gps/msm8960/utils/
H A Dloc_log.h55 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask);
56 const char* loc_get_name_from_val(loc_name_val_s_type table[], int table_size, long value);
H A Dloc_log.cpp59 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask) argument
64 if (table[i].val & (long) mask)
66 return table[i].name;
73 const char* loc_get_name_from_val(loc_name_val_s_type table[], int table_size, long value) argument
78 if (table[i].val == (long) value)
80 return table[i].name;
/hardware/qcom/gps/utils/
H A Dloc_log.h55 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask);
56 const char* loc_get_name_from_val(loc_name_val_s_type table[], int table_size, long value);
H A Dloc_log.cpp59 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask) argument
64 if (table[i].val & (long) mask)
66 return table[i].name;
73 const char* loc_get_name_from_val(loc_name_val_s_type table[], int table_size, long value) argument
78 if (table[i].val == (long) value)
80 return table[i].name;
/hardware/ti/omap4-aah/camera/
H A DEncoder_libjpeg.cpp328 create_EXIF(table, exif_tag_count, gps_tag_count, has_datetime_tag);
330 create_EXIF(table, exif_tag_count, gps_tag_count);
359 if (table[i].Value) {
360 free(table[i].Value);
389 table[position].GpsTag = TRUE;
390 table[position].Tag = GpsTagNameToValue(tag);
393 table[position].GpsTag = FALSE;
394 table[position].Tag = TagNameToValue(tag);
409 table[position].DataLength = 0;
410 table[positio
[all...]
/hardware/ti/omap4xxx/camera/
H A DEncoder_libjpeg.cpp270 create_EXIF(table, exif_tag_count, gps_tag_count, has_datetime_tag);
298 if (table[i].Value) {
299 free(table[i].Value);
328 table[position].GpsTag = TRUE;
329 table[position].Tag = GpsTagNameToValue(tag);
332 table[position].GpsTag = FALSE;
333 table[position].Tag = TagNameToValue(tag);
341 table[position].DataLength = 0;
342 table[position].Value = (char*) malloc(sizeof(char) * (value_length + 1));
344 if (table[positio
[all...]
/hardware/intel/bootstub/
H A Dbootstub.spec37 - build e820 table (by Feng.Tang@intel.com)
H A Dbootparam.h76 __u8 table[14]; member in struct:sys_desc_table
/hardware/intel/common/libva/test/decode/
H A Dtinyjpeg.c213 error("16 bits quantization table is not supported\n");
215 error("No more 4 quantization table is supported (got %d)\n", qi);
258 error("Bad Quantization table index (got %d, max allowed %d)\n", Q_table, COMPONENTS-1);
262 trace("Component:%d factor:%dx%d Quantization table:%d\n",
276 unsigned int i, cid, table; local
286 table = *stream++;
288 priv->cur_sos.components[i].dc_selector = ((table>>4)&0x0F);
289 priv->cur_sos.components[i].ac_selector = (table&0x0F);
291 if ((table&0xf)>=4)
292 error("We do not support more than 2 AC Huffman table\
[all...]
/hardware/ti/omap4-aah/camera/inc/
H A DEncoder_libjpeg.h114 ExifElement_t table[MAX_EXIF_TAGS_SUPPORTED]; member in class:Ti::Camera::ExifElementsTable
/hardware/ti/omap4xxx/camera/inc/
H A DEncoder_libjpeg.h100 ExifElement_t table[MAX_EXIF_TAGS_SUPPORTED]; member in class:android::ExifElementsTable
/hardware/intel/common/omx-components/videocodec/
H A DOMXVideoEncoderAVC.cpp51 #define FIND_BYKEY(table, x, y) {\
53 if (table[ii].key == x || table[ii].key == 0) { \
60 #define FIND_BYVALUE(table, x, y) {\
62 if (table[ii].value == x || table[ii].value == 0) { \
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/neon/
H A Dfastquantizeb_neon.asm101 adr r0, inv_zig_zag ; load ptr of inverse zigzag table
184 adr r0, inv_zig_zag ; load ptr of inverse zigzag table
249 ; default inverse zigzag table is defined in vp8/common/entropy.c
/hardware/qcom/audio/hal/msm8974/
H A Dplatform.c848 static int find_index(const struct name_to_index * table, int32_t len, argument
854 if (table == NULL) {
855 ALOGE("%s: table is NULL", __func__);
867 if (!strcmp(table[i].name, name)) {
868 ret = table[i].index;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
H A Dsubpixel_ssse3.asm48 movsxd rdx, DWORD PTR arg(5) ;table index
191 movsxd rdx, DWORD PTR arg(5) ;table index
298 movsxd rdx, DWORD PTR arg(5) ;table index
428 movsxd rdx, DWORD PTR arg(5) ;table index
616 movsxd rdx, DWORD PTR arg(5) ;table index
755 movsxd rdx, DWORD PTR arg(5) ;table index
/hardware/libhardware_legacy/include/hardware_legacy/
H A DAudioPolicyManagerBase.h510 static uint32_t stringToEnum(const struct StringToEnum *table,
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dbcmutils.h433 extern const bcm_iovar_t *bcm_iovar_lookup(const bcm_iovar_t *table, const char *name);
434 extern int bcm_iovar_lencheck(const bcm_iovar_t *table, void *arg, int len, bool set);
485 * please update errorstring table with the related error string and
/hardware/broadcom/wlan/bcmdhd/dhdutil/
H A Dbcmutils.c892 /* Set bits in delimiter table */
1206 /* iovar table lookup */
1208 bcm_iovar_lookup(const bcm_iovar_t *table, const char *name) argument
1220 ASSERT(table != NULL);
1222 for (vi = table; vi->name; vi++) {
1226 /* ran to end of table */
1898 /* Smallest mW value that will round up to the first table entry, QDBM_OFFSET.
1903 /* Largest mW value that will round down to the last table entry,
1929 /* scale the qdBm index up to the range of the table 0-40
1957 /* move mw into the range of the table */
[all...]
/hardware/libhardware_legacy/audio/
H A DAudioPolicyManagerBase.cpp3064 // linear interpolation in the attenuation table in dB
3967 uint32_t AudioPolicyManagerBase::stringToEnum(const struct StringToEnum *table, argument
3972 if (strcmp(table[i].name, name) == 0) {
3973 ALOGV("stringToEnum() found %s", table[i].name);
3974 return table[i].value;

Completed in 534 milliseconds