Searched defs:name (Results 51 - 75 of 128) sorted by relevance

123456

/system/vold/
H A DDevmapper.cpp90 ioctlInit(io2, DEVMAPPER_BUFFER_SIZE, n->name, 0);
100 asprintf(&tmp, "%s %llu:%llu (no status available)", n->name, MAJOR(n->dev), MINOR(n->dev));
102 asprintf(&tmp, "%s %llu:%llu %d %d 0x%.8x %llu:%llu", n->name, MAJOR(n->dev),
118 const char *name, unsigned flags) {
126 if (name) {
127 int ret = strlcpy(io->name, name, sizeof(io->name));
128 if (ret >= sizeof(io->name))
133 int Devmapper::lookupActive(const char *name, cha argument
117 ioctlInit(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) argument
166 create(const char *name, const char *loopFile, const char *key, unsigned int numSectors, char *ubuffer, size_t len) argument
264 destroy(const char *name) argument
[all...]
/system/bluetooth/tools/
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);
H A Dsock_shutdown_test.c254 char *name; member in struct:__anon265
262 char *name; member in struct:__anon266
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/adb/
H A Dservices.c372 static int create_subproc_thread(const char *name) argument
378 if(name) {
379 ret_fd = create_subprocess(SHELL_COMMAND, "-c", name, &pid);
403 int service_to_fd(const char *name) argument
407 if(!strncmp(name, "tcp:", 4)) {
408 int port = atoi(name + 4);
409 name = strchr(name + 4, ':');
410 if(name == 0) {
417 ret = socket_network_client(name
525 host_service_to_socket(const char* name, const char *serial) argument
[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;
/system/core/fastboot/
H A Dusb_linux.c78 static inline int badname(const char *name) argument
80 while(*name) {
81 if(!isdigit(*name++)) return 1;
/system/core/include/diskconfig/
H A Ddiskconfig.h82 char *name; member in struct:part_info
116 char *find_part_device(struct disk_info *dinfo, const char *name);
118 struct part_info *find_part(struct disk_info *dinfo, const char *name);
124 char *find_mbr_part(struct disk_info *dinfo, const char *name);
/system/core/init/
H A Dinit.h45 const char *name; member in struct:action
53 const char *name; member in struct:socketinfo
62 const char *name; member in struct:svcenvinfo
84 const char *name; member in struct:service
120 void notify_service_state(const char *name, const char *state);
122 struct service *service_find_by_name(const char *name);
133 void property_changed(const char *name, const char *value);
/system/core/libcutils/
H A Dtzstrftime.c26 ** by the University of California, Berkeley. The name of the
734 char * name; local
748 name = setlocale(LC_TIME, (char *) NULL);
749 if (name == NULL || *name == '\0')
752 ** If the locale name is the same as our cache, use the cache.
755 if (lbuf != NULL && strcmp(name, lbuf) == 0) {
766 namesize = strlen(name) + 1;
771 (void) sprintf(filename, "%s/%s/%s", locale_home, name, lc_time);
779 lc_time, name);
[all...]
/system/core/libnetutils/
H A Ddhcp_utils.c66 static int wait_for_property(const char *name, const char *desired_value, int maxwait) argument
77 if (property_get(name, value, NULL)) {
99 /* Interface name after converting p2p0-p2p0-X to p2p to reuse system properties */
192 /* Interface name after converting p2p0-p2p0-X to p2p to reuse system properties */
/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/core/libpixelflinger/codeflinger/
H A Ddisassem.c20 * 4. The name of the company nor the name of the author may be used to
111 char* name; member in struct:arm32_insn
320 while (i_ptr->name) {
335 di->di_printf("%s", i_ptr->name);
337 di->di_printf("%s%s", i_ptr->name, insn_condition(insn));
/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/sh/
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++)
/system/core/toolbox/
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 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 Dls.c35 static int listpath(const char *name, int flags);
173 const char *name; local
175 /* name is anything after the final '/', or the whole path if none*/
176 name = strrchr(path, '/');
177 if(name == 0) {
178 name = path;
180 name++;
208 date, name);
212 mode, user, group, s.st_size, date, name);
231 mode, user, group, date, name, linkt
249 const char *name; local
334 listdir(const char *name, int flags) argument
412 listpath(const char *name, int flags) argument
[all...]
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 Dschedtop.c20 char name[64]; member in struct:thread_info
97 char *name, *name_end; local
121 name = NULL;
125 name = line;
126 name_len = strlen(name);
129 if (!name) {
136 name = strchr(line, '(');
137 if (name == NULL)
139 name_end = strchr(name, ')');
142 name
[all...]
/system/extras/ext4_utils/
H A Dcontents.c56 struct ext4_dir_entry_2 *prev, u32 inode, const char *name,
59 u8 name_len = strlen(name);
79 memcpy(dentry->name, name, name_len);
55 add_dentry(u8 *data, u32 *offset, struct ext4_dir_entry_2 *prev, u32 inode, const char *name, u8 file_type) argument
/system/extras/fatblock/
H A Dimport.c152 char name[11]; member in struct:item
261 if (convert_name(item->name, de->d_name)) {
316 item->name, item->is_dir ? FAT_ATTR_SUBDIR : 0,
/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/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/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/extras/showmap/
H A Dshowmap.c27 char name[1]; member in struct:mapinfo
30 static int is_library(const char *name) { argument
31 int len = strlen(name);
32 return len >= 4 && name[0] == '/'
33 && name[len - 3] == '.' && name[len - 2] == 's' && name[len - 1] == 'o';
43 char name[128]; local
57 strlcpy(name, line + name_pos, sizeof(name));
[all...]

Completed in 2192 milliseconds

123456