Searched defs:val (Results 1 - 25 of 45) sorted by relevance

12

/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 DCommandListener.cpp152 char val[Property::ValueMaxSize]; local
155 val,
156 sizeof(val))) {
161 asprintf(&tmp, "%s %s", argv[1], val);
/system/core/sh/
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 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.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 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...]
/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/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/core/adb/
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.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...]
H A Dscanmerge.c94 val - pointer to scan result structure
98 static int scan_equal( void *val, void *idata ) argument
101 scan_result_t *new_res = (scan_result_t *)val;
/system/core/init/
H A Dlogo.c33 void android_memset16(void *_ptr, unsigned short val, unsigned count) argument
38 *ptr++ = val;
/system/extras/tests/sdcard/
H A Dstopwatch.cpp211 double val = double(time.tv_nsec) / 1.0e9 + double(time.tv_sec); local
212 return val < 0.0 ? -val : val; // sometimes 0.00 is -0.00
/system/wlan/ti/sta_dk_4_0_4_32/common/src/hal/hl_ctrl/
H A DwhalDebug.c90 void whalCtrlWriteMacReg(TI_HANDLE hWhalCtrl, UINT32 addr, UINT32 val) argument
94 whalBus_MacRegWrite(pWhalCtrl->pHwCtrl->hWhalBus, addr, val);
124 void whalCtrlWritePhyReg(TI_HANDLE hWhalCtrl, UINT32 addr, UINT32 val) argument
128 whalBus_PhyRegWrite(pWhalCtrl->pHwCtrl->hWhalBus, addr, val);
/system/core/libmincrypt/
H A Dsha.c41 static inline uint32_t ror27(uint32_t val) { argument
42 return (val >> 27) | (val << 5);
44 static inline uint32_t ror2(uint32_t val) { argument
45 return (val >> 2) | (val << 30);
47 static inline uint32_t ror31(uint32_t val) { argument
48 return (val >> 31) | (val << 1);
/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;
/system/wlan/ti/sta_dk_4_0_4_32/common/src/BusAccess/Shm_Common/
H A DshmFwCtrl.c997 UINT32 val = (pWhalBus->pEEPROMCurPtr[0] | local
1003 ("NVS::BurstRead: *(%08x) = %x\n", pWhalBus->uEEPROMRegAddr, val));
1007 val,
H A DwhalTrace.c275 void whal_traceEnable(WhalTrace_T *pTrc, int val) argument
277 pTrc->Enable = val;
279 if(val == 1) /* Enable case*/
/system/core/fastboot/
H A Dengine.c144 const char *val; local
149 const char *val = value[n]; local
150 int len = strlen(val);
153 if ((len > 1) && (val[len-1] == '*')) {
155 match = !strncmp(val, str, len);
157 match = !strcmp(val, str);
/system/core/liblog/
H A Devent_tag_map.c338 unsigned long val; local
345 val = strtoul(startp, &endp, 10);
350 tag->tagIndex = val;
/system/netd/
H A DCommandListener.cpp147 int val = 0; local
152 rc = ThrottleController::getInterfaceRxThrottle(argv[2], &val);
154 rc = ThrottleController::getInterfaceTxThrottle(argv[2], &val);
161 asprintf(&msg, "%u", val);

Completed in 418 milliseconds

12