/system/core/libcorkscrew/arch-arm/ |
H A D | backtrace-arm.c | 88 /* Special EXIDX value that indicates that a frame cannot be unwound. */ 234 ALOGV("next_byte: ptr=0x%08x, value=0x%02x", stream->ptr, *out_value); 239 static void set_reg(unwind_state_t* state, uint32_t reg, uint32_t value) { argument 240 ALOGV("set_reg: reg=%d, value=0x%08x", reg, value); 241 state->gregs[reg] = value; 249 uint32_t value; local 250 if (!try_get_word(memory, sp, &value)) { 256 set_reg(state, i, value); 369 uint32_t value local [all...] |
/system/core/libctest/ |
H A D | ctest.c | 150 void assertTrueWithSource(int value, const char* file, int line, char* message) { argument 151 if (!value) {
|
/system/core/libcutils/ |
H A D | config_utils.c | 26 cnode* config_node(const char *name, const char *value) argument 33 node->value = value ? value : ""; 75 switch(node->value[0]) { 92 return node->value; 95 void config_set(cnode *root, const char *name, const char *value) argument 101 node->value = value; 104 node->value 122 _lex(cstate *cs, int value) argument [all...] |
H A D | fs.c | 102 int fs_write_atomic_int(const char* path, int value) { argument 116 int len = snprintf(buf, BUF_SIZE, "%d", value) + 1; 118 ALOGE("Value %d too large: %s", value, strerror(errno));
|
H A D | hashmap.c | 30 void* value; member in struct:Entry 166 static Entry* createEntry(void* key, int hash, void* value) { argument 173 entry->value = value; 189 void* hashmapPut(Hashmap* map, void* key, void* value) { argument 199 *p = createEntry(key, hash, value); 211 void* oldValue = current->value; 212 current->value = value; 228 return entry->value; 267 void* value = initialValue(key, context); local 293 void* value = current->value; local 306 hashmapForEach(Hashmap* map, bool (*callback)(void* key, void* value, void* context), void* context) argument [all...] |
H A D | memory.c | 20 void android_memset16(uint16_t* dst, uint16_t value, size_t size) argument 24 *dst++ = value; 30 void android_memset32(uint32_t* dst, uint32_t value, size_t size) argument 34 *dst++ = value;
|
H A D | mq.c | 365 static bool peerProxyRemoveConnection(void* key, void* value, void* context) { argument 367 PeerProxy* otherPeer = (PeerProxy*) value;
|
H A D | properties.c | 34 int property_set(const char *key, const char *value) argument 36 return __system_property_set(key, value); 39 int property_get(const char *key, char *value, const char *default_value) argument 43 len = __system_property_get(key, value); 50 memcpy(value, default_value, len + 1); 55 int property_list(void (*propfn)(const char *key, const char *value, void *cookie), argument 59 char value[PROP_VALUE_MAX]; local 64 __system_property_read(pi, name, value); 65 propfn(name, value, cookie); 137 int property_get(const char *key, char *value, cons argument 204 property_set(const char *key, const char *value) argument 241 property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie) argument 260 property_get(const char *key, char *value, const char *default_value) argument 294 property_set(const char *key, const char *value) argument 324 property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie) argument [all...] |
H A D | qtaguid.c | 83 static int write_param(const char *param_path, const char *value) { argument 91 res = TEMP_FAILURE_RETRY(write(param_fd, value, strlen(value))); 167 const char *value; local 169 value = on ? "Y" : "N"; 170 if (write_param(GLOBAL_PACIFIER_PARAM, value) < 0) { 173 if (write_param(TAG_PACIFIER_PARAM, value) < 0) {
|
H A D | str_parms.c | 78 static bool remove_pair(void *key, void *value, void *context) argument 104 free(value); 149 char *value; local 159 value = strdup(eq); 161 value = strdup(""); 164 value = strdup(""); 167 /* if we replaced a value, free it */ 168 old_val = hashmapPut(str_parms->map, key, value); 193 const char *value) 200 tmp_val = strdup(value); 192 str_parms_add_str(struct str_parms *str_parms, const char *key, const char *value) argument 214 str_parms_add_int(struct str_parms *str_parms, const char *key, int value) argument 227 str_parms_add_float(struct str_parms *str_parms, const char *key, float value) argument 244 char *value; local 255 char *value; local 273 char *value; local 287 combine_strings(void *key, void *value, void *context) argument 321 dump_entry(void *key, void *value, void *context) argument [all...] |
H A D | threads.c | 31 void* value, 44 pthread_setspecific( store->tls, value ); 59 void* value, 82 TlsSetValue( store->tls, value ); 30 thread_store_set( thread_store_t* store, void* value, thread_store_destruct_t destroy) argument 58 thread_store_set( thread_store_t* store, void* value, thread_store_destruct_t destroy ) argument
|
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/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/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
|