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

123

/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)
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/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 setTreeDepth(size_t val) { mTreeDepth = val; } argument
73 void setNewFairSleepers(bool val) { argument
74 mNewFairSleepers = val;
79 setNormalizedSleepers(bool val) argument
[all...]
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/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/core/include/cutils/
H A Dsockets.h50 const char *val; local
65 val = getenv(key);
66 if (!val)
70 fd = strtol(val, NULL, 10);
/system/core/mkbootimg/
H A Dmkbootimg.c125 char *val = argv[1]; local
132 bootimg = val;
134 kernel_fn = val;
136 ramdisk_fn = val;
138 second_fn = val;
140 cmdline = val;
142 base = strtoul(val, 0, 16);
144 kernel_offset = strtoul(val, 0, 16);
146 ramdisk_offset = strtoul(val, 0, 16);
148 second_offset = strtoul(val,
[all...]
/system/extras/tests/include/
H A DtestUtil.h30 double ts2double(const struct timespec *val);
31 double tv2double(const struct timeval *val);
/system/media/camera/docs/
H A Dmetadata_helpers_test.py10 for (idx, val) in enumerate(expected_list):
11 self.assertEquals(val,
H A Dcamera_metadata_tags.mako100 % for val in entry.enum.values:
101 % if val.id is None:
102 ${entry.name | csym}_${val.name},
104 ${'%s_%s'%(csym(entry.name), val.name) | pad(65)} = ${val.id},
/system/core/libutils/
H A DLinearTransform.cpp30 uint64_t val,
49 // compute M = val * N (a 96 bit int)
51 // tmp2 = U32(val) * N (a 64 bit int)
52 // tmp1 = L32(val) * N (a 64 bit int)
54 // M = val * N = (tmp2 << 32) + tmp1
55 tmp2 = (val >> 32) * N;
56 tmp1 = (val & UINT32_MAX) * N;
60 // = (U32(val) * N) + U32(L32(val) * N)
78 // tmp1 = L32(val) *
29 scale_u64_to_u64( uint64_t val, uint32_t N, uint32_t D, uint64_t* res, bool round_up_not_down) argument
112 linear_transform_s64_to_s64( int64_t val, int64_t basis1, int32_t N, uint32_t D, bool invert_frac, int64_t basis2, int64_t* out) argument
[all...]
/system/core/include/sysutils/
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...]
/system/core/include/utils/
H A DList.h50 explicit _Node(const T& val) : mVal(val) {} argument
56 inline void setVal(const T& val) { mVal = val; } argument
207 void push_front(const T& val) { insert(begin(), val); } local
208 void push_back(const T& val) { insert(end(), val); } local
211 iterator insert(iterator posn, const T& val) argument
213 _Node* newNode = new _Node(val); // allo
[all...]
/system/netd/
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...]
/system/core/libsync/
H A Dsync_test.c63 printf(" val=%d\n", *(uint32_t *)pt_info->driver_data);
93 unsigned val = i + j * 3 + 1; local
95 int fd = sw_sync_fence_create(sync_timeline_fd, str, val);
97 printf("can't create sync pt %d: %s", val, strerror(errno));
141 void *val; local
142 pthread_join(threads[i], &val);
/system/core/debuggerd/arm/
H A Dmachine.c94 char val = (data >> (j*8)) & 0xff;
95 if (val >= 0x20 && val < 0x7f) {
96 *asc_out++ = val;
/system/core/libcutils/
H A Dstr_parms.c241 int str_parms_get_str(struct str_parms *str_parms, const char *key, char *val, argument
248 return strlcpy(val, value, len);
253 int str_parms_get_int(struct str_parms *str_parms, const char *key, int *val) argument
262 *val = (int)strtol(value, &end, 0);
270 float *val)
269 str_parms_get_float(struct str_parms *str_parms, const char *key, float *val) argument
/system/core/debuggerd/mips/
H A Dmachine.c85 char val = (data >> (j*8)) & 0xff; local
86 if (val >= 0x20 && val < 0x7f) {
87 *asc_out++ = val;
/system/extras/tests/directiotest/
H A Ddirectiotest.c141 int val = data[i]; local
146 printf("%02x ", val);
147 ascii_buf[off] = isprint(val) ? val : '.';

Completed in 491 milliseconds

123