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

12345678

/system/vold/
H A DProcess.h24 static int checkSymLink(int pid, const char *path, const char *name);
/system/wlan/ti/wilink_6_1/platforms/os/linux/src/
H A Dstack_profile.c17 * * Neither the name Texas Instruments nor the names of its
135 struct task_struct *get_task_struct_ptr_by_name(char *name) argument
146 if (!strcmp(name, p->comm)) {
155 unsigned long save_stack_context(char *name, int id) argument
166 p = get_task_struct_ptr_by_name(name);
/system/core/libdiskconfig/
H A Ddiskconfig.c105 pinfo->name = strdup(partnode->name);
111 LOGE("Partition type required: %s", pinfo->name);
353 LOGE("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 LOGE("Cannot create partition %d (%s).", cnt, pinfo->name);
282 LOGE("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 LOGE("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/core/debuggerd/
H A Dutility.c57 /* Map a pc address to the name of the containing ELF file */
62 return mi->name;
75 if (strstr(mi->name, ".so")) {
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/include/acc/
H A Dacc.h51 typedef ACCvoid* (*ACCSymbolLookupFn)(ACCvoid* pContext, const ACCchar * name);
74 void accGetScriptLabel(ACCscript* script, const ACCchar * name,
/system/core/libacc/tests/data/
H A Dbellard.otccex.c77 /* no local name space is supported, but local variables ARE
79 variable name as local variable (which is a bad habbit), you
121 help(name)
123 printf("usage: %s n [base]\n", name);
/system/core/nexus/
H A DInterfaceConfig.h50 int set(const char *name, const char *value);
51 const char *get(const char *name, char *buffer, size_t maxsize);
H A DPropertyManager.cpp54 Property *PropertyManager::lookupProperty_UNLOCKED(PropertyNamespace *ns, const char *name) { argument
59 if (!strcasecmp(name, (*it)->getName()))
194 int PropertyManager::set(const char *name, const char *value) { argument
196 LOGD("set %s = '%s'", name, value);
210 if (!strcasecmp(name, fqn)) {
218 LOGE("Property %s not found", name);
224 const char *PropertyManager::get(const char *name, char *buffer, size_t max) { argument
239 if (!strcasecmp(name, fqn)) {
249 LOGE("Property %s not found", name);
H A DController.h47 Controller(const char *name, PropertyManager *propMngr,
/system/wlan/ti/sta_dk_4_0_4_32/pform/common/inc/
H A Dcli_cu_common.h17 **| * Neither the name Texas Instruments nor the names of its |**
103 char *name; member in struct:__anon952
109 print("%d - %s%s", arr[i].value, arr[i].name, (i>=SIZE_ARR(arr)-1) ? "\n" : ", " ); \
/system/wlan/ti/wilink_6_1/platforms/os/common/inc/
H A Dcli_cu_common.h17 * * Neither the name Texas Instruments nor the names of its
106 char *name; member in struct:__anon1463
111 print("%d - %s%s", arr[i].value, arr[i].name, (i>=SIZE_ARR(arr)-1) ? "\n" : ", " ); \
/system/core/sh/
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 Dnotify.c97 printf("%s: %08x %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->cookie, event->len ? event->name : "");
99 printf("%s: %08x \"%s\"\n", file_names[event->wd + id_offset], event->mask, event->len ? event->name : "");
101 printf("%d: %08x \"%s\"\n", event->wd, event->mask, event->len ? event->name : "");
110 strcat(filename, event->name);
113 display_name = (verbose >= 2 || event->len == 0) ? filename : event->name;
/system/core/include/private/pixelflinger/
H A Dggl_context.h118 #define GGL_RESERVE_NEEDS(name, l, s) \
119 const uint32_t GGL_NEEDS_##name##_MASK = (((1LU<<(s))-1)<<l); \
120 const uint32_t GGL_NEEDS_##name##_SHIFT = (l);
122 #define GGL_BUILD_NEEDS(val, name) \
123 (((val)<<(GGL_NEEDS_##name##_SHIFT)) & GGL_NEEDS_##name##_MASK)
125 #define GGL_READ_NEEDS(name, n) \
126 (uint32_t(n & GGL_NEEDS_##name##_MASK) >> GGL_NEEDS_##name##_SHIFT)
128 #define GGL_NEED_MASK(name) (uint32_
[all...]
/system/core/fastboot/
H A Dfastboot.c230 " -p <product> specify product name\n"
292 void *unzip_file(zipfile_t zip, const char *name, unsigned *sz) argument
298 entry = lookup_zipentry(zip, name);
300 fprintf(stderr, "archive does not contain '%s'\n", name);
315 fprintf(stderr, "failed to unzip '%s' from archive\n", name);
336 static int setup_requirement_line(char *name) argument
344 if (!strncmp(name, "reject ", 7)) {
345 name += 7;
347 } else if (!strncmp(name, "require ", 8)) {
348 name
[all...]
/system/extras/libpagemap/
H A Dpm_process.c219 char line[MAX_LINE], name[MAX_LINE], perms[MAX_PERMS]; local
259 &map->start, &map->end, perms, &map->offset, name);
261 map->name = malloc(strlen(name) + 1);
262 if (!map->name) {
269 strcpy(map->name, name);
/system/core/include/cutils/
H A Dmspace.h77 Identical to create_contiguous_mspace, but labels the mapping 'mspace/name'
81 size_t max_capacity, int locked, const char *name);
/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.c260 * ending at 'end' equals 'name'. Return new position (after name)
263 * This function fails is 'name' is NULL, empty or contains any space.
266 compare_name(const char* p, const char* end, const char* name) argument
268 /* 'name' must not be NULL or empty */
269 if (name == NULL || name[0] == '\0' || p == end)
272 /* compare characters to those in 'name', excluding spaces */
273 while (*name) {
280 if (*p != *name)
[all...]
/system/core/libnetutils/
H A Ddhcpclient.c273 const char *name; local
285 name = "BOOTREQUEST";
287 name = "BOOTREPLY";
289 name = "????";
291 name, msg->op, msg->htype, msg->hlen, msg->hops);
350 name = dhcp_type_to_name(x[2]);
352 name = NULL;
353 LOGD("op %d len %d {%s} %s", x[0], optsz, buf, name == NULL ? "" : name);

Completed in 802 milliseconds

12345678