Searched defs:name (Results 1 - 25 of 154) sorted by relevance

1234567

/system/core/fastbootd/commands/
H A Dvirtual_partitions.h14 * * Neither the name of Google, Inc. nor the names of its contributors
39 const char *name; member in struct:virtual_partition
46 const char * name,
H A Dvirtual_partitions.c14 * * Neither the name of Google, Inc. nor the names of its contributors
42 if (!strcmp(current->name, arg)) {
51 const char * name,
57 new->name = name;
50 virtual_partition_register( const char * name, void (*handler)(struct protocol_handle *phandle, const char *arg)) argument
/system/core/init/
H A Dproperty_service.h30 extern int __property_get(const char *name, char *value);
31 extern int property_set(const char *name, const char *value);
42 int property_get(const char *name, char *value) argument
48 return __property_get(name, value);
H A Dueventd.h26 const char *name; member in struct:ueventd_subsystem
/system/core/libcutils/arch-x86_64/
H A Dandroid_memset16_SSE2-atom.S39 # define ENTRY(name) \
40 .type name, @function; \
41 .globl name; \
43 name: \ label
48 # define END(name) \
50 .size name, .-name
H A Dandroid_memset32_SSE2-atom.S39 # define ENTRY(name) \
40 .type name, @function; \
41 .globl name; \
43 name: \ label
48 # define END(name) \
50 .size name, .-name
/system/core/include/cutils/
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 Dsockets.h41 * descriptor of our init-managed Unix domain socket. `name' is the name of the
47 static inline int android_get_control_socket(const char *name) argument
56 name,
60 name,
92 extern int socket_local_server(const char *name, int namespaceId, int type);
93 extern int socket_local_server_bind(int s, const char *name, int namespaceId);
95 const char *name, int namespaceId, int type);
96 extern int socket_local_client(const char *name, int namespaceId, int type);
/system/core/libcutils/arch-x86/
H A Dsse2-memset16-atom.S49 # define ENTRY(name) \
50 .type name, @function; \
51 .globl name; \
53 name: \ label
58 # define END(name) \
60 .size name, .-name
H A Dsse2-memset32-atom.S49 # define ENTRY(name) \
50 .type name, @function; \
51 .globl name; \
53 name: \ label
58 # define END(name) \
60 .size name, .-name
/system/core/include/utils/
H A DTrace.h39 #define ATRACE_NAME(name) android::ScopedTrace ___tracer(ATRACE_TAG, name)
40 // ATRACE_CALL is an ATRACE_NAME that uses the current function name.
47 inline ScopedTrace(uint64_t tag, const char* name) argument
49 atrace_begin(mTag,name);
/system/core/toolbox/
H A Dpwcache.c34 int uid_from_user(const char* name, uid_t* uid) { argument
35 struct passwd* pw = getpwnam(name);
H A Dsetsebool.c12 const char *name = args[1]; local
19 b.name = name;
31 fprintf(stderr, "setsebool: could not set %s to %s: %s", name, value, strerror(errno));
41 fprintf(stderr, "Usage: %s name value\n", argv[0]);
H A Dtoolbox.c18 #define TOOL(name) int name##_main(int, char**);
24 const char *name; member in struct:__anon242
28 #define TOOL(name) { #name, name##_main },
37 char *name = argv[0]; local
40 name = argv[1] + 1;
46 name = cmd + 1;
49 for(i = 0; tools[i].name;
[all...]
H A Dgetprop.c8 static void record_prop(const char* key, const char* name, void* opaque) argument
12 snprintf(temp, sizeof temp, "[%s]: [%s]", key, name);
/system/extras/tests/storage/
H A Dopentest.c33 char name[16]; local
83 snprintf(name, sizeof(name), "%d", i);
84 fds[i] = open(name, O_WRONLY | O_CREAT, 0666);
/system/security/softkeymaster/
H A Dmodule.cpp48 static int openssl_open(const hw_module_t* module, const char* name, hw_device_t** device) { argument
49 if (strcmp(name, KEYSTORE_KEYMASTER) != 0)
89 .name = "Keymaster OpenSSL HAL",
/system/core/include/ziparchive/
H A Dzip_archive.h36 const char* name; member in struct:ZipEntryName
115 * Find an entry in the Zip archive, by name. |entryName| must be a null
152 int32_t Next(void* cookie, ZipEntry* data, ZipEntryName *name);
/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 Dashmem-host.c50 char name[64]; local
59 snprintf(name, sizeof(name), "/tmp/android-ashmem-%d-%c%c%c%c%c%c%c%c",
71 fd = open(name, O_RDWR | O_CREAT | O_EXCL, 0600);
73 /* unlikely, but if we failed because `name' exists, retry */
80 if (ftruncate(fd, size) != -1 && unlink(name) != -1) {
H A Dklog.c41 static const char *name = "/dev/__kmsg__"; local
45 if (mknod(name, S_IFCHR | 0600, (1 << 8) | 11) == 0) {
46 klog_fd = open(name, O_WRONLY);
50 unlink(name);
H A Dsocket_local_client.c27 int socket_local_client(const char *name, int namespaceId, int type) argument
47 int socket_make_sockaddr_un(const char *name, int namespaceId, argument
56 namelen = strlen(name);
69 memcpy(p_addr->sun_path + 1, name, namelen);
73 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX);
81 strcat(p_addr->sun_path, name);
86 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX);
94 strcat(p_addr->sun_path, name);
98 namelen = strlen(name);
105 strcpy(p_addr->sun_path, name);
126 socket_local_client_connect(int fd, const char *name, int namespaceId, int type UNUSED) argument
153 socket_local_client(const char *name, int namespaceId, int type) argument
[all...]
H A Dsocket_local_server.c28 int socket_local_server(const char *name, int namespaceId, int type) argument
50 * Binds a pre-created socket(AF_LOCAL) 's' to 'name'
55 int socket_local_server_bind(int s, const char *name, int namespaceId) argument
62 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen);
97 int socket_local_server(const char *name, int namespace, int type) argument
105 err = socket_local_server_bind(s, name, namespace);
/system/core/libsync/include/sync/
H A Dsync.h30 char name[32]; member in struct:sync_fence_info_data
46 int sync_merge(const char *name, int fd1, int fd2);
/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...]

Completed in 1503 milliseconds

1234567