Searched refs:value (Results 1 - 25 of 45) sorted by relevance

12

/bionic/libc/kernel/arch-arm/asm/arch/
H A Dmcbsp.h38 #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 Dio_32.h25 #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 Dcmpxchg_32.h24 #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 Dsystem_32.h29 #define set_mb(var, value) do { var = value; barrier(); } while (0)
/bionic/libc/include/sys/
H A Dsystem_properties.h41 /* 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.h66 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 Dsetenv.c40 * 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 Dstrtod.c213 #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 Dmath_private.h29 * 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 Dldexp.c26 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 Dsystem_properties.c122 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 Dpthread.c570 // 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 Dsemaphore.c38 * 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 Dip_queue.h34 unsigned char value; member in struct:ipq_mode_msg
39 unsigned int value; member in struct:ipq_verdict_msg
/bionic/linker/
H A Dlinker_format.c323 * 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 Dsemaphore.h41 extern int sem_init(sem_t *sem, int pshared, unsigned int value);
H A Dtime.h62 * 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 Dpthread.h42 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 Dsystem.h36 #define set_mb(var, value) do { (void)xchg(&var, value); } while (0)
/bionic/libc/kernel/common/linux/
H A Dmoduleparam.h67 #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 Dmsm_kgsl.h86 void *value; member in struct:kgsl_device_getproperty
94 unsigned int value; member in struct:kgsl_device_regread
H A Dsoundcard.h792 #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 Dcpp.py64 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 Dmsm_camera.h92 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 Dvfprintf.c168 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...]

Completed in 2733 milliseconds

12