/system/core/fastbootd/commands/ |
H A D | virtual_partitions.h | 14 * * 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 D | virtual_partitions.c | 14 * * 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 D | property_service.h | 30 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 D | ueventd.h | 26 const char *name; member in struct:ueventd_subsystem
|
/system/core/libcutils/arch-x86_64/ |
H A D | android_memset16_SSE2-atom.S | 39 # define ENTRY(name) \ 40 .type name, @function; \ 41 .globl name; \ 43 name: \ label 48 # define END(name) \ 50 .size name, .-name
|
H A D | android_memset32_SSE2-atom.S | 39 # 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 D | config_utils.h | 32 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 D | sockets.h | 41 * 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 D | sse2-memset16-atom.S | 49 # define ENTRY(name) \ 50 .type name, @function; \ 51 .globl name; \ 53 name: \ label 58 # define END(name) \ 60 .size name, .-name
|
H A D | sse2-memset32-atom.S | 49 # 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 D | Trace.h | 39 #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 D | pwcache.c | 34 int uid_from_user(const char* name, uid_t* uid) { argument 35 struct passwd* pw = getpwnam(name);
|
H A D | setsebool.c | 12 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 D | toolbox.c | 18 #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 D | getprop.c | 8 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 D | opentest.c | 33 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 D | module.cpp | 48 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 D | zip_archive.h | 36 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 D | ashmem-dev.c | 39 * `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 D | ashmem-host.c | 50 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 D | klog.c | 41 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 D | socket_local_client.c | 27 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 D | socket_local_server.c | 28 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 D | sync.h | 30 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 D | ServiceManager.cpp | 13 /* 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...] |