Searched refs:name (Results 51 - 75 of 182) sorted by relevance

12345678

/system/core/toolbox/
H A Dschedtop.c18 char name[64]; member in struct:thread_info
95 char *name, *name_end; local
119 name = NULL;
123 name = line;
124 name_len = strlen(name);
127 if (!name) {
134 name = strchr(line, '(');
135 if (name == NULL)
137 name_end = strchr(name, ')');
140 name
[all...]
H A Ddd.c19 * 3. Neither the name of the University nor the names of its contributors
159 if (in.name == NULL) {
160 in.name = "stdin";
163 in.fd = open(in.name, O_RDONLY, 0);
166 in.name, strerror(errno));
184 if (out.name == NULL) {
187 out.name = "stdout";
191 out.fd = open(out.name, O_RDWR | OFLAGS /*, DEFFILEMODE */);
198 out.fd = open(out.name, O_WRONLY | OFLAGS /*, DEFFILEMODE */);
203 out.name, strerro
1066 const char *name; member in struct:arg
1194 strsuftoll(const char* name, const char* arg, int def, unsigned int max) argument
1300 const char *name; member in struct:conv
[all...]
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);
/system/core/init/
H A Dparser.c37 RAW("service %s\n", svc->name);
45 RAW(" socket %s %s 0%o\n", si->name, si->type, si->perm);
51 RAW("on %s\n", act->name);
113 const char *name; member in struct:__anon70
124 #define kw_name(kw) (keyword_info[kw].name)
410 static int valid_name(const char *name) argument
412 if (strlen(name) > 16) {
415 while (*name) {
416 if (!isalnum(*name) && (*name !
424 service_find_by_name(const char *name) argument
512 queue_property_triggers(const char *name, const char *value) argument
540 const char* name = act->name + strlen("property:"); local
[all...]
H A Ddevices.c80 char *name; member in struct:perms_
179 int add_devperms_partners(const char *name, mode_t perm, unsigned int uid, argument
186 size = strlen(name) + 1;
187 if ((node->dp.name = malloc(size)) == NULL)
190 memcpy(node->dp.name, name, size);
205 static int qemu_perm(const char* name, mode_t perm, unsigned int uid, argument
212 buf = malloc(strlen(name) + 1);
216 strlcpy(buf, name, strlen(name)
228 qemu_cmdline(const char* name, const char *value) argument
385 char *base, *name; local
[all...]
/system/core/fastboot/
H A Dgenkey.sh21 -out $1.p12 -name $1 -passout pass:"$2"
H A Dfastboot.h50 void fb_queue_download(const char *name, void *data, unsigned size);
/system/core/include/cutils/
H A Dmq.h111 * 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 Dashmem.h19 int ashmem_create_region(const char *name, size_t size);
/system/core/nexus/
H A DProperty.h37 Property(const char *name, bool ro, int type, int elements);
56 StringProperty(const char *name, bool ro, int elements);
72 StringPropertyHelper(const char *name, bool ro,
80 IntegerProperty(const char *name, bool ro, int elements);
95 IntegerPropertyHelper(const char *name, bool ro, int *buffer);
102 IPV4AddressProperty(const char *name, bool ro, int elements);
117 IPV4AddressPropertyHelper(const char *name, bool ro, struct in_addr *buf);
129 PropertyNamespace(const char *name);
H A DVpnController.h31 VpnIntegerProperty(VpnController *c, const char *name, bool ro,
43 VpnStringProperty(VpnController *c, const char *name, bool ro,
55 VpnIPV4AddressProperty(VpnController *c, const char *name, bool ro,
/system/core/include/diskconfig/
H A Ddiskconfig.h81 char *name; member in struct:part_info
115 char *find_part_device(struct disk_info *dinfo, const char *name);
117 struct part_info *find_part(struct disk_info *dinfo, const char *name);
123 char *find_mbr_part(struct disk_info *dinfo, const char *name);
/system/bluetooth/tools/
H A Dsock_shutdown_test.c254 char *name; member in struct:__anon9
262 char *name; member in struct:__anon10
278 for (i = 0; type_table[i].name; i++) {
279 printf("\t%s\n", type_table[i].name);
282 for (i = 0; action_table[i].name; i++) {
283 printf("\t%s\n", action_table[i].name);
295 for (i = 0; type_table[i].name; i++) {
296 if (!strcmp(argv[1], type_table[i].name)) {
305 for (i = 0; action_table[i].name; i++) {
306 if (!strcmp(argv[2], action_table[i].name)) {
[all...]
/system/core/libcutils/
H A Dashmem-dev.c39 * `name' is an optional label to give the region (visible in /proc/pid/maps)
42 int ashmem_create_region(const char *name, size_t size) argument
50 if (name) {
53 strlcpy(buf, name, sizeof(buf));
H A Dtztime.c213 static int tzload P((const char * name, struct state * sp,
215 static int tzload_uncached P((const char * name, struct state * sp,
217 static int tzparse P((const char * name, struct state * sp,
311 tzload(const char *name, struct state * const sp, const int doextend) argument
313 if (name) {
315 if (0 == strcmp(name, "UTC")) {
317 tzload_uncached(name, &g_utc, 1);
325 if (g_cacheNames[i] && 0 == strcmp(name, g_cacheNames[i])) {
327 //printf("tzload: hit: %s\n", name);
331 //printf("tzload: miss: %s\n", name);
408 char name[NAMELEN + 1]; local
[all...]
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/inc/
H A Dconsole.h63 PS8 name; /* Parameter name. Shouldn't be allocated on stack! */ member in struct:ConParm_t
83 const PS8 name,
87 const PS8 name,
/system/extras/showmap/
H A Dshowmap.c25 char name[1]; member in struct:mapinfo
56 strcpy(mi->name, "[stack]");
58 strcpy(mi->name, "[lib_bss]");
60 strcpy(mi->name, "[anon]");
63 strcpy(mi->name, line + 49);
113 if((!strcmp(mi->name, milist->name) && (mi->name[0] != '['))
114 || !strcmp(mi->name,"[lib_bss]")) {
181 mi->name);
[all...]
/system/vold/
H A DProcess.cpp104 // append the file name, after truncating to parent directory
154 int Process::checkSymLink(int pid, const char *mountPoint, const char *name) { argument
158 sprintf(path, "/proc/%d/%s", pid, name);
192 char name[PATH_MAX]; local
196 getProcessName(pid, name, sizeof(name));
201 SLOGE("Process %s (%d) has open file %s", name, pid, openfile);
203 SLOGE("Process %s (%d) has open filemap for %s", name, pid, openfile);
205 SLOGE("Process %s (%d) has cwd within %s", name, pid, path);
207 SLOGE("Process %s (%d) has chroot within %s", name, pi
[all...]
/system/core/adb/
H A Dfile_sync_service.c34 static int mkdirs(char *name) argument
37 char *x = name + 1;
39 if(name[0] != '/') return -1;
45 ret = adb_mkdir(name, 0775);
47 D("mkdir(\"%s\") -> %s\n", name, strerror(errno));
360 char name[1025]; local
378 if(readx(fd, name, namelen)) {
382 name[namelen] = 0;
385 D("sync: '%s' '%s'\n", (char*) &msg.req, name);
389 if(do_stat(fd, name)) got
[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
774 const char *name = adb_dirstop(lpath); local
808 sync_ls_build_list_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument
968 const char *name = adb_dirstop(rpath); local
[all...]
/system/core/sh/
H A Dmknodes.sh18 # 3. Neither the name of The NetBSD Foundation nor the names of its
88 name=$1
94 * ) name=; shift 2; type="$*";;
96 echo " $type$name;"
162 name=$1
171 echo " ${fn}(n->$struct.$name${cl};"
197 name=$1
205 f="$struct.$name"
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
/system/core/debuggerd/
H A Dutility.h36 char name[]; member in struct:mapinfo
50 /* Map a pc address to the name of the containing ELF file */
/system/core/include/ctest/
H A Dctest.h63 void addNamedTest(const char* name, void (*test)(void));

Completed in 308 milliseconds

12345678