Searched refs:name (Results 76 - 100 of 184) sorted by relevance

12345678

/system/core/sh/
H A Dvar.c18 * 3. Neither the name of the University nor the names of its contributors
195 setvarsafe(const char *name, const char *val, int flags) argument
208 setvar(name, val, flags);
220 setvar(const char *name, const char *val, int flags) argument
231 p = name;
243 namelen = p - name;
245 error("%.*s: bad variable name", namelen, name);
253 q = name;
267 * the first argument as name
346 lookupvar(const char *name) argument
365 bltinlookup(const char *name, int doall) argument
507 showvars(const char *name, int flag, int show_value) argument
564 char *name; local
598 char *name; local
617 mklocal(const char *name, int flags) argument
797 find_var(const char *name, struct var ***vppp, int *lenp) argument
[all...]
H A Dbuiltins.h8 const char *name; member in struct:builtincmd
H A Dmain.c18 * 3. Neither the name of the University nor the names of its contributors
279 read_profile(const char *name) argument
286 if ((fd = open(name, O_RDONLY)) >= 0)
315 readcmdfile(char *name) argument
320 if ((fd = open(name, O_RDONLY)) >= 0)
323 error("Can't open %s", name);
H A Doptions.c18 * 3. Neither the name of the University nor the names of its contributors
217 minus_o(char *name, int val) argument
221 if (name == NULL) {
224 out1fmt("%-16s%s\n", optlist[i].name,
228 if (equal(name, optlist[i].name)) {
232 error("Illegal option -o %s", name);
259 for (i = 0; optlist[i].name; i++)
H A Dexpand.c18 * 3. Neither the name of the University nor the names of its contributors
129 * perform splitting and file name expansion. When arglist is NULL, perform
782 varisset(char *name, int nulok) argument
784 if (*name == '!')
786 else if (*name == '@' || *name == '*') {
798 } else if (is_digit(*name)) {
800 int num = atoi(name);
823 varvalue(char *name, int quoted, int subtype, int flag) argument
847 switch (*name) {
1122 expmeta(char *enddir, char *name) argument
1251 addfname(char *name) argument
[all...]
/system/core/toolbox/
H A Dwatchprops.c27 char name[PROP_NAME_MAX]; local
31 __system_property_read(pi, name, value);
37 fprintf(stderr,"%10d %s = '%s'\n", (int) time(0), name, value);
H A Dnotify.c98 printf("%s: %08x %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->cookie, event->len ? event->name : "");
100 printf("%s: %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->len ? event->name : "");
102 printf("%d: %08x \"%s\"\n", event->wd, event->mask, event->len ? event->name : "");
111 strcat(filename, event->name);
114 display_name = (verbose >= 2 || event->len == 0) ? filename : event->name;
/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/core/include/corkscrew/
H A Dmap_info.h37 char name[]; member in struct:map_info
/system/core/include/ctest/
H A Dctest.h63 void addNamedTest(const char* name, void (*test)(void));
/system/vold/
H A DProcess.h24 static int checkSymLink(int pid, const char *path, const char *name);
/system/core/init/
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...]
H A Dparser.c23 RAW("service %s\n", svc->name);
31 RAW(" socket %s %s 0%o\n", si->name, si->type, si->perm);
37 RAW("on %s\n", act->name);
/system/core/libdiskconfig/
H A Ddiskconfig.c105 pinfo->name = strdup(partnode->name);
111 ALOGE("Partition type required: %s", pinfo->name);
353 ALOGE("Zero-size partition '%s' is invalid.", part->name);
367 "'%s'\n", part->type, part->name);
487 printf("\tname = %s\n", part->name);
504 find_part(struct disk_info *dinfo, const char *name) argument
511 if (!strcmp(pinfo->name, name))
520 find_part_device(struct disk_info *dinfo, const char *name) argument
[all...]
H A Dconfig_mbr.c167 "(name = '%s')", pinfo->name);
262 ALOGE("Cannot create partition %d (%s).", cnt, pinfo->name);
282 ALOGE("Not enough space to add parttion '%s'.", pinfo->name);
290 /* Returns the device path of the partition referred to by 'name'
294 find_mbr_part(struct disk_info *dinfo, const char *name) argument
302 if (!strcmp(plist[num-1].name, name))
319 ALOGE("Device name is too long?!");
/system/extras/librank/
H A Dlibrank.c41 char *name; member in struct:library_info
72 struct library_info *get_library(char *name) { argument
77 if (!strcmp(name, library_name_blacklist[i]))
81 if (!strcmp(libraries[i]->name, name))
99 library->name = malloc(strlen(name) + 1);
100 if (!library->name) {
101 fprintf(stderr, "Couldn't allocate space for library name: %s\n", strerror(errno));
104 strcpy(library->name, nam
[all...]
/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/core/include/private/pixelflinger/
H A Dggl_context.h138 #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...]
/system/core/debuggerd/
H A Dgetevent.c25 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);
/system/core/libnl_2/genl/
H A Dgenl.c250 /* Checks the netlink cache to find family reference by name string */
254 const char *name)
267 strncpy(gf->gf_name, name, GENL_NAMSIZ);
275 int genl_ctrl_resolve(struct nl_sock *sk, const char *name) argument
282 if (strcmp(name, "nlctrl") == 0)
285 if (strcmp(name, "nl80211") != 0) {
286 fprintf(stderr, "%s is not supported\n", name);
291 gf = genl_ctrl_search_by_name(cache, name);
253 genl_ctrl_search_by_name(struct nl_cache *cache, \ const char *name) argument
/system/extras/libpagemap/
H A Dpm_process.c225 char line[MAX_LINE], name[MAX_LINE], perms[MAX_PERMS]; local
265 &map->start, &map->end, perms, &map->offset, name);
267 map->name = malloc(strlen(name) + 1);
268 if (!map->name) {
275 strcpy(map->name, name);
/system/core/fastboot/
H A Dfastboot.h59 void fb_queue_download(const char *name, void *data, unsigned size);
/system/extras/tests/sdcard/
H A Dstopwatch.h62 // StopWatch watch("my name", 20);
85 // @param name To be used when the results are displayed. No
91 StopWatch(const char *name, size_t capacity = kUseDefaultCapacity);
/system/core/run-as/
H A Dpackage.c291 * ending at 'end' equals 'name'. Return new position (after name)
294 * This function fails is 'name' is NULL, empty or contains any space.
297 compare_name(const char* p, const char* end, const char* name) argument
299 /* 'name' must not be NULL or empty */
300 if (name == NULL || name[0] == '\0' || p == end)
303 /* compare characters to those in 'name', excluding spaces */
304 while (*name) {
311 if (*p != *name)
[all...]
/system/core/cpio/
H A Dmkbootfs.c39 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;

Completed in 154 milliseconds

12345678