/system/core/charger/ |
H A D | charger.c | 80 char name[256]; member in struct:power_supply 88 const char *name; member in struct:frame 139 .name = "charger/battery_0", 144 .name = "charger/battery_1", 149 .name = "charger/battery_2", 154 .name = "charger/battery_3", 159 .name = "charger/battery_4", 165 .name = "charger/battery_5", 312 const char *name) 319 if (!strncmp(name, suppl 311 find_supply(struct charger *charger, const char *name) argument 325 add_supply(struct charger *charger, const char *name, const char *type, const char *path, bool online) argument [all...] |
/system/core/cpio/ |
H A D | mkbootfs.c | 39 char* name; member in struct:fs_config_entry 64 for (p = canned_config; p->name; ++p) { 65 if (!p->name[0]) { 68 if (strcmp(p->name, path) == 0) { 193 fprintf(stderr, "failed to strdup name \"%s\"\n", 301 cc->name = strdup(""); 304 cc->name = strdup(strtok(line, " \n")); 316 canned_config[used].name = NULL;
|
/system/core/debuggerd/ |
H A D | getevent.c | 25 char name[80]; local 41 name[sizeof(name) - 1] = '\0'; 44 if(ioctl(fd, EVIOCGNAME(sizeof(name) - 1), &name) < 1) { 45 //fprintf(stderr, "could not get device name for %s, %s\n", device, strerror(errno)); 46 name[0] = '\0'; 118 //printf("%d: %08x \"%s\"\n", event->wd, event->mask, event->len ? event->name : ""); 120 strcpy(filename, event->name);
|
H A D | tombstone.c | 195 _LOG(log, false, "pid: %d, tid: %d, name: %s >>> %s <<<\n", pid, tid, 199 _LOG(log, true, "pid: %d, tid: %d, name: %s\n", pid, tid, 233 char* demangled_name = demangle_symbol_name(symbol->name); 234 const char* symbol_name = demangled_name ? demangled_name : symbol->name; 239 label, *sp, stack_content, mi ? mi->name : "", symbol_name, offset); 242 label, *sp, stack_content, mi ? mi->name : "", symbol_name); 247 *sp, stack_content, mi ? mi->name : "", symbol_name, offset); 250 *sp, stack_content, mi ? mi->name : "", symbol_name); 257 label, *sp, stack_content, mi ? mi->name : ""); 260 *sp, stack_content, mi ? mi->name [all...] |
/system/core/fastboot/ |
H A D | engine.c | 580 void fb_queue_download(const char *name, void *data, unsigned size) argument 585 a->msg = mkmsg("downloading '%s'", name);
|
H A D | fastboot.c | 297 " -p <product> specify product name\n" 360 void *unzip_file(zipfile_t zip, const char *name, unsigned *sz) argument 366 entry = lookup_zipentry(zip, name); 368 fprintf(stderr, "archive does not contain '%s'\n", name); 383 fprintf(stderr, "failed to unzip '%s' from archive\n", name); 404 static int setup_requirement_line(char *name) argument 413 if (!strncmp(name, "reject ", 7)) { 414 name += 7; 416 } else if (!strncmp(name, "require ", 8)) { 417 name [all...] |
H A D | fastboot.h | 59 void fb_queue_download(const char *name, void *data, unsigned size);
|
H A D | genkey.sh | 21 -out $1.p12 -name $1 -passout pass:"$2"
|
H A D | usb_linux.c | 78 static inline int badname(const char *name) argument 80 while(*name) { 81 if(!isdigit(*name++)) return 1;
|
/system/core/fs_mgr/ |
H A D | fs_mgr.c | 48 const char *name; member in struct:flag_list 130 * If not found, the loop exits with fl[i].name being null. 132 for (i = 0; fl[i].name; i++) { 133 if (!strncmp(p, fl[i].name, strlen(fl[i].name))) { 145 if (!fl[i].name) {
|
/system/core/gpttool/ |
H A D | gpttool.c | 75 u16 name[EFI_NAMELEN]; member in struct:efi_entry 118 int add_ptn(struct ptable *ptbl, u64 first, u64 last, const char *name) argument 125 fprintf(stderr,"partition '%s' overlaps partition table\n", name); 130 fprintf(stderr,"partition '%s' does not fit on disk\n", name); 140 for (n = 0; (n < EFI_NAMELEN) && *name; n++) 141 entry->name[n] = *name++; 155 "partition: [<name>]:<size>[kmg] | @<file-of-partitions>\n" 164 char name[EFI_NAMELEN]; local 166 fprintf(stderr,"ptn start block end block name\ [all...] |
/system/core/include/corkscrew/ |
H A D | demangle.h | 17 /* C++ symbol name demangling. */ 30 * Demangles a C++ symbol name. 31 * If name is NULL or if the name cannot be demangled, returns NULL. 32 * Otherwise, returns a newly allocated string that contains the demangled name. 36 char* demangle_symbol_name(const char* name);
|
H A D | map_info.h | 37 char name[]; member in struct:map_info
|
H A D | symbol_table.h | 30 char* name; member in struct:__anon298
|
/system/core/include/ctest/ |
H A D | ctest.h | 63 void addNamedTest(const char* name, void (*test)(void));
|
/system/core/include/cutils/ |
H A D | ashmem.h | 19 int ashmem_create_region(const char *name, size_t size);
|
H A D | config_utils.h | 32 const char *name; member in struct:cnode 43 cnode* config_node(const char *name, const char *value); 46 cnode* config_find(cnode *root, const char *name); 48 /* look up a child by name and return the boolean value */ 49 int config_bool(cnode *root, const char *name, int _default); 51 /* look up a child by name and return the string value */ 52 const char* config_str(cnode *root, const char *name, const char *_default); 55 void config_set(cnode *root, const char *name, const char *value);
|
H A D | list.h | 35 #define list_declare(name) \ 36 struct listnode name = { \ 37 .next = &name, \ 38 .prev = &name, \
|
H A D | mq.h | 111 * Gets the destination bound to a name. 113 MqDestination* mqGetDestination(char* name); 116 * Binds a destination to a name. 118 void mqPutDestination(char* name, MqDestination* desintation);
|
H A D | sockets.h | 41 * descriptor of our init-managed Unix domain socket. `name' is the name of the 47 static inline int android_get_control_socket(const char *name) argument 56 name, 60 name, 90 extern int socket_local_server(const char *name, int namespaceId, int type); 91 extern int socket_local_server_bind(int s, const char *name, int namespaceId); 93 const char *name, int namespaceId, int type); 94 extern int socket_local_client(const char *name, int namespaceId, int type);
|
/system/core/include/diskconfig/ |
H A D | diskconfig.h | 82 char *name; member in struct:part_info 116 char *find_part_device(struct disk_info *dinfo, const char *name); 118 struct part_info *find_part(struct disk_info *dinfo, const char *name); 124 char *find_mbr_part(struct disk_info *dinfo, const char *name);
|
/system/core/include/netutils/ |
H A D | ifc.h | 28 extern int ifc_get_ifindex(const char *name, int *if_indexp); 29 extern int ifc_get_hwaddr(const char *name, void *ptr); 31 extern int ifc_up(const char *name); 32 extern int ifc_down(const char *name); 42 extern int ifc_get_addr(const char *name, in_addr_t *addr); 43 extern int ifc_set_addr(const char *name, in_addr_t addr); 44 extern int ifc_add_address(const char *name, const char *address, 46 extern int ifc_del_address(const char *name, const char *address, 48 extern int ifc_set_prefixLength(const char *name, int prefixLength); 49 extern int ifc_set_hwaddr(const char *name, cons [all...] |
/system/core/include/pixelflinger/ |
H A D | pixelflinger.h | 87 // Texture parameter name 225 void (*enable)(void* c, GGLenum name); 226 void (*disable)(void* c, GGLenum name); 227 void (*enableDisable)(void* c, GGLenum name, GGLboolean en);
|
/system/core/include/private/ |
H A D | android_filesystem_config.h | 96 const char *name; member in struct:android_id_info 246 /* If name ends in * then allow partial matches. */
|
/system/core/include/private/pixelflinger/ |
H A D | ggl_context.h | 138 #define GGL_RESERVE_NEEDS(name, l, s) \ 139 const uint32_t GGL_NEEDS_##name##_MASK = (((1LU<<(s))-1)<<l); \ 140 const uint32_t GGL_NEEDS_##name##_SHIFT = (l); 142 #define GGL_BUILD_NEEDS(val, name) \ 143 (((val)<<(GGL_NEEDS_##name##_SHIFT)) & GGL_NEEDS_##name##_MASK) 145 #define GGL_READ_NEEDS(name, n) \ 146 (uint32_t(n & GGL_NEEDS_##name##_MASK) >> GGL_NEEDS_##name##_SHIFT) 148 #define GGL_NEED_MASK(name) (uint32_ [all...] |