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

12345678

/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);
H A Djobs.c18 * 3. Neither the name of the University nor the names of its contributors
676 getjobpgrp(const char *name) argument
680 jp = getjob(name, 1);
687 * Convert a job name to a job structure.
691 getjob(const char *name, int noerror) argument
699 if (name == NULL) {
704 } else if (name[0] == '%') {
705 if (is_number(name + 1)) {
706 jobno = number(name + 1) - 1;
707 } else if (!name[
[all...]
/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 Dgetevent.c127 char name[80]; local
149 name[sizeof(name) - 1] = '\0';
152 if(ioctl(fd, EVIOCGNAME(sizeof(name) - 1), &name) < 1) {
153 //fprintf(stderr, "could not get device name for %s, %s\n", device, strerror(errno));
154 name[0] = '\0';
187 printf(" name: \"%s\"\n", name);
252 //printf("%d: %08x \"%s\"\n", event->wd, event->mask, event->len ? event->name
[all...]
H A Ddd.h19 * 3. Neither the name of the University nor the names of its contributors
52 const char *name; /* name */ member in struct:__anon152
H A Dps.c40 char *ptr, *name, *state; local
78 name = ptr;
80 *ptr++ = '\0'; // and null-terminate name.
143 if(!namefilter || !strncmp(name, namefilter, strlen(namefilter))) {
160 printf(" %08x %08x %s %s", wchan, eip, state, cmdline[0] ? cmdline : name);
H A Dtop.c14 * * Neither the name of Google, Inc. nor the names of its contributors
58 char name[PROC_NAME_LEN]; member in struct:proc_info
300 strcpy(proc->name, cur_proc.name);
332 /* Split at first '(' and last ')' to get process name. */
372 strncpy(proc->name, line, PROC_NAME_LEN);
373 proc->name[PROC_NAME_LEN-1] = 0;
375 proc->name[0] = 0;
482 proc->vss / 1024, proc->rss * getpagesize() / 1024, proc->policy, user_str, proc->name[0] != 0 ? proc->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:__anon5
690 char *name; member in struct:__anon6
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:__anon11
764 char *name; member in struct:__anon12
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:__anon8
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/core/libpixelflinger/codeflinger/
H A DARMAssembler.cpp81 void ARMAssembler::disassemble(const char* name) argument
83 if (name) {
84 printf("%s:\n", name);
162 int ARMAssembler::generate(const char* name) argument
180 LOGI(format, name, int(pc()-base()), base(), pc(), duration);
184 int err = qemu_add_mapping(int(base()), name);
192 printf(format, name, int(pc()-base()), base(), pc(), duration);
193 disassemble(name);
/system/core/nexus/
H A DController.cpp38 Controller::Controller(const char *name, PropertyManager *propMngr, argument
41 mName = strdup(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);
H A DCommandListener.cpp38 extern "C" int ifc_get_hwaddr(const char *name, void *ptr);
39 extern "C" int ifc_get_info(const char *name, in_addr_t *addr, in_addr_t *mask, unsigned *flags);
40 extern "C" int ifc_set_addr(const char *name, in_addr_t addr);
41 extern "C" int ifc_set_mask(const char *name, in_addr_t mask);
42 extern "C" int ifc_up(const char *name);
43 extern "C" int ifc_down(const char *name);
688 char name[31]; local
691 name, rx, &d, &d, &d, &d, &d, &d, &d, tx);
692 char *rxString = strchr(name, ':');
695 // when the rx count gets too big it changes from "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...]
H A Dadb.c275 /* save product name in device structure */
340 char *name = (char*) p->data; local
341 name[p->msg.data_length > 0 ? p->msg.data_length - 1 : 0] = 0;
342 s = create_local_service_socket(name);
481 int local_name_to_fd(const char *name) argument
485 if(!strncmp("tcp:", name, 4)){
487 port = atoi(name + 4);
493 if(!strncmp(name, "local:", 6)) {
494 return socket_local_server(name + 6,
496 } else if(!strncmp(name, "localabstrac
[all...]
H A Dsockets.c383 asocket *create_local_service_socket(const char *name) argument
389 if (!strcmp(name,"jdwp")) {
392 if (!strcmp(name,"track-jdwp")) {
396 fd = service_to_fd(name);
400 D("LS(%d): bound to '%s'\n", s->id, name);
405 static asocket *create_host_service_socket(const char *name, const char* serial) argument
409 s = host_service_to_socket(name, serial);
412 D("LS(%d) bound to '%s'\n", s->id, name);
663 /* try to find a local service with this name.
/system/core/libcutils/
H A Dproperties.c71 strcpy((char*) msg.name, key);
96 char name[PROP_NAME_MAX]; local
102 __system_property_read(pi, name, value);
103 propfn(name, value, cookie);
H A Dtzstrftime.c25 ** by the University of California, Berkeley. The name of the
733 char * name; local
747 name = setlocale(LC_TIME, (char *) NULL);
748 if (name == NULL || *name == '\0')
751 ** If the locale name is the same as our cache, use the cache.
754 if (lbuf != NULL && strcmp(name, lbuf) == 0) {
765 namesize = strlen(name) + 1;
770 (void) sprintf(filename, "%s/%s/%s", locale_home, name, lc_time);
778 lc_time, name);
[all...]
/system/bluetooth/data/
H A Dauto_pairing.conf18 // Blacklisting by Partial Name (if name starts with)
/system/core/libacc/tests/
H A Dmain.cpp40 ACCvoid* symbolLookup(ACCvoid* pContext, const ACCchar* name) { argument
41 return (ACCvoid*) dlsym(RTLD_DEFAULT, name);

Completed in 204 milliseconds

12345678