Searched defs:name (Results 76 - 100 of 128) sorted by relevance

123456

/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/extras/tests/framebuffer/
H A Dmdp_test.c31 static int open_file(char *name, int *fd, int *len, int *fmt) argument
36 type = name;
37 fn = strchr(name, ':');
/system/netd/
H A DDnsProxyListener.cpp124 char* name = argv[1]; local
125 if (strcmp("^", name) == 0) {
126 name = NULL;
128 name = strdup(name);
154 name ? name : "[nullhost]",
160 new DnsProxyListener::GetAddrInfoHandler(cli, name, service, hints);
/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp469 static int openssl_open(const hw_module_t* module, const char* name, argument
471 if (strcmp(name, KEYSTORE_KEYMASTER) != 0)
512 name: "Keymaster OpenSSL HAL",
/system/core/adb/
H A Dsockets.c410 asocket *create_local_service_socket(const char *name) argument
416 if (!strcmp(name,"jdwp")) {
419 if (!strcmp(name,"track-jdwp")) {
423 fd = service_to_fd(name);
427 D("LS(%d): bound to '%s' via %d\n", s->id, name, fd);
430 if ((!strncmp(name, "root:", 5) && getuid() != 0)
431 || !strncmp(name, "usb:", 4)
432 || !strncmp(name, "tcpip:", 6)) {
442 static asocket *create_host_service_socket(const char *name, const char* serial) argument
446 s = host_service_to_socket(name, seria
[all...]
H A Dfile_sync_client.c75 typedef void (*sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie);
422 static int mkdirs(char *name) argument
425 char *x = name + 1;
431 ret = adb_mkdir(name, 0775);
536 const char *name, void *cookie)
538 printf("%08x %08x %08x %s\n", mode, size, time, name);
572 const char *name, int isdir)
576 int nlen = strlen(name);
593 snprintf((char*) ci->src, ssize, isdir ? "%s%s/" : "%s%s", spath, name);
594 snprintf((char*) ci->dst, dsize, isdir ? "%s%s/" : "%s%s", dpath, name);
535 do_sync_ls_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument
571 mkcopyinfo(const char *spath, const char *dpath, const char *name, int isdir) argument
620 char *name = de->d_name; local
776 const char *name = adb_dirstop(lpath); local
810 sync_ls_build_list_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument
970 const char *name = adb_dirstop(rpath); local
[all...]
H A Dusb_linux.c123 static inline int badname(const char *name) argument
125 while(*name) {
126 if(!isdigit(*name++)) return 1;
574 ** name, we have no further work to do.
/system/core/fs_mgr/
H A Dfs_mgr.c48 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 Dgpttool.c75 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/private/
H A Dandroid_filesystem_config.h96 const char *name; member in struct:android_id_info
246 /* If name ends in * then allow partial matches. */
/system/core/init/
H A Dproperty_service.c202 static int check_mac_perms(const char *name, char *sctx) argument
219 if (selabel_lookup(sehandle_prop, &tctx, name, 1) != 0)
222 if (selinux_check_access(sctx, tctx, class, perm, name) == 0)
233 static int check_control_mac_perms(const char *name, char *sctx) argument
238 * Create a name prefix out of ctl.<service name>
244 int ret = snprintf(ctl_name, sizeof(ctl_name), "ctl.%s", name);
261 static int check_control_perms(const char *name, unsigned int uid, unsigned int gid, char *sctx) { argument
265 return check_control_mac_perms(name, sctx);
269 if (strcmp(control_perms[i].service, name)
283 check_perms(const char *name, unsigned int uid, unsigned int gid, char *sctx) argument
306 property_get(const char *name) argument
321 write_persistent_property(const char *name, const char *value) argument
343 property_set(const char *name, const char *value) argument
[all...]
H A Dutil.c46 * name, or -1U on error.
48 static unsigned int android_name_to_id(const char *name) argument
54 if (!strcmp(info[n].name, name))
63 * numeric or name representation, into the integer uid or gid. Returns -1U on
86 * variable ANDROID_SOCKET_ENV_PREFIX<name> ("ANDROID_SOCKET_foo").
88 int create_socket(const char *name, int type, mode_t perm, uid_t uid, gid_t gid) argument
98 ERROR("Failed to open socket '%s': %s\n", name, strerror(errno));
105 name);
109 ERROR("Failed to unlink old socket '%s': %s\n", name, strerro
195 char name[16]; member in struct:__anon375
249 mtd_name_to_number(const char *name) argument
375 static const char *name = "/dev/__null__"; local
437 import_kernel_cmdline(int in_qemu, void (*import_kernel_nv)(char *name, int in_qemu)) argument
[all...]
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...]
H A Ddevices.c75 char *name; member in struct:perms_
89 char *name; member in struct:platform_node
98 int add_dev_perms(const char *name, const char *attr, argument
105 node->dp.name = strdup(name);
106 if (!node->dp.name)
140 if (strncmp(upath, dp->name + 4, strlen(dp->name + 4)))
143 if (strcmp(upath, dp->name + 4))
172 if (strncmp(path, dp->name, strle
225 add_platform_device(const char *name) argument
253 find_platform_device(const char *name) argument
270 remove_platform_device(const char *name) argument
500 const char *name = uevent->path + 18; /* length of /devices/platform/ */ local
510 const char *name; local
532 const char *name; local
553 const char *name; local
[all...]
H A Dinit_parser.c64 const char *name; member in struct:__anon370
75 #define kw_name(kw) (keyword_info[kw].name)
242 ERROR("prop name too long during expansion of '%s'\n",
255 ERROR("prop name too long in '%s'\n", src);
259 ERROR("using deprecated syntax for specifying property '%s', use ${name} instead\n",
264 ERROR("invalid zero-length prop name in '%s'\n", src);
411 static int valid_name(const char *name) argument
413 if (strlen(name) > 16) {
416 while (*name) {
417 if (!isalnum(*name)
425 service_find_by_name(const char *name) argument
513 queue_property_triggers(const char *name, const char *value) argument
542 const char* name = act->name + strlen("property:"); local
566 queue_builtin_action(int (*func)(int nargs, char **args), char *name) argument
[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/sh/
H A Dexec.c18 * 3. Neither the name of the University nor the names of its contributors
59 * would make the command name "hash" a misnomer.
94 char cmdname[ARB]; /* name of command */
292 padvance(const char **path, const char *name) argument
303 len = p - start + strlen(name) + 2; /* "2" is for '/' and '\0' */
312 strcpy(q, name);
338 char *name; local
357 while ((name = *argptr) != NULL) {
358 if ((cmdp = cmdlookup(name, 0)) != NULL
362 find_command(name,
381 char *name; local
427 find_command(char *name, struct cmdentry *entry, int act, const char *path) argument
817 cmdlookup(const char *name, int add) argument
869 getcmdentry(char *name, struct cmdentry *entry) argument
890 addcmdentry(char *name, struct cmdentry *entry) argument
912 defun(char *name, union node *func) argument
929 unsetfunc(char *name) argument
1009 char *name; local
[all...]
/system/extras/fatblock/
H A Dfat.h30 char name[8]; member in struct:fat_boot_sector
89 char name[11]; member in struct:fat_dirent
121 char *name, uint8_t attr,
/system/extras/tests/fstest/
H A Dperm_checker.c200 static void print_new_rule(const char *name, mode_t mode, uid_t uid, gid_t gid) argument
206 printf("%s %4o %4o %s %d %s %d\n", name, mode, mode, pw->pw_name, uid,
223 static int validate_file(const char *name, mode_t mode, uid_t uid, gid_t gid) argument
231 if (strcmp(name, pr->spec) == 0) {
241 printf("# WARNING # Multiple exact rules for file: %s\n", name);
245 print_new_rule(name, mode, uid, gid);
253 if ((strstr(name, pr->spec) == name) &&
254 (!strchr(name + strlen(pr->spec), '/'))) {
265 if (strstr(name, p
284 validate_link(const char *name, mode_t mode, uid_t uid, gid_t gid) argument
312 validate_dir(const char *name, mode_t mode, uid_t uid, gid_t gid) argument
359 check_path(const char *name) argument
[all...]
/system/extras/tests/sdcard/
H A Dtestcase.h122 const char *name() const { return mName; } function in class:android_test::TestCase
/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...]
/system/core/fastboot/
H A Dengine.c580 void fb_queue_download(const char *name, void *data, unsigned size) argument
585 a->msg = mkmsg("downloading '%s'", name);
H A Dfastboot.c297 " -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...]
/system/core/libpixelflinger/codeflinger/
H A DARMAssembler.cpp86 void ARMAssembler::disassemble(const char* name) argument
88 if (name) {
89 printf("%s:\n", name);
167 int ARMAssembler::generate(const char* name) argument
185 ALOGI(format, name, int(pc()-base()), base(), pc(), duration);
189 int err = qemu_add_mapping(int(base()), name);
197 printf(format, name, int(pc()-base()), base(), pc(), duration);
198 disassemble(name);

Completed in 3617 milliseconds

123456