Searched refs:value (Results 51 - 75 of 87) sorted by last modified time

1234

/system/core/libcutils/
H A Dtztime.c692 return NULL; /* illegal value */
696 return NULL; /* illegal value */
840 register time_t value; local
844 INITIALIZE(value);
856 value = janfirst + (rulep->r_day - 1) * SECSPERDAY;
858 value += SECSPERDAY;
867 value = janfirst + rulep->r_day * SECSPERDAY;
874 value = janfirst;
876 value += mon_lengths[leapyear][i] * SECSPERDAY;
909 value
[all...]
/system/core/libmincrypt/
H A Dsha.c193 #define rol(bits, value) (((value) << (bits)) | ((value) >> (32 - (bits))))
/system/core/libnetutils/
H A Ddhcp_utils.c61 * Wait for a system property to be assigned a specified value.
63 * be created with any value. maxwait is the maximum amount of
68 char value[PROPERTY_VALUE_MAX] = {'\0'}; local
77 if (property_get(name, value, NULL)) {
79 strcmp(value, desired_value) == 0) {
125 // non 255.255.255.255 inputs. if we get that value check if it is legit..
/system/core/libnl_2/
H A Dattr.c43 /* Return value of 8 bit integer attribute. */
166 int nla_put_u8(struct nl_msg *msg, int attrtype, uint8_t value) argument
168 return nla_put(msg, attrtype, sizeof(uint8_t), &value);
172 int nla_put_u16(struct nl_msg *msg, int attrtype, uint16_t value) argument
174 return nla_put(msg, attrtype, sizeof(uint16_t), &value);
178 int nla_put_u32(struct nl_msg *msg, int attrtype, uint32_t value) argument
180 return nla_put(msg, attrtype, sizeof(uint32_t), &value);
184 int nla_put_u64(struct nl_msg *msg, int attrtype, uint64_t value) argument
186 return nla_put(msg, attrtype, sizeof(uint64_t), &value);
/system/core/libpixelflinger/codeflinger/
H A DARMAssembler.cpp194 char value[PROPERTY_VALUE_MAX]; local
195 property_get("debug.pf.disasm", value, "0");
196 if (atoi(value) != 0) {
H A DMIPSAssembler.cpp229 // ALOGW("immediate value %08x at pc %08x\n", immediate, (int)pc());
230 amode.value = immediate;
238 amode.value = shift;
262 amode.value = immed12;
273 amode.value = immed12;
284 // amode.value = shift;
315 amode.value = immed8;
348 // would be overwritten by this instruction. If so, move the value to a
351 // instruction will _also_ use this value (a defect of the simple 1-pass, one-
353 // save the value befor
1415 char value[PROPERTY_VALUE_MAX]; local
[all...]
H A DMIPSAssembler.h212 uint32_t value; member in struct:android::ArmToMipsAssembler::addr_mode_t
/system/core/libpixelflinger/tinyutils/
H A DKeyedVector.h89 * Variation of KeyedVector that holds a default value to return when
119 return mVector.itemAt(i).value;
124 return mVector.itemAt(index).value;
136 return mVector.editItemAt(i).value;
141 return mVector.editItemAt(index).value;
145 ssize_t KeyedVector<KEY,VALUE>::add(const KEY& key, const VALUE& value) { argument
146 return mVector.add( key_value_pair_t<KEY,VALUE>(key, value) );
150 ssize_t KeyedVector<KEY,VALUE>::replaceValueFor(const KEY& key, const VALUE& value) { argument
151 key_value_pair_t<KEY,VALUE> pair(key, value);
159 mVector.editValueAt(index).value
[all...]
H A DTypeHelpers.h24 template <typename T> struct trait_trivial_ctor { enum { value = false }; }; enumerator in enum:android::trait_trivial_ctor::__anon443
25 template <typename T> struct trait_trivial_dtor { enum { value = false }; }; enumerator in enum:android::trait_trivial_dtor::__anon444
26 template <typename T> struct trait_trivial_copy { enum { value = false }; }; enumerator in enum:android::trait_trivial_copy::__anon445
27 template <typename T> struct trait_trivial_assign{ enum { value = false }; }; enumerator in enum:android::trait_trivial_assign::__anon446
29 template <typename T> struct trait_pointer { enum { value = false }; }; enumerator in enum:android::trait_pointer::__anon447
30 template <typename T> struct trait_pointer<T*> { enum { value = true }; }; enumerator in enum:android::trait_pointer::__anon448
33 template<> struct trait_trivial_ctor< T > { enum { value = true }; }; \
34 template<> struct trait_trivial_dtor< T > { enum { value = true }; }; \
35 template<> struct trait_trivial_copy< T > { enum { value = true }; }; \
36 template<> struct trait_trivial_assign< T >{ enum { value
212 VALUE value; member in struct:android::key_value_pair_t
225 { enum { value = aggregate_traits<K,V>::has_trivial_ctor }; }; enumerator in enum:android::trait_trivial_ctor::__anon451
229 { enum { value = aggregate_traits<K,V>::has_trivial_dtor }; }; enumerator in enum:android::trait_trivial_dtor::__anon452
233 { enum { value = aggregate_traits<K,V>::has_trivial_copy }; }; enumerator in enum:android::trait_trivial_copy::__anon453
237 { enum { value = aggregate_traits<K,V>::has_trivial_assign};}; enumerator in enum:android::trait_trivial_assign::__anon454
[all...]
/system/core/libpixelflinger/
H A Dtrap.cpp919 void SET_COVERAGE(int16_t*& p, int32_t value, ssize_t n) argument
921 android_memset16((uint16_t*)p, value, n*2);
926 void ADD_COVERAGE(int16_t*& p, int32_t value) argument
928 value = *p + value;
929 if (value >= 0x8000)
930 value = 0x7FFF;
931 *p++ = value;
935 void SUB_COVERAGE(int16_t*& p, int32_t value) argument
937 value
[all...]
/system/core/libsync/
H A Dsync.c103 int sw_sync_fence_create(int fd, const char *name, unsigned value) argument
108 data.value = value;
/system/core/libusbhost/
H A Dusbhost.c503 int value,
518 ctrl.wValue = value;
500 usb_device_control_transfer(struct usb_device *device, int requestType, int request, int value, int index, void* buffer, int length, unsigned int timeout) argument
/system/core/run-as/
H A Dpackage.c348 * is reached. Adjust '*pp' on exit. Return decimal value or -1
351 * If the value is larger than INT_MAX, -1 will be returned,
361 int value = 0; local
377 val2 = value*10 + (int)d;
378 if (val2 < value)
380 value = val2;
387 value = -1;
389 return value;
/system/core/sh/
H A Doptions.c67 char *arg0; /* value of $0 */
361 getoptsreset(value)
362 const char *value;
364 if (number(value) == 1) {
/system/core/toolbox/
H A Dgetevent.c35 static const char *get_label(const struct label *labels, int value) argument
37 while(labels->name && value != labels->value) {
178 printf(" : value %d, min %d, max %d, fuzz %d, flat %d, resolution %d",
179 abs.value, abs.minimum, abs.maximum, abs.fuzz, abs.flat,
193 static void print_event(int type, int code, int value, int print_flags) argument
208 value_label = get_label(key_value_labels, value);
217 value_label = get_label(mt_tool_labels, value);
254 printf(" %08x ", value);
256 printf("%04x %04x %08x", type, code, value);
[all...]
H A Dgetevent.h5 int value; member in struct:label
H A Dgetprop.c43 char value[PROPERTY_VALUE_MAX]; local
51 property_get(argv[1], value, default_value);
52 printf("%s\n", value);
H A Dr.c9 fprintf(stderr,"r [-b|-s] <address> [<value>]\n");
16 unsigned addr, value, endaddr = 0; local
50 value = strtoul(argv[2], 0, 16);
75 if(set) *x = value;
81 if(set) *x = value;
87 if(set) *x = value;
H A Dsendevent.c17 __s32 value; member in struct:input_event
35 #define EVIOCGABS(abs) _IOR('E', 0x40 + abs, struct input_absinfo) /* get abs value/limits */
36 #define EVIOCSABS(abs) _IOW('E', 0xc0 + abs, struct input_absinfo) /* set abs value/limits */
57 fprintf(stderr, "use: %s device type code value\n", argv[0]);
73 event.value = atoi(argv[4]);
H A Dsetsebool.c29 b[i-1].value = 1;
31 b[i-1].value = 0;
33 fprintf(stderr, "setsebool: invalid value %s\n", v);
50 fprintf(stderr, "Usage: %s name=value...\n", argv[0]);
H A Dsyren.c17 unsigned long value; member in struct:syren_io_args
57 fprintf(stderr, "usage: syren [r/w] [REGNAME | page:addr] (value)\n");
94 sio.value = strtoul(argv[3], 0, 0);
116 fprintf(stderr, "%s: %04x\n", registers[i].name, sio.value);
145 printf("%s: %04x\n", name, sio.value);
147 printf("wrote %04x to %s\n", sio.value, name);
H A Dwatchprops.c28 char value[PROP_VALUE_MAX]; local
31 __system_property_read(pi, name, value);
33 for(x = value; *x; x++) {
37 fprintf(stderr,"%10d %s = '%s'\n", (int) time(0), name, value);
/system/extras/ext4_utils/
H A Dmake_ext4fs_main.c125 seopts[0].value = optarg;
H A Dsha1.c35 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits))))
/system/extras/tests/bionic/libc/bionic/
H A Dlib_static_init.cpp7 value = ++Foo::counter;
13 return value;

Completed in 1265 milliseconds

1234