/device/samsung/crespo/alsa-utils/alsactl/ |
init_parse.c | 338 /* Function to convert from percentage to volume. val = percentage */ 339 #define convert_prange1(val, min, max) \ 340 ceil((val) * ((max) - (min)) * 0.01 + (min)) 348 int val; local 360 val = strncasecmp(value, "true", 4) == 0 || 364 snd_ctl_elem_value_set_boolean(space->ctl_value, idx, val); 381 val = convert_prange1(strtol(value, NULL, 0), snd_ctl_elem_info_get_min(space->ctl_info), snd_ctl_elem_info_get_max(space->ctl_info)); 382 snd_ctl_elem_value_set_integer(space->ctl_value, idx, val); 384 val = strtol(value, NULL, 0) * 100; 387 if (val < 0 491 long long val; local 662 unsigned int val; local [all...] |
/device/samsung/crespo/alsa-utils/amixer/ |
amixer.c | 164 #define check_range(val, min, max) \ 165 (no_check ? (val) : ((val < min) ? (min) : (val > max) ? (max) : (val))) 167 static int convert_range(int val, int omin, int omax, int nmin, int nmax) 173 return rint((((double)nrange * ((double)val - (double)omin)) + ((double)orange / 2.0)) / ((double)orange + (double)nmin)); 178 static int convert_db_range(int val, int omin, int omax, int nmin, int nmax) 184 return rint((((double)nrange * ((double)val - (double)omin)) + ((double)orange / 2.0)) / (double)orange + (double)nmin); 188 /* Fuction to convert from volume to percentage. val = volume * 232 long val = min; local 260 long long val = min; local 338 long val, orig, pmin, pmax; local [all...] |
/external/bluetooth/bluez/lib/ |
hci.c | 54 unsigned int val; member in struct:__anon1929 57 static char *hci_bit2str(hci_map *m, unsigned int val) 67 if ((unsigned int) m->val & val) 74 static int hci_str2bit(hci_map *map, char *str, unsigned int *val) 83 *val = set = 0; 88 *val |= (unsigned int) m->val; 98 static char *hci_uint2str(hci_map *m, unsigned int val) 108 if ((unsigned int) m->val == val) [all...] |
/external/bluetooth/bluez/tools/ |
hciconfig.c | 1111 uint16_t val = btohs(bt_get_unaligned((uint16_t *) (ptr + (i * 2)))); local 1112 printf(" 0x%4.4x", val); [all...] |
/external/bluetooth/glib/gio/ |
gfileinfo.c | 634 GFileAttributeValue *val; local 639 val = g_file_info_find_value_by_name (info, attribute); 640 if (val) 641 return val->status; 674 GFileAttributeValue *val; local 675 val = _g_file_info_get_attribute_value (info, attribute); 676 if (val) 677 return _g_file_attribute_value_as_string (val); [all...] |
glocalfileinfo.c | 1821 guint32 val; local 1848 guint32 val; local 1897 const char *val; local 1984 guint64 val; local 2066 const char *val; local [all...] |
/external/bluetooth/glib/glib/ |
gmessages.c | 140 const gchar *val; local 143 val = g_getenv ("G_MESSAGES_PREFIXED"); 145 if (val) 156 g_log_msg_prefix = g_parse_debug_string (val, keys, G_N_ELEMENTS (keys)); 1088 const gchar *val; local 1092 val = g_getenv ("G_DEBUG"); 1093 if (val != NULL) 1100 _g_debug_flags = g_parse_debug_string (val, keys, G_N_ELEMENTS (keys));
|
gstrfuncs.c | 419 gdouble val; local 518 val = strtod (copy, &fail_pos); 541 val = strtod (copy, &fail_pos); 555 val = strtod (nptr, &fail_pos); 564 return val; [all...] |
/external/bluetooth/hcidump/parser/ |
lmp.c | 106 uint8_t *val = frm->ptr; local 108 memcpy(pairing_data.in_rand, val, 16); 114 uint8_t *val = frm->ptr; local 118 memcpy(pairing_data.comb_key_m, val, 16); 122 memcpy(pairing_data.comb_key_s, val, 16); 133 uint8_t *val = frm->ptr; local 137 memcpy(pairing_data.au_rand_m, val, 16); 141 memcpy(pairing_data.au_rand_s, val, 16); 152 uint8_t *val = frm->ptr; local 156 memcpy(pairing_data.sres_m, val, 4) 598 uint8_t val = LMP_U8(frm); local [all...] |
rfcomm.h | 52 #define swap_long_frame(x) ((x)->h.length.val = le16_to_cpu((x)->h.length.val)) 222 uint16_t val ; member in union:long_length 368 uint16_t val; member in union:long_length
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
X509Name.java | 795 String val = elems.getValue(i); local 797 if (val.length() > 2 && val.charAt(0) == '\\' && val.charAt(1) == '#') 799 v.addElement(val.substring(1)); 803 v.addElement(val); [all...] |
/external/chromium/third_party/icu/source/test/cintltst/ |
cnumtst.c | 787 /* name loc src start val end status */ 1152 double val = unum_getDoubleAttribute(fmt, UNUM_LENIENT_PARSE); local [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
intltest.cpp | 1672 const char* val = NULL; local [all...] |
/external/chromium/third_party/icu/source/test/perf/collationperf/ |
collperf.cpp | 89 unsigned long val = t.tv_sec * 1000; // Let it overflow. Who cares. local 90 val += t.tv_usec / 1000; 91 return val; [all...] |
/external/clearsilver/util/ |
neo_hdf.c | 339 char *val; local 343 val = hdf_get_valuevf(hdf, namefmt, ap); 345 return val; [all...] |
/external/dbus/bus/ |
connection.c | 112 void *val; local 115 /* val is NULL is 0 when it isn't in the hash yet */ 117 val = _dbus_hash_table_lookup_ulong (connections->completed_by_user, 120 current_count = _DBUS_POINTER_TO_INT (val); [all...] |
/external/dbus/dbus/ |
dbus-marshal-recursive.c | 2567 DBusBasicValue val; local [all...] |
dbus-string.c | 2469 unsigned int val; local [all...] |
dbus-sysdeps-unix.c | 526 int val = on ? 1 : 0; local 527 if (setsockopt (fd, 0, LOCAL_CREDS, &val, sizeof (val)) < 0) 2154 int val; local 2204 int val; local [all...] |
/external/e2fsprogs/e2fsck/ |
dict.c | 1291 char *tok1, *tok2, *val; local 1296 "a <key> <val> add new entry\n"; 1327 val = dupstring(tok2); 1328 dn = dnode_create(val); 1330 if (!key || !val || !dn) { 1333 free(val); 1357 char *tok1, *tok2, *val; local 1361 "a <key> <val> add value to dictionary\n" [all...] |
/external/e2fsprogs/lib/blkid/ |
probe.c | 607 unsigned char *buf_mft, *val; local 684 val = ((__u8 *) attr) + val_off + i; 685 *cp = val[0]; 686 if (val[1]) [all...] |
/external/e2fsprogs/misc/ |
mke2fs.c | 327 static void progress_update(struct progress_struct *progress, __u32 val) 331 printf(progress->format, val, progress->max); 1577 int val; local [all...] |
/external/freetype/src/psaux/ |
afmparse.c | 382 AFM_Value val = vals + i; local 385 if ( val->type == AFM_VALUE_TYPE_STRING ) 395 switch ( val->type ) 404 if ( !FT_QALLOC( val->u.s, len + 1 ) ) 406 ft_memcpy( val->u.s, str, len ); 407 val->u.s[len] = '\0'; 413 val->u.f = PS_Conv_ToFixed( (FT_Byte**)(void*)&str, 418 val->u.i = PS_Conv_ToInt( (FT_Byte**)(void*)&str, 423 val->u.b = FT_BOOL( len == 4 && 429 val->u.i = parser->get_index( str, len, parser->user_data ) 566 AFM_ValueRec val; local [all...] |
/external/freetype/src/pshinter/ |
pshalgo.c | 149 FT_Int mask = 0, val = 0; local 160 val = *cursor++; 164 if ( val & mask ) 250 FT_Int mask = 0, val = 0; local 264 val = *cursor++; 268 if ( val & mask ) [all...] |
/external/grub/netboot/ |
eepro100.c | 279 int val, boguscnt = 64*4; /* <64 usec. to complete, typ 27 ticks */ local 286 val = inl(ioaddr + SCBCtrlMDI); 288 printf(" mdio_write() timed out with val = %X.\n", val); 290 } while (! (val & 0x10000000)); 291 return val & 0xffff; 301 int val, boguscnt = 64*4; /* <64 usec. to complete, typ 27 ticks */ local 306 val = inl(ioaddr + SCBCtrlMDI); 308 printf( " mdio_read() timed out with val = %X.\n", val); [all...] |