/system/core/libcutils/ |
H A D | tztime.c | 692 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 D | sha.c | 193 #define rol(bits, value) (((value) << (bits)) | ((value) >> (32 - (bits))))
|
/system/core/libnetutils/ |
H A D | dhcp_utils.c | 61 * 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 D | attr.c | 43 /* 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 D | ARMAssembler.cpp | 194 char value[PROPERTY_VALUE_MAX]; local 195 property_get("debug.pf.disasm", value, "0"); 196 if (atoi(value) != 0) {
|
H A D | MIPSAssembler.cpp | 229 // 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 D | MIPSAssembler.h | 212 uint32_t value; member in struct:android::ArmToMipsAssembler::addr_mode_t
|
/system/core/libpixelflinger/tinyutils/ |
H A D | KeyedVector.h | 89 * 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 D | TypeHelpers.h | 24 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 D | trap.cpp | 919 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 D | sync.c | 103 int sw_sync_fence_create(int fd, const char *name, unsigned value) argument 108 data.value = value;
|
/system/core/libusbhost/ |
H A D | usbhost.c | 503 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 D | package.c | 348 * 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 D | options.c | 67 char *arg0; /* value of $0 */ 361 getoptsreset(value) 362 const char *value; 364 if (number(value) == 1) {
|
/system/core/toolbox/ |
H A D | getevent.c | 35 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 D | getevent.h | 5 int value; member in struct:label
|
H A D | getprop.c | 43 char value[PROPERTY_VALUE_MAX]; local 51 property_get(argv[1], value, default_value); 52 printf("%s\n", value);
|
H A D | r.c | 9 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 D | sendevent.c | 17 __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 D | setsebool.c | 29 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 D | syren.c | 17 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 D | watchprops.c | 28 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 D | make_ext4fs_main.c | 125 seopts[0].value = optarg;
|
H A D | sha1.c | 35 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits))))
|
/system/extras/tests/bionic/libc/bionic/ |
H A D | lib_static_init.cpp | 7 value = ++Foo::counter; 13 return value;
|