Searched refs:name (Results 101 - 125 of 184) sorted by relevance

12345678

/system/core/init/
H A Dbuiltins.c53 void add_environment(const char *name, const char *value);
339 const char *name; member in struct:__anon368
373 for (i = 0; mount_flags[i].name; i++) {
374 if (!strcmp(args[n], mount_flags[i].name)) {
380 if (!mount_flags[i].name) {
550 const char *name = args[1]; local
557 ERROR("cannot expand '%s' while assigning to '%s'\n", value, name);
560 property_set(name, prop_val);
772 char *name = args[i]; local
773 v = strchr(name, '
[all...]
/system/core/libnetutils/
H A Ddhcpclient.c254 const char *name; local
266 name = "BOOTREQUEST";
268 name = "BOOTREPLY";
270 name = "????";
272 name, msg->op, msg->htype, msg->hlen, msg->hops);
331 name = dhcp_type_to_name(x[2]);
333 name = NULL;
334 ALOGD("op %d len %d {%s} %s", x[0], optsz, buf, name == NULL ? "" : name);
/system/core/charger/
H A Dcharger.c80 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/libcorkscrew/
H A Dsymbol_table.c163 table->symbols[symbol_index].name = strdup(dynstr + dynsyms[i].st_name);
167 symbol_index, table->symbols[symbol_index].name,
181 table->symbols[symbol_index].name = strdup(str + syms[i].st_name);
185 symbol_index, table->symbols[symbol_index].name,
208 free(table->symbols[i].name);
H A Dbacktrace.c256 if (mi->name[0]) {
257 symbol->map_name = strdup(mi->name);
286 if (mi->name[0]) {
287 symbol->map_name = strdup(mi->name);
292 symbol->symbol_name = strdup(s->name);
/system/core/sh/
H A Dmiscbltin.c18 * 3. Neither the name of the University nor the names of its contributors
292 const char *name; member in struct:limits
366 for (l = limits; l->name && l->option != what; l++)
368 if (!l->name)
394 for (l = limits; l->name; l++) {
401 out1fmt("%-20s ", l->name);
/system/core/toolbox/
H A Diftop.c14 * * Neither the name of Google, Inc. nor the names of its contributors
55 char name[IFNAMSIZ]; member in struct:if_stats
143 ret = sscanf(p, "%" STR(IFNAMSIZ) "s", ifs->name);
153 c = strchr(ifs->name, ':');
168 ifs->mtu = get_mtu(ifs->name);
192 "name", "MTU", "bytes", "packets", "errs", "drpd", "bytes",
203 new->name, new->mtu,
H A Dps.c42 char *ptr, *name, *state; local
82 name = ptr;
84 *ptr++ = '\0'; // and null-terminate name.
147 if(!namefilter || !strncmp(name, namefilter, strlen(namefilter))) {
157 printf("%-30s %-9s %-5d %-5d %s\n", macline, user, pid, ppid, cmdline[0] ? cmdline : name);
173 printf(" %08x %08x %s %s", wchan, eip, state, cmdline[0] ? cmdline : name);
H A Ddd.h19 * 3. Neither the name of the University nor the names of its contributors
54 const char *name; /* name */ member in struct:__anon476
H A Dgetevent.c37 while(labels->name && value != labels->value) {
40 return labels->name;
300 char name[80]; local
322 name[sizeof(name) - 1] = '\0';
325 if(ioctl(fd, EVIOCGNAME(sizeof(name) - 1), &name) < 1) {
326 //fprintf(stderr, "could not get device name for %s, %s\n", device, strerror(errno));
327 name[0] = '\0';
360 printf(" name
[all...]
/system/extras/showslab/
H A Dshowslab.c14 #define SLABINFO_NAME_LEN 32 /* cache name size (will truncate) */
20 char name[SLABINFO_NAME_LEN]; /* name of this cache */ member in struct:slab_info
54 * <name> <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab>
108 slabdata %lu %lu %*d", p->name,
226 return (strcmp(a->name, b->name) < 0 ) ? 1: 0;
344 p->name);
/system/bluetooth/tools/
H A Dasocket_test.c672 char *name; member in struct:__anon261
690 char *name; member in struct:__anon262
706 for (i = 0; type_table[i].name; i++) {
707 printf("\t%s\n", type_table[i].name);
710 for (i = 0; action_table[i].name; i++) {
711 printf("\t%s\n", action_table[i].name);
723 for (i = 0; type_table[i].name; i++) {
724 if (!strcmp(argv[1], type_table[i].name)) {
733 for (i = 0; action_table[i].name; i++) {
734 if (!strcmp(argv[2], action_table[i].name)) {
[all...]
H A Dsocktest.c744 char *name; member in struct:__anon267
764 char *name; member in struct:__anon268
780 for (i = 0; type_table[i].name; i++) {
781 printf("\t%s\n", type_table[i].name);
784 for (i = 0; action_table[i].name; i++) {
785 printf("\t%s\n", action_table[i].name);
797 for (i = 0; type_table[i].name; i++) {
798 if (!strcmp(argv[1], type_table[i].name)) {
807 for (i = 0; action_table[i].name; i++) {
808 if (!strcmp(argv[2], action_table[i].name)) {
[all...]
H A Dpipetest.c387 char *name; member in struct:__anon264
409 for (i = 0; function_table[i].name; i++) {
410 printf("\tpipetest %s\n", function_table[i].name);
421 for (i = 0; function_table[i].name; i++) {
422 if (!strcmp(argv[1], function_table[i].name)) {
423 printf("%s\n", function_table[i].name);
/system/extras/tests/framebuffer/
H A Drefresh.c36 char name[64]; local
38 snprintf(name, 64, device_template[i], 0);
39 fd = open(name, O_RDWR, 0);
/system/core/libctest/
H A Dctest.c58 void addNamedTest(const char* name, TestCase* test) { argument
63 testSuite->testNames[index] = name;
131 // TODO: Report file name.
/system/extras/libpagemap/include/pagemap/
H A Dpagemap.h75 char *name; member in struct:pm_map
150 /* Get the name, flags, start/end address, or offset of a map. */
151 #define pm_map_name(map) ((map)->name)
/system/netd/
H A DThrottleController.cpp40 extern "C" int ifc_up(const char *name);
41 extern "C" int ifc_down(const char *name);
/system/core/debuggerd/
H A Dtombstone.c195 _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/adb/
H A Dsysdeps_win32.c107 char name[32]; member in struct:FHRec_
233 D( "adb_read: could not read %d bytes from %s\n", len, f->name );
248 D( "adb_file_write: could not write %d bytes from %s\n", len, f->name );
356 snprintf( f->name, sizeof(f->name), "%d(%s)", _fh_to_int(f), path );
396 snprintf( f->name, sizeof(f->name), "%d(%s)", _fh_to_int(f), path );
446 D( "adb_shutdown: %s\n", f->name);
460 D( "adb_close: %s\n", f->name);
609 snprintf( f->name, sizeo
[all...]
/system/core/libcorkscrew/arch-arm/
H A Dptrace-arm.c55 ALOGV("Parsed EXIDX header info for %s: start=0x%08x, size=%d", mi->name,
/system/core/libsparse/
H A DAndroid.mk46 # Need a unique module name, but exe should still be called simg2img
67 # Need a unique module name, but exe should still be called simg2img
/system/extras/bugmailer/src/com/android/commands/sendbug/
H A DSendBug.java108 info.activityInfo.name);
135 intent.putExtra(Intent.EXTRA_EMAIL, new String[]{sendToAccount.name});
161 if (EMAIL_REGEX.matcher(account.name).matches()) {
165 if (account.name.endsWith(preferredDomain)) {
/system/core/libusbhost/
H A Dusbhost.c73 static inline int badname(const char *name) argument
75 while(*name) {
76 if(!isdigit(*name++)) return 1;
210 if ((event->mask & IN_CREATE) && !strcmp(event->name, "bus")) {
213 } else if ((event->mask & IN_DELETE) && !strcmp(event->name, "bus")) {
222 i = atoi(event->name);
223 snprintf(path, sizeof(path), "%s/%s", USB_FS_DIR, event->name);
242 snprintf(path, sizeof(path), "%s/%03d/%s", USB_FS_DIR, i, event->name);
356 int usb_device_get_unique_id_from_name(const char* name) argument
359 sscanf(name, USB_FS_ID_SCANNE
[all...]
/system/extras/ext4_utils/
H A Dext4fixup.c626 char name[256]; local
688 printf("fixing up short rec_len for diretory entry for %s\n", name);
699 strncpy(name, dirp->name, dirp->name_len);
700 name[dirp->name_len]='\0';
712 if ( is_dir && (strcmp(name, ".") && strcmp(name, "..")) &&
719 critical_error("inode %d for name %s does not point to a directory\n",
720 dirp->inode & 0x7fffffff, name);
744 printf("Directory %s\n", name);
[all...]

Completed in 112 milliseconds

12345678