Searched defs:value (Results 51 - 64 of 64) sorted by relevance

123

/system/netd/
H A DCommandListener.cpp206 int CommandListener::writeFile(const char *path, const char *value, int size) { argument
213 if (write(fd, value, size) != size) {
961 // note that all the %lu will be off by one and the real tx value will be in d
H A DMDnsSdListener.cpp690 char value[PROPERTY_VALUE_MAX] = {'\0'}; local
699 if (property_get(name, value, NULL)) {
700 if (desired_value == NULL || strcmp(value, desired_value) == 0) {
H A DBandwidthController.cpp144 char value[PROPERTY_VALUE_MAX]; local
146 property_get("persist.bandwidth.uselogwrap", value, "0");
147 useLogwrapCall = !strcmp(value, "1");
236 char value[PROPERTY_VALUE_MAX]; local
239 property_get("persist.bandwidth.enable", value, "1");
240 if (!strcmp(value, "0"))
513 ALOGE("Invalid bytes value. 1..max_int64.");
617 ALOGE("Invalid bytes value. 1..max_int64.");
804 ALOGE("Invalid bytes value. 1..max_int64.");
888 ALOGE("Invalid bytes value
[all...]
/system/core/adb/
H A Dadb.c304 char value[PROPERTY_VALUE_MAX];
305 property_get(cnxn_props[i], value, "");
306 len = snprintf(buf, remaining, "%s=%s;", cnxn_props[i], value);
876 char value[PROPERTY_VALUE_MAX]; local
880 property_get("persist.adb.trace_mask", value, "");
881 if (sscanf(value, "%x", &adb_trace_mask) != 1)
1060 char value[PROPERTY_VALUE_MAX];
1065 property_get("ro.kernel.qemu", value, "");
1066 if (strcmp(value, "1") != 0) {
1067 property_get("ro.secure", value, "
1092 char value[PROPERTY_VALUE_MAX]; local
[all...]
/system/core/charger/
H A Dcharger.c758 static int set_key_callback(int code, int value, void *data) argument
762 int down = !!value;
795 set_key_callback(ev->code, ev->value, charger);
/system/core/init/
H A Dinit.c105 /* add_environment - add "key=value" to the current environment */
268 add_environment(ei->name, ei->value);
428 void property_changed(const char *name, const char *value) argument
431 queue_property_triggers(name, value);
616 char *value = strchr(name, '='); local
619 if (value == 0) return;
620 *value++ = 0;
625 selinux_enabled = atoi(value);
636 property_set( buff, value );
641 strlcpy(qemu, value, sizeo
[all...]
/system/core/libcutils/
H A Dmq.c365 static bool peerProxyRemoveConnection(void* key, void* value, void* context) { argument
367 PeerProxy* otherPeer = (PeerProxy*) value;
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/vold/
H A Dcryptfs.c142 /* key or salt can be NULL, in which case just skip writing that value. Useful to
187 SLOGE("Unexpected value for crypto key location\n");
293 SLOGE("Unexpected value for crypto key location\n");
1395 char value[PROPERTY_VALUE_MAX]; local
1397 property_get("ro.vold.wipe_on_crypt_fail", value, "0");
1398 if (!strcmp(value, "1")) {
/system/core/include/private/pixelflinger/
H A Dggl_context.h87 // value shouldn't be more than 7, or bad things are going to
259 needs_t value; member in struct:android::needs_filter_t
265 ((filter.value.n ^ n) & filter.mask.n) |
266 ((filter.value.p ^ p) & filter.mask.p) |
267 ((filter.value.t[0] ^ t[0]) & filter.mask.t[0]) |
268 ((filter.value.t[1] ^ t[1]) & filter.mask.t[1]);
/system/core/libpixelflinger/codeflinger/
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/
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/security/keystore/
H A Dkeystore.cpp53 /* KeyStore is a secured storage for key-value pairs. In this implementation,
54 * each file stores one key-value pair. Keys are encoded in file names, and
89 memcpy(value, orig, origLen);
97 uint8_t value[VALUE_SIZE]; member in struct:Value
105 value = new char[length + 1];
106 memcpy(value, orig->value, length);
107 value[length] = '\0';
111 delete[] value;
115 return value;
125 char* value; member in class:ValueString
287 uint8_t value[VALUE_SIZE + AES_BLOCK_SIZE]; member in struct:blob
300 Blob(uint8_t* value, int32_t valueLength, uint8_t* info, uint8_t infoLength, BlobType type) argument
[all...]

Completed in 171 milliseconds

123