Searched refs:name (Results 1 - 25 of 182) sorted by last modified time

12345678

/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/include/ctest/
H A Dctest.h63 void addNamedTest(const char* name, void (*test)(void));
/system/core/include/cutils/
H A Dashmem.h19 int ashmem_create_region(const char *name, size_t size);
H A Dconfig_utils.h32 const char *name; member in struct:cnode
43 cnode* config_node(const char *name, const char *value);
46 cnode* config_find(cnode *root, const char *name);
48 /* look up a child by name and return the boolean value */
49 int config_bool(cnode *root, const char *name, int _default);
51 /* look up a child by name and return the string value */
52 const char* config_str(cnode *root, const char *name, const char *_default);
55 void config_set(cnode *root, const char *name, const char *value);
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 Dmspace.h77 Identical to create_contiguous_mspace, but labels the mapping 'mspace/name'
81 size_t max_capacity, int locked, const char *name);
H A Dsockets.h40 * descriptor of our init-managed Unix domain socket. `name' is the name of the
46 static inline int android_get_control_socket(const char *name) argument
55 name,
59 name,
89 extern int socket_local_server(const char *name, int namespaceId, int type);
90 extern int socket_local_server_bind(int s, const char *name, int namespaceId);
92 const char *name, int namespaceId, int type);
93 extern int socket_local_client(const char *name, int namespaceId, int type);
/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/core/include/pixelflinger/
H A Dpixelflinger.h87 // Texture parameter name
225 void (*enable)(void* c, GGLenum name);
226 void (*disable)(void* c, GGLenum name);
227 void (*enableDisable)(void* c, GGLenum name, GGLboolean en);
/system/core/include/private/
H A Dandroid_filesystem_config.h74 const char *name; member in struct:android_id_info
207 /* If name ends in * then allow partial matches. */
/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/include/sysutils/
H A DServiceManager.h25 int start(const char *name);
26 int stop(const char *name);
27 bool isRunning(const char *name);
/system/core/init/
H A Dbuiltins.c41 void add_environment(const char *name, const char *value);
255 const char *name; member in struct:__anon67
279 for (i = 0; mount_flags[i].name; i++) {
280 if (!strcmp(args[n], mount_flags[i].name)) {
287 if (n + 1 == nargs && !mount_flags[i].name)
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...]
H A Ddevices.h23 extern void qemu_cmdline(const char* name, const char *value);
24 extern int add_devperms_partners(const char *name, mode_t perm, unsigned int uid,
H A Dinit.c69 static void notify_service_state(const char *name, const char *state) argument
72 int len = strlen(name);
75 snprintf(pname, sizeof(pname), "init.svc.%s", name);
143 static void publish_socket(const char *name, int fd) argument
149 name,
183 ERROR("service '%s' requires console\n", svc->name);
189 ERROR("cannot find '%s', disabling '%s'\n", svc->args[0], svc->name);
201 NOTICE("starting '%s'\n", svc->name);
216 add_environment(ei->name, ei->value);
219 int s = create_socket(si->name,
323 property_changed(const char *name, const char *value) argument
441 msg_start(const char *name) argument
467 msg_stop(const char *name) argument
492 char name[16]; member in struct:__anon68
546 mtd_name_to_number(const char *name) argument
561 import_kernel_nv(char *name, int in_qemu) argument
697 static const char *name = "/dev/__null__"; local
[all...]
H A Dinit.h20 int mtd_name_to_number(const char *name);
24 int create_socket(const char *name, int type, mode_t perm,
53 #define list_declare(name) \
54 struct listnode name = { \
55 .next = &name, \
56 .prev = &name, \
89 const char *name; member in struct:action
97 const char *name; member in struct:socketinfo
106 const char *name; member in struct:svcenvinfo
125 const char *name; member in struct:service
[all...]
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 Dproperty_service.c190 static int check_control_perms(const char *name, int uid, int gid) { argument
197 if (strcmp(control_perms[i].service, name) == 0) {
211 static int check_perms(const char *name, unsigned int uid, int gid) argument
217 if(!strncmp(name, "ro.", 3))
218 name +=3;
222 if (strncmp(property_perms[i].prefix, name,
234 const char* property_get(const char *name) argument
238 if(strlen(name) >= PROP_NAME_MAX) return 0;
240 pi = (prop_info*) __system_property_find(name);
249 static void write_persistent_property(const char *name, cons argument
271 property_set(const char *name, const char *value) argument
335 char name[PROP_NAME_MAX]; local
[all...]
H A Dproperty_service.h25 extern const char* property_get(const char *name);
26 extern int property_set(const char *name, const char *value);
H A Dutil.c48 static const char *name = "/dev/__kmsg__"; local
49 if (mknod(name, S_IFCHR | 0600, (1 << 8) | 11) == 0) {
50 log_fd = open(name, O_WRONLY);
52 unlink(name);
75 * name, or -1U on error.
77 static unsigned int android_name_to_id(const char *name) argument
83 if (!strcmp(info[n].name, name))
92 * numeric or name representation, into the integer uid or gid. Returns -1U on
115 * variable ANDROID_SOCKET_ENV_PREFIX<name> ("ANDROID_SOCKET_fo
117 create_socket(const char *name, int type, mode_t perm, uid_t uid, gid_t gid) argument
[all...]
/system/core/libacc/
H A Dacc.cpp189 tokenid_t structTag; // For structs the name of the struct
3921 tokenid_t name; // Name of the current macro we are expanding member in struct:acc::Compiler::MacroState
4306 if (macroState[macroLevel].name == id) {
4404 macroState[macroLevel].name = tok;
4494 tokenid_t name = tok; local
4522 mTokenTable[name].mpMacroDefinition = pDefn;
4526 decodeToken(buf, name, true);
4533 // # pragma name(val)
4758 /* variable or function name */
5431 error("A struct with the same name i
5854 VariableInfo* name = VI(pDecl->id); local
6150 lookup(const char* name) argument
[all...]
/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/libacc/tests/
H A Ddisassem.cpp20 * 4. The name of the company nor the name of the author may be used to
109 const char* name; member in struct:arm32_insn
316 while (i_ptr->name) {
331 di->di_printf("%s", i_ptr->name);
333 di->di_printf("%s%s", i_ptr->name, insn_condition(insn));
H A Dmain.cpp40 ACCvoid* symbolLookup(ACCvoid* pContext, const ACCchar* name) { argument
41 return (ACCvoid*) dlsym(RTLD_DEFAULT, name);

Completed in 74 milliseconds

12345678