Searched defs:value (Results 51 - 64 of 64) sorted by last modified time

123

/system/core/toolbox/
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 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/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) {

Completed in 1004 milliseconds

123