Searched refs:name (Results 101 - 125 of 184) sorted by path

12345678

/system/core/libpixelflinger/
H A Dpixelflinger.cpp159 static void enable_disable(context_t* c, GGLenum name, int en) argument
161 switch (name) {
177 static void ggl_enable(void* con, GGLenum name) argument
180 enable_disable(c, name, 1);
183 static void ggl_disable(void* con, GGLenum name) argument
186 enable_disable(c, name, 0);
189 static void ggl_enableDisable(void* con, GGLenum name, GGLboolean en) argument
192 enable_disable(c, name, en ? 1 : 0);
/system/core/libsparse/
H A DAndroid.mk46 # Need a unique module name, but exe should still be called simg2img
67 # Need a unique module name, but exe should still be called simg2img
/system/core/libsync/
H A Dsync.c37 int sync_merge(const char *name, int fd1, int fd2) argument
43 strlcpy(data.name, name, sizeof(data.name));
103 int sw_sync_fence_create(int fd, const char *name, unsigned value) argument
109 strlcpy(data.name, name, sizeof(data.name));
H A Dsync_test.c54 printf(" fence %s %d\n", info->name, info->status);
/system/core/libsysutils/src/
H A DServiceManager.cpp13 /* The service name should not exceed SERVICE_NAME_MAX to avoid
16 * - Starting a service is done by writing its name to the "ctl.start"
20 * - Stopping the service is done by writing its name to "ctl.stop"
24 * named "init.svc.<name>"
26 * If strlen(<name>) > (PROPERTY_KEY_MAX-1)-9, then you can start/stop
28 * read its state due to the truncation of "init.svc.<name>" into a
41 int ServiceManager::start(const char *name) { argument
42 if (strlen(name) > SERVICE_NAME_MAX) {
43 SLOGE("Service name '%s' is too long", name);
70 stop(const char *name) argument
100 isRunning(const char *name) argument
[all...]
/system/core/libusbhost/
H A Dusbhost.c73 static inline int badname(const char *name) argument
75 while(*name) {
76 if(!isdigit(*name++)) return 1;
210 if ((event->mask & IN_CREATE) && !strcmp(event->name, "bus")) {
213 } else if ((event->mask & IN_DELETE) && !strcmp(event->name, "bus")) {
222 i = atoi(event->name);
223 snprintf(path, sizeof(path), "%s/%s", USB_FS_DIR, event->name);
242 snprintf(path, sizeof(path), "%s/%03d/%s", USB_FS_DIR, i, event->name);
356 int usb_device_get_unique_id_from_name(const char* name) argument
359 sscanf(name, USB_FS_ID_SCANNE
[all...]
/system/core/mkbootimg/
H A Dbootimg.h45 unsigned char name[BOOT_NAME_SIZE]; /* asciiz product name */ member in struct:boot_img_hdr
83 char name[16]; /* asciiz partition name */
H A Dmkbootimg.c186 fprintf(stderr,"error: board name too large\n");
190 strcpy(hdr.name, board);
/system/core/netcfg/
H A Dnetcfg.c51 int dump_interface(const char *name) argument
57 if(ifc_get_info(name, &addr, &prefixLength, &flags)) {
61 printf("%-8s %s ", name, flags & 1 ? "UP " : "DOWN");
65 if (!ifc_get_hwaddr(name, hwbuf)) {
92 int set_hwaddr(const char *name, const char *asc) { argument
98 return ifc_set_hwaddr(name, addr->ether_addr_octet);
103 const char *name; member in struct:__anon470
159 for(n = 0; CMDS[n].name; n++){
160 if(!strcmp(argv[0], CMDS[n].name)) {
/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/sdcard/
H A Dfuse.h282 __u64 entry_valid; /* Cache timeout for the name */
558 char name[0]; member in struct:fuse_dirent
561 #define FUSE_NAME_OFFSET offsetof(struct fuse_dirent, name)
H A Dsdcard.c108 char *name; member in struct:node
109 /* If non-null, this is the real name of the file in the underlying storage.
110 * This may differ from the field "name" only by case.
111 * strlen(actual_name) will always equal strlen(name), so it is safe to use
153 TRACE("ACQUIRE %p (%s) rc=%d\n", node, node->name, node->refcount);
160 TRACE("RELEASE %p (%s) rc=%d\n", node, node->name, node->refcount);
164 TRACE("DESTROY %p (%s)\n", node, node->name);
168 memset(node->name, 0xef, node->namelen);
169 free(node->name);
225 const char* name local
238 find_file_within(const char* path, const char* name, char* buf, size_t bufsize, int search) argument
303 create_node_locked(struct fuse* fuse, struct node *parent, const char *name, const char* actual_name) argument
336 rename_node_locked(struct node *node, const char *name, const char* actual_name) argument
396 lookup_child_by_name_locked(struct node *node, const char *name) argument
410 acquire_or_create_child_locked( struct fuse* fuse, struct node* parent, const char* name, const char* actual_name) argument
467 fuse_reply_entry(struct fuse* fuse, __u64 unique, struct node* parent, const char* name, const char* actual_name, const char* path) argument
512 handle_lookup(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header *hdr, const char* name) argument
629 handle_mknod(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_mknod_in* req, const char* name) argument
655 handle_mkdir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_mkdir_in* req, const char* name) argument
681 handle_unlink(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const char* name) argument
705 handle_rmdir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const char* name) argument
1040 const char* name = data; local
1063 const char *name = ((const char*) data) + sizeof(*req); local
1069 const char *name = ((const char*) data) + sizeof(*req); local
1074 const char* name = data; local
1079 const char* name = data; local
[all...]
/system/core/sh/
H A Dalias.c18 * 3. Neither the name of the University nor the names of its contributors
65 setalias(char *name, char *val) argument
69 app = hashalias(name);
71 if (equal(name, ap->name)) {
82 ap->name = savestr(name);
117 unalias(char *name) argument
121 app = hashalias(name);
124 if (equal(name, a
179 lookupalias(char *name, int check) argument
195 get_alias_text(char *name) argument
[all...]
H A Dalias.h18 * 3. Neither the name of the University nor the names of its contributors
41 char *name; member in struct:alias
H A Dbuiltins.h8 const char *name; member in struct:builtincmd
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...]
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...]
H A Dinit.c1064 for (i = 0; optlist[i].name; i++)
H A Djobs.c18 * 3. Neither the name of the University nor the names of its contributors
676 getjobpgrp(const char *name) argument
680 jp = getjob(name, 1);
687 * Convert a job name to a job structure.
691 getjob(const char *name, int noerror) argument
699 if (name == NULL) {
704 } else if (name[0] == '%') {
705 if (is_number(name + 1)) {
706 jobno = number(name + 1) - 1;
707 } else if (!name[
[all...]
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 Dmiscbltin.c18 * 3. Neither the name of the University nor the names of its contributors
292 const char *name; member in struct:limits
366 for (l = limits; l->name && l->option != what; l++)
368 if (!l->name)
394 for (l = limits; l->name; l++) {
401 out1fmt("%-20s ", l->name);
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 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 Doptions.h18 * 3. Neither the name of the University nor the names of its contributors
48 const char *name; /* for set -o <name> */ member in struct:optent
57 #define DEF_OPTS(name, letter, opt_set) {name, letter, opt_set, 0},
60 #define DEF_OPTS(name, letter, opt_set)
62 #define DEF_OPT(name,letter) DEF_OPTS(name, letter, 0)
H A Dparser.c18 * 3. Neither the name of the University nor the names of its contributors
546 * the function name and the open parenthesis.
567 parsefname(); /* read name of redirection file */
575 synerror("Bad function name");
1571 * Return true if the argument is a legal variable name (a letter or
1576 goodname(char *name) argument
1580 p = name;

Completed in 860 milliseconds

12345678