Searched refs:val (Results 26 - 45 of 45) sorted by last modified time

12

/system/core/sh/
H A Dinit.c1065 optlist[i].val = 0;
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 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 Dparser.c756 pushstring(ap->val, strlen(ap->val), ap);
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 Dvar.c195 setvarsafe(const char *name, const char *val, int flags) argument
208 setvar(name, val, flags);
216 * flags of the variable. If val is NULL, the variable is unset.
220 setvar(const char *name, const char *val, int flags) argument
247 if (val == NULL) {
250 len += strlen(val);
258 if (val)
259 scopy(val, d);
/system/core/toolbox/
H A Dnewfs_msdos.c938 ckgeom(const char *fname, u_int val, const char *msg) argument
940 if (!val)
942 if (val > MAXU16)
943 errx(1, "%s: illegal %s %d", fname, msg, val);
944 return val;
/system/extras/ext4_utils/
H A Dcontents.c268 char *val; local
287 val = (char *)entry + min_offs - size;
289 memset(val + size - EXT4_XATTR_PAD, 0, EXT4_XATTR_PAD);
290 memcpy(val, secon, value_len);
/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_mutex.c107 #define TEXPECT_INT(cond,val) \
108 { int _ret = (cond); if (_ret != (val)) PANIC("%d:%s returned %d (%d expected)", __LINE__, #cond, _ret, (val)); }
H A Dtest_pthread_rwlock.c106 #define TEXPECT_INT(cond,val) \
107 { int _ret = (cond); if (_ret != (val)) PANIC("%d:%s returned %d (%d expected)", __LINE__, #cond, _ret, (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/extras/tests/directiotest/
H A Ddirectiotest.c141 int val = data[i]; local
146 printf("%02x ", val);
147 ascii_buf[off] = isprint(val) ? val : '.';
/system/extras/tests/include/
H A DtestUtil.h30 double ts2double(const struct timespec *val);
31 double tv2double(const struct timeval *val);
/system/extras/tests/lib/testUtil/
H A DtestUtil.c46 double ts2double(const struct timespec *val) argument
50 rv = val->tv_sec;
51 rv += (double) val->tv_nsec / nSecsPerSec;
57 double tv2double(const struct timeval *val) argument
61 rv = val->tv_sec;
62 rv += (double) val->tv_usec / uSecsPerSec;
183 uint32_t val; local
187 val = lrand48();
191 val ^= lrand48() << 1;
193 return val;
210 uint32_t val = (mod <= lrand48maxVal) ? (uint32_t) lrand48() : testRand(); local
[all...]
/system/extras/tests/sdcard/
H A Dplot_sdcard.py315 for flag, val in optlist:
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
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 setTreeDepth(size_t val) { mTreeDepth = val; } argument
73 void setNewFairSleepers(bool val) { argument
74 mNewFairSleepers = val;
79 setNormalizedSleepers(bool val) argument
[all...]
/system/netd/
H A DCommandListener.cpp287 int val = 0; local
292 rc = ThrottleController::getInterfaceRxThrottle(argv[2], &val);
294 rc = ThrottleController::getInterfaceTxThrottle(argv[2], &val);
301 asprintf(&msg, "%u", val);
H A DList.h51 explicit _Node(const T& val) : mVal(val) {} argument
57 inline void setVal(const T& val) { mVal = val; } argument
208 void push_front(const T& val) { insert(begin(), val); } local
209 void push_back(const T& val) { insert(end(), val); } local
212 iterator insert(iterator posn, const T& val) argument
214 _Node* newNode = new _Node(val); // allo
[all...]

Completed in 1515 milliseconds

12