/system/core/nexus/ |
H A D | SupplicantState.cpp | 24 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 D | DhcpEvent.cpp | 24 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 D | DhcpState.cpp | 24 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 D | DhcpEvent.h | 28 static char *toString(int val, char *buffer, int max);
|
H A D | SupplicantState.h | 33 static char *toString(int val, char *buffer, int max);
|
H A D | DhcpState.h | 34 static char *toString(int val, char *buffer, int max);
|
/system/core/sh/ |
H A D | options.h | 51 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 D | alias.h | 42 char *val; member in struct:alias
|
H A D | alias.c | 65 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 D | syntax.c | 13 #define set(ch, val) [ndx(ch)] = val, 14 #define set_range(s, e, val) [ndx(s) ... ndx(e)] = val,
|
H A D | miscbltin.c | 342 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 D | options.c | 95 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 D | error.h | 116 #define longjmp(jmploc, val) _longjmp(jmploc, val)
|
/system/extras/tests/bionic/libc/other/ |
H A D | test_aligned.c | 7 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 D | shlist.h | 14 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 D | shlist.c | 17 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 D | shlist.h | 14 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 D | shlist.c | 17 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 D | testcase.h | 61 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 D | utility.c | 45 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 D | sockets.h | 49 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 D | tidef.h | 275 #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 D | brackets.c | 27 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 D | bluetooth.h | 55 #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 D | mkbootimg.c | 127 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;
|