/bionic/libc/kernel/arch-arm/asm/arch/ |
H A D | mcbsp.h | 38 #define RINTM(value) ((value)<<4) 41 #define CLKSTP(value) ((value)<<11) 42 #define RJUST(value) ((value)<<13) 49 #define XINTM(value) ((value)<<4) 71 #define RWDLEN1(value) ((value)<< [all...] |
/bionic/libc/kernel/arch-x86/asm/ |
H A D | io_32.h | 25 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 26 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type value [all...] |
H A D | cmpxchg_32.h | 24 #define set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit_constant(ptr, value) : __set_64bit_var(ptr, value) ) 25 #define _set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit(ptr, (unsigned int)(value), (unsigned int)((value)>>32ULL) ) : __set_64bit(ptr, ll_low(value), ll_high(value)) ) [all...] |
H A D | system_32.h | 29 #define set_mb(var, value) do { var = value; barrier(); } while (0)
|
/bionic/libc/include/sys/ |
H A D | system_properties.h | 41 /* Look up a system property by name, copying its value and a 44 ** the string length of the value. A property that is not 45 ** defined is identical to a property with a length 0 value. 47 int __system_property_get(const char *name, char *value); 51 ** __system_property_read() to obtain the string value from 60 /* Read the value of a system property. Returns the length 61 ** of the value. Copies the value and \0 terminator into 62 ** the provided value pointer. Total length (including 69 int __system_property_read(const prop_info *pi, char *name, char *value); [all...] |
H A D | _system_properties.h | 66 char value[PROP_VALUE_MAX]; member in struct:prop_info 73 char value[PROP_VALUE_MAX]; member in struct:prop_msg 82 ** - prop_area.count will never decrease in value 85 ** - reading a value requires the following steps 88 ** 3. memcpy(local, pi->value, SERIAL_VALUE_LEN(serial) + 1) 91 ** - writing a value requires the following steps 93 ** 2. memcpy(pi->value, local_value, value_len)
|
/bionic/libc/stdlib/ |
H A D | setenv.c | 40 * Set the value of the environmental variable "name" to be 41 * "value". If rewrite is set, replace any current value. 44 setenv(const char *name, const char *value, int rewrite) argument 46 static char **lastenv; /* last value of environ */ 50 if (*value == '=') /* no `=' in value */ 51 ++value; 52 l_value = strlen(value); 57 while ((*C++ = *value [all...] |
H A D | strtod.c | 213 #define value(x) ((x).d) macro 282 #define Ebits 8 /* exponent has 7 bits, but 8 is the right value in b2d */ 381 /* Special value used to indicate an invalid Bigint value, 384 * computation is performed. Also the NULL value can also be 385 * already used to indicate "value not initialized yet" and 1019 value(x) = _x; 1044 return value(a); 1117 return value(d); 1136 value( [all...] |
/bionic/libm/src/ |
H A D | math_private.h | 29 * value. That is non-ANSI, and, moreover, the gcc instruction 45 double value; member in union:__anon562 59 double value; member in union:__anon564 74 ew_u.value = (d); \ 84 gh_u.value = (d); \ 93 gl_u.value = (d); \ 104 (d) = iw_u.value; \ 112 sh_u.value = (d); \ 114 (d) = sh_u.value; \ 122 sl_u.value 134 float value; member in union:__anon566 [all...] |
/bionic/libc/bionic/ |
H A D | ldexp.c | 26 double value; member in union:__anon3 40 double value; member in union:__anon5 55 ew_u.value = (d); \ 65 gh_u.value = (d); \ 74 sh_u.value = (d); \ 76 (d) = sh_u.value; \
|
H A D | system_properties.c | 122 int __system_property_read(const prop_info *pi, char *name, char *value) argument 133 memcpy(value, pi->value, len + 1); 143 int __system_property_get(const char *name, char *value) argument 148 return __system_property_read(pi, 0, value); 150 value[0] = 0;
|
H A D | pthread.c | 570 // a TLS key, the corresponding value will be set to NULL in this thread's TLS 587 * if it is zero, we set the count value to -1 to indicate that the 747 #define MUTEX_OWNER(m) (((m)->value >> 16) & 0xffff) 748 #define MUTEX_COUNTER(m) (((m)->value >> 2) & 0xfff) 850 int value = 0; local 856 mutex->value = MUTEX_TYPE_NORMAL; 861 value |= MUTEX_SHARED_MASK; 865 value |= MUTEX_TYPE_NORMAL; 868 value |= MUTEX_TYPE_RECURSIVE; 871 value | [all...] |
H A D | semaphore.c | 38 * 31-bit signed value and a 1-bit 'shared' flag 41 * We use the value -1 to indicate contention on the 43 * any value lower than -2 is invalid at runtime. 65 /* Maximum unsigned value that can be stored in the semaphore. 71 /* convert a value into the corresponding sem->count bit pattern */ 74 /* convert a sem->count bit pattern into the corresponding signed value */ 77 /* the value +1 as a sem->count bit-pattern. */ 80 /* the value -1 as a sem->count bit-pattern. */ 90 int sem_init(sem_t *sem, int pshared, unsigned int value) argument 97 /* ensure that 'value' ca [all...] |
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
H A D | ip_queue.h | 34 unsigned char value; member in struct:ipq_mode_msg 39 unsigned int value; member in struct:ipq_verdict_msg
|
/bionic/linker/ |
H A D | linker_format.c | 323 * return the value, and writes the new position past 353 format_number(char *buffer, size_t bufsize, uint64_t value, int base, const char *digits) argument 359 while (value) { 360 unsigned d = value % base; 361 value /= base; 389 format_integer(char *buffer, size_t buffsize, uint64_t value, int base, int isSigned) argument 391 if (isSigned && (int64_t)value < 0) { 395 value = (uint64_t)(-(int64_t)value); 398 format_number(buffer, buffsize, value, bas 403 format_octal(char *buffer, size_t buffsize, uint64_t value, int isSigned) argument 410 format_decimal(char *buffer, size_t buffsize, uint64_t value, int isSigned) argument 418 format_hex(char *buffer, size_t buffsize, uint64_t value, int isCap) argument 546 uint64_t value = (uint64_t)(ptrdiff_t) va_arg(args, void*); local 553 uint64_t value; local [all...] |
/bionic/libc/include/ |
H A D | semaphore.h | 41 extern int sem_init(sem_t *sem, int pshared, unsigned int value);
|
H A D | time.h | 62 * struct tm, the value should be the field name 127 extern int timer_settime(timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); 128 extern int timer_gettime(timer_t timerid, struct itimerspec *value);
|
H A D | pthread.h | 42 int volatile value; member in struct:__anon27 64 int volatile value; member in struct:__anon29 259 int pthread_setspecific(pthread_key_t key, const void *value);
|
/bionic/libc/kernel/arch-sh/asm/ |
H A D | system.h | 36 #define set_mb(var, value) do { (void)xchg(&var, value); } while (0)
|
/bionic/libc/kernel/common/linux/ |
H A D | moduleparam.h | 67 #define module_param_named(name, value, type, perm) param_check_##type(name, &(value)); module_param_call(name, param_set_##type, param_get_##type, &value, perm); __MODULE_PARM_TYPE(name, #type)
|
H A D | msm_kgsl.h | 86 void *value; member in struct:kgsl_device_getproperty 94 unsigned int value; member in struct:kgsl_device_regread
|
H A D | soundcard.h | 792 #define SEQ_CONTROL(dev, chn, controller, value) _CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value) 794 #define SEQ_BENDER(dev, chn, value) _CHN_COMMON(dev, MIDI_PITCH_BEND, chn, 0, 0, value) 796 #define SEQ_V2_X_CONTROL(dev, voice, controller, value) {_SEQ_NEEDBUF(8); _seqbuf[_seqbufptr] = SEQ_EXTENDED; _seqbuf[_seqbufptr+1] = SEQ_CONTROLLER; _seqbuf[_seqbufptr+2] = (dev); _seqbuf[_seqbufptr+3] = (voice); _seqbuf[_seqbufptr+4] = (controller); _seqbuf[_seqbufptr+5] = ((value)&0xff); _seqbuf[_seqbufptr+6] = ((value>>8)&0xff); _seqbuf[_seqbufptr+7] = 0; _SEQ_ADVBUF(8);} 798 #define SEQ_PITCHBEND(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value) 799 #define SEQ_BENDER_RANGE(dev, voice, value) SEQ_V2_X_CONTRO [all...] |
/bionic/libc/kernel/tools/ |
H A D | cpp.py | 64 an 'id' and a 'value'. the id is a string that identifies 65 the token's class, while the value is the string of the 69 and tabs as a single tokSPACE id, whose value if the original 74 self.value = None 81 self.value = val 83 self.value = id 88 self.value = src.value 94 return "(ident %s)" % self.value 96 return "(number %s)" % self.value [all...] |
/bionic/libc/kernel/common/media/ |
H A D | msm_camera.h | 92 void *value; member in struct:msm_ctrl_cmd 126 void *value; member in struct:msm_camera_cfg_cmd 178 void *value; member in struct:msm_vfe_cfg_cmd
|
/bionic/libc/stdio/ |
H A D | vfprintf.c | 168 int ret; /* return value accumulator */ 178 int expt; /* integer value of exponent */ 550 * since it has no real practical value, and could lead to 584 * value of the pointer is converted to a sequence 646 * ``The result of converting a zero value with an 1217 cvt(double value, int ndigits, int flags, char *sign, int *decpt, int ch, argument 1237 if (value < 0) { 1238 value = -value; 1242 digits = __dtoa(value, mod 1297 _my_isinf(double value) argument 1306 _my_isnan(double value) argument [all...] |