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

123

/system/core/toolbox/
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/tests/bionic/libc/bionic/
H A Dlib_static_init.h6 int value; member in class:Foo
/system/extras/tests/bionic/libc/common/
H A Dtest_sem_post.c60 int nn, value; local
89 if (sem_getvalue(&semaphore, &value) < 0) {
90 printf("Could not get semaphore value: %s\n", strerror(errno));
93 if (value != 1) {
94 printf("Error: Semaphore value = %d\n", value);
/system/extras/tests/framebuffer/
H A Dminui.h39 unsigned value; member in struct:event
/system/extras/tests/icachetest/
H A Dicache_main.c18 long value; local
/system/extras/tests/sdcard/
H A Dsysutil.cpp201 int writeIntToFile(const char *filename, long value) argument
204 sprintf(buffer, "%ld", value);
246 char value[16]; local
247 if (readStringFromFile(filename, value, sizeof(value)) == -1)
253 return atoi(value);
292 char value[256] = {0,}; local
294 if (readStringFromFile(kSchedFeatures, value, sizeof(value)) == -1)
299 return strstr(value, "NO_NEW_FAIR_SLEEPER
322 char value[256] = {0,}; local
[all...]
/system/media/camera/src/
H A Dcamera_metadata.c28 * array is no larger than 4 bytes in size, it is stored in the data.value[]
37 uint8_t value[4]; member in union:camera_metadata_buffer_entry::__anon568
328 memcpy(entry->data.value, data,
394 entry->data.u8 = buffer_entry->data.value;
534 memcpy(entry->data.value, data,
680 data_ptr = entry->data.value;
/system/netd/
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...]
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) {
/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...]
H A Dkeystore_get.h37 * specifies the buffer to store the retrieved value, which must be an array of
38 * KEYSTORE_MESSAGE_SIZE bytes. This function returns the length of the value or
40 static int keystore_get(const char *key, int length, char *value) argument
61 int n = recv(sock, &value[offset], length - offset, 0);
/system/vold/
H A DFat.cpp116 char value[PROPERTY_VALUE_MAX]; local
117 property_get("persist.sampling_profiler", value, "");
118 if (value[0] == '1') {
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")) {

Completed in 275 milliseconds

123