/system/core/toolbox/ |
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 | 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/tests/bionic/libc/bionic/ |
H A D | lib_static_init.h | 6 int value; member in class:Foo
|
/system/extras/tests/bionic/libc/common/ |
H A D | test_sem_post.c | 60 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 D | minui.h | 39 unsigned value; member in struct:event
|
/system/extras/tests/icachetest/ |
H A D | icache_main.c | 18 long value; local
|
/system/extras/tests/sdcard/ |
H A D | sysutil.cpp | 201 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 D | camera_metadata.c | 28 * 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 D | BandwidthController.cpp | 144 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 D | CommandListener.cpp | 206 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 D | MDnsSdListener.cpp | 690 char value[PROPERTY_VALUE_MAX] = {'\0'}; local 699 if (property_get(name, value, NULL)) { 700 if (desired_value == NULL || strcmp(value, desired_value) == 0) {
|