/system/core/sh/ |
H A D | builtins.h | 8 const char *name; member in struct:builtincmd
|
H A D | alias.h | 18 * 3. Neither the name of the University nor the names of its contributors 41 char *name; member in struct:alias
|
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/inc/ |
H A D | cu_cmd.h | 36 PS8 name; member in struct:__anon1083
|
/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 | 40 * 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/debuggerd/ |
H A D | utility.h | 36 char name[]; member in struct:mapinfo 50 /* Map a pc address to the name of the containing ELF file */
|
/system/core/libsysutils/src/ |
H A D | ServiceManager.cpp | 12 int ServiceManager::start(const char *name) { argument 13 if (isRunning(name)) { 14 SLOGW("Service '%s' is already running", name); 18 SLOGD("Starting service '%s'", name); 19 property_set("ctl.start", name); 24 if (isRunning(name)) 28 SLOGW("Timed out waiting for service '%s' to start", name); 32 SLOGD("Sucessfully started '%s'", name); 36 int ServiceManager::stop(const char *name) { argument 37 if (!isRunning(name)) { 61 isRunning(const char *name) argument [all...] |
/system/core/toolbox/ |
H A D | getprop.c | 7 static void proplist(const char *key, const char *name, argument 10 printf("[%s]: [%s]\n", key, name);
|
H A D | toolbox.c | 18 #define TOOL(name) int name##_main(int, char**); 24 const char *name; member in struct:__anon161 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 | rm.c | 17 static int unlink_recursive(const char* name) argument 25 if (lstat(name, &st) < 0) 30 return unlink(name); 33 dir = opendir(name); 43 sprintf(dn, "%s/%s", name, de->d_name); 63 return rmdir(name);
|
H A D | watchprops.c | 27 char name[PROP_NAME_MAX]; local 31 __system_property_read(pi, name, value); 37 fprintf(stderr,"%10d %s = '%s'\n", (int) time(0), name, value);
|
/system/bluetooth/tools/ |
H A D | bttest.c | 49 char *name; member in struct:__anon7 62 for (i = 0; function_table[i].name; i++) { 63 printf("\tbttest %s\n", function_table[i].name); 74 for (i = 0; function_table[i].name; i++) { 75 if (!strcmp(argv[1], function_table[i].name)) { 76 printf("%s\n", function_table[i].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 | socket_local_client.c | 27 int socket_local_client(const char *name, int namespaceId, int type) argument 45 int socket_make_sockaddr_un(const char *name, int namespaceId, argument 54 namelen = strlen(name); 67 memcpy(p_addr->sun_path + 1, name, namelen); 71 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX); 79 strcat(p_addr->sun_path, name); 84 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX); 92 strcat(p_addr->sun_path, name); 96 namelen = strlen(name); 103 strcpy(p_addr->sun_path, name); 124 socket_local_client_connect(int fd, const char *name, int namespaceId, int type) argument 152 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 48 * Binds a pre-created socket(AF_LOCAL) 's' to 'name' 53 int socket_local_server_bind(int s, const char *name, int namespaceId) argument 60 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); 95 int socket_local_server(const char *name, int namespace, int type) argument 103 err = socket_local_server_bind(s, name, namespace);
|
H A D | ashmem-host.c | 39 char name[64]; local 48 snprintf(name, sizeof(name), "/tmp/android-ashmem-%d-%c%c%c%c%c%c%c%c", 60 fd = open(name, O_RDWR | O_CREAT | O_EXCL, 0600); 62 /* unlikely, but if we failed because `name' exists, retry */ 72 if (unlink(name) == -1)
|
/system/extras/ext4_utils/ |
H A D | uuid.c | 34 static void sha1_hash(const char *namespace, const char *name, argument 40 SHA1Update(&ctx, (const u8*)name, strlen(name)); 44 void generate_uuid(const char *namespace, const char *name, u8 result[16]) argument 49 sha1_hash(namespace, name, (unsigned char*)sha1);
|
/system/media/opensles/libopensles/ |
H A D | OpenSLESUT.c | 28 /** \brief Maps an interface ID to its display name */ 33 const char *name; ///< The display name member in struct:__anon194 109 printf("SL_IID_%s = ", p->name);
|
/system/core/mkbootimg/ |
H A D | bootimg.h | 45 unsigned char name[BOOT_NAME_SIZE]; /* asciiz product name */ member in struct:boot_img_hdr 83 char name[16]; /* asciiz partition name */
|
/system/core/nexus/ |
H A D | VpnController.cpp | 50 const char *name, 53 IntegerProperty(name, ro, elements) { 58 const char *name, 60 StringProperty(name, ro, elements) { 65 const char *name, 67 IPV4AddressProperty(name, ro, elements) { 49 VpnIntegerProperty(VpnController *c, const char *name, bool ro, int elements) argument 57 VpnStringProperty(VpnController *c, const char *name, bool ro, int elements) argument 64 VpnIPV4AddressProperty(VpnController *c, const char *name, bool ro, int elements) argument
|
H A D | Property.cpp | 28 Property::Property(const char *name, bool readOnly, argument 30 mName(name), mReadOnly(readOnly), mType(type), 32 if (index(name, '.')) { 33 LOGW("Property name %s violates namespace rules", name); 37 StringProperty::StringProperty(const char *name, bool ro, int elements) : argument 38 Property(name, ro, Property::Type_STRING, elements) { 61 StringPropertyHelper::StringPropertyHelper(const char *name, bool ro, argument 63 StringProperty(name, ro, 1) { 88 IntegerProperty::IntegerProperty(const char *name, boo argument 113 IntegerPropertyHelper(const char *name, bool ro, int *buffer) argument 139 IPV4AddressProperty(const char *name, bool ro, int elements) argument 164 IPV4AddressPropertyHelper(const char *name, bool ro, struct in_addr *buffer) argument 190 PropertyNamespace(const char *name) argument [all...] |
/system/netd/ |
H A D | NetlinkHandler.cpp | 68 void NetlinkHandler::notifyInterfaceAdded(const char *name) { argument 70 snprintf(msg, sizeof(msg), "Iface added %s", name); 76 void NetlinkHandler::notifyInterfaceRemoved(const char *name) { argument 78 snprintf(msg, sizeof(msg), "Iface removed %s", name); 84 void NetlinkHandler::notifyInterfaceChanged(const char *name, bool isUp) { argument 86 snprintf(msg, sizeof(msg), "Iface is %s %s", (isUp ? "up" : "down"), name);
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/common/inc/ |
H A D | cli_cu_common.h | 17 **| * Neither the name Texas Instruments nor the names of its |** 103 char *name; member in struct:__anon1052 109 print("%d - %s%s", arr[i].value, arr[i].name, (i>=SIZE_ARR(arr)-1) ? "\n" : ", " ); \
|
/system/core/init/ |
H A D | ueventd.c | 71 if (!strcmp(id, android_ids[i].name)) 78 char *name; local 94 name = args[0]; 96 if (!strncmp(name,"/sys/", 5) && (nargs == 5)) { 109 if (!strncmp(name, "mtd@", 4)) { 110 int n = mtd_name_to_number(name + 4); 113 name = tmp; 115 int len = strlen(name); 116 if (name[len - 1] == '*') { 118 name[le [all...] |
/system/core/netcfg/ |
H A D | netcfg.c | 31 int ifc_get_info(const char *name, unsigned *addr, unsigned *mask, unsigned *flags); 58 int dump_interface(const char *name) argument 62 if(ifc_get_info(name, &addr, &mask, &flags)) { 66 printf("%-8s %s ", name, flags & 1 ? "UP " : "DOWN"); 91 const char *name; member in struct:__anon143 146 for(n = 0; CMDS[n].name; n++){ 147 if(!strcmp(argv[0], CMDS[n].name)) {
|