Searched refs:val (Results 1 - 25 of 69) sorted by relevance

123

/system/core/nexus/
H A DSupplicantState.cpp24 char *SupplicantState::toString(int val, char *buffer, int max) { argument
25 if (val == SupplicantState::UNKNOWN)
27 else if (val == SupplicantState::DISCONNECTED)
29 else if (val == SupplicantState::INACTIVE)
31 else if (val == SupplicantState::SCANNING)
33 else if (val == SupplicantState::ASSOCIATING)
35 else if (val == SupplicantState::ASSOCIATED)
37 else if (val == SupplicantState::FOURWAY_HANDSHAKE)
39 else if (val == SupplicantState::GROUP_HANDSHAKE)
41 else if (val
[all...]
H A DDhcpEvent.cpp24 char *DhcpEvent::toString(int val, char *buffer, int max) { argument
25 if (val == DhcpEvent::UNKNOWN)
27 else if (val == DhcpEvent::STOP)
29 else if (val == DhcpEvent::RENEW)
31 else if (val == DhcpEvent::RELEASE)
33 else if (val == DhcpEvent::TIMEOUT)
H A DDhcpState.cpp24 char *DhcpState::toString(int val, char *buffer, int max) { argument
25 if (val == DhcpState::INIT)
27 else if (val == DhcpState::DISCOVERING)
29 else if (val == DhcpState::REQUESTING)
31 else if (val == DhcpState::BOUND)
33 else if (val == DhcpState::RENEWING)
35 else if (val == DhcpState::REBINDING)
37 else if (val == DhcpState::REBOOT)
39 else if (val == DhcpState::RENEW_REQUESTED)
41 else if (val
[all...]
H A DDhcpEvent.h28 static char *toString(int val, char *buffer, int max);
H A DSupplicantState.h33 static char *toString(int val, char *buffer, int max);
H A DDhcpState.h34 static char *toString(int val, char *buffer, int max);
/system/core/sh/
H A Doptions.h51 char val; /* value of <letter>flag */ member in struct:optent
65 #define eflag optlist[0].val
67 #define fflag optlist[1].val
69 #define Iflag optlist[2].val
71 #define iflag optlist[3].val
73 #define mflag optlist[4].val
75 #define nflag optlist[5].val
77 #define sflag optlist[6].val
79 #define xflag optlist[7].val
81 #define vflag optlist[8].val
[all...]
H A Dalias.h42 char *val; member in struct:alias
H A Dalias.c65 setalias(char *name, char *val) argument
73 ckfree(ap->val);
74 ap->val = savestr(val);
101 ap->val = savestr(val);
104 int len = strlen(val);
105 ap->val = ckmalloc(len + 2);
106 memcpy(ap->val, val, le
[all...]
H A Dsyntax.c13 #define set(ch, val) [ndx(ch)] = val,
14 #define set_range(s, e, val) [ndx(s) ... ndx(e)] = val,
H A Dmiscbltin.c342 rlim_t val = 0; local
378 val = RLIM_INFINITY;
380 val = (rlim_t) 0;
384 val = (val * 10) + (long)(c - '0');
385 if ((long)val < 0)
390 val *= l->factor;
397 val = limit.rlim_cur;
399 val = limit.rlim_max;
402 if (val
[all...]
H A Doptions.c95 optlist[i].val = 2;
104 if (optlist[i].val == 2)
105 optlist[i].val = 0;
156 int val; local
164 val = 1;
177 val = 0;
187 minus_o(*argptr, val);
191 setoption(c, val);
198 set_opt_val(int i, int val) argument
203 if (val
217 minus_o(char *name, int val) argument
238 setoption(int flag, int val) argument
[all...]
H A Derror.h116 #define longjmp(jmploc, val) _longjmp(jmploc, val)
/system/extras/tests/bionic/libc/other/
H A Dtest_aligned.c7 read4( int o, unsigned val )
9 unsigned v = htonl(val);
17 printf( "read4: offset=%d value=%08x: ", o, val );
22 if (v2 != val) {
30 writ4( int o, unsigned val )
32 unsigned v = htonl(val);
35 printf( "writ4: offset=%d value=%08x: ", o, val );
45 if (v2 != val) {
53 read2( int o, unsigned val )
55 unsigned short v = htons(val);
[all...]
/system/core/adb/
H A Dshlist.h14 typedef int (*shListPrint)( void *val );
15 typedef void (*shListFree)( void *val );
16 typedef int (*shListEqual)( void *val, void *idata );
19 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func );
26 void shListInsFirstItem( SHLIST *head, void *val );
27 void shListInsBeforeItem( SHLIST *head, void *val, void *etalon,
29 void shListInsLastItem( SHLIST *head, void *val );
H A Dshlist.c17 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func ) argument
23 if( func( val, item->data ) ) {
28 if( item->data == val ) {
94 void shListInsFirstItem( SHLIST *head, void *val )
101 item->data = val;
112 void shListInsLastItem( SHLIST *head, void *val )
119 item->data = val;
130 void shListInsBeforeItem( SHLIST *head, void *val, void *etal, argument
136 shListInsFirstItem( head, val );
141 item->data = val;
[all...]
/system/wlan/ti/lib/
H A Dshlist.h14 typedef int (*shListPrint)( void *val );
15 typedef void (*shListFree)( void *val );
16 typedef int (*shListEqual)( void *val, void *idata );
19 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func );
26 void shListInsFirstItem( SHLIST *head, void *val );
27 void shListInsBeforeItem( SHLIST *head, void *val, void *etalon,
29 void shListInsLastItem( SHLIST *head, void *val );
H A Dshlist.c17 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func ) argument
23 if( func( val, item->data ) ) {
28 if( item->data == val ) {
94 void shListInsFirstItem( SHLIST *head, void *val )
101 item->data = val;
112 void shListInsLastItem( SHLIST *head, void *val )
119 item->data = val;
130 void shListInsBeforeItem( SHLIST *head, void *val, void *etal, argument
136 shListInsFirstItem( head, val );
141 item->data = val;
[all...]
/system/extras/tests/sdcard/
H A Dtestcase.h61 void setNproc(size_t val) { mNproc = val; } argument
64 void setDataSize(size_t val) { mDataSize = val; } argument
67 void setChunkSize(size_t val) { mChunkSize = val; } argument
70 void setNewFairSleepers(bool val) { argument
71 mNewFairSleepers = val;
72 android::setNewFairSleepers(val);
76 void setNormalizedSleepers(bool val) { argument
[all...]
/system/core/debuggerd/
H A Dutility.c45 int val; local
48 val = ptrace(PTRACE_PEEKTEXT, pid, src+i, NULL);
50 ((unsigned char *)dst)[i] = val & 0xff;
52 val >>= 8;
/system/core/include/cutils/
H A Dsockets.h49 const char *val; local
64 val = getenv(key);
65 if (!val)
69 fd = strtol(val, NULL, 10);
/system/wlan/ti/wilink_6_1/utils/
H A Dtidef.h275 #define SET_WLAN_WORD(dst,val) ((TI_UINT8 *)(dst))[1] = (val) & 0xff; \
276 ((TI_UINT8 *)(dst))[0] = ((val) >> 8) & 0xff
278 #define SET_WLAN_LONG(dst,val) ((TI_UINT8 *)(dst))[3] = (val) & 0xff; \
279 ((TI_UINT8 *)(dst))[2] = ((val) >> 8) & 0xff; \
280 ((TI_UINT8 *)(dst))[1] = ((val) >> 16) & 0xff; \
281 ((TI_UINT8 *)(dst))[0] = ((val) >> 24) & 0xff
347 * \brief Macro which copies Word from val source to desrination in Little Endian
349 #define SET_WLAN_WORD(dst,val) ((TI_UINT
[all...]
/system/core/libacc/tests/data/
H A Dbrackets.c27 int val = ar2D[x][y]; local
28 if (val != expected) {
29 printf("error: [%d][%d] %d != %d\n", x, y, val, expected);
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dbluetooth.h55 #define bt_put_unaligned(val, ptr) do { struct __attribute__((packed)) { typeof(*(ptr)) __v; } *__p = (void *) (ptr); __p->__v = (val); } while(0)
/system/core/mkbootimg/
H A Dmkbootimg.c127 char *val = argv[1]; local
134 bootimg = val;
136 kernel_fn = val;
138 ramdisk_fn = val;
140 second_fn = val;
142 cmdline = val;
144 unsigned base = strtoul(val, 0, 16);
150 board = val;

Completed in 1951 milliseconds

123