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

12345

/system/core/sh/
H A Dbuiltins.h8 const char *name; member in struct:builtincmd
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 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...]
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/inc/
H A Dcu_cmd.h36 PS8 name; member in struct:__anon983
/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.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/debuggerd/
H A Dutility.h36 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 DServiceManager.cpp12 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 Dgetprop.c7 static void proplist(const char *key, const char *name, argument
10 printf("[%s]: [%s]\n", key, name);
H A Dtoolbox.c18 #define TOOL(name) int name##_main(int, char**);
24 const char *name; member in struct:__anon159
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 Drm.c17 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 Dwatchprops.c27 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);
H A Dsyren.c23 const char *name; member in struct:__anon158
43 static syren_reg *find_reg(const char *name) argument
47 for (i = 0; registers[i].name != 0; i++) {
48 if (!strcasecmp(registers[i].name, name))
67 char name[32]; local
110 for (i = 0; registers[i].name; i++) {
114 fprintf(stderr, "%s: error\n", registers[i].name);
116 fprintf(stderr, "%s: %04x\n", registers[i].name, sio.value);
126 strcpy(name, arg
[all...]
/system/bluetooth/tools/
H A Dbttest.c49 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 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 Dsocket_local_client.c27 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 Dsocket_local_server.c28 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 Dashmem-host.c39 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/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 */
/system/core/nexus/
H A DVpnController.cpp50 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 DProperty.cpp28 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...]
H A DPropertyManager.cpp54 Property *PropertyManager::lookupProperty_UNLOCKED(PropertyNamespace *ns, const char *name) { argument
59 if (!strcasecmp(name, (*it)->getName()))
194 int PropertyManager::set(const char *name, const char *value) { argument
196 LOGD("set %s = '%s'", name, value);
210 if (!strcasecmp(name, fqn)) {
218 LOGE("Property %s not found", name);
224 const char *PropertyManager::get(const char *name, char *buffer, size_t max) { argument
239 if (!strcasecmp(name, fqn)) {
249 LOGE("Property %s not found", name);
/system/netd/
H A DNetlinkHandler.cpp68 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 Dcli_cu_common.h17 **| * Neither the name Texas Instruments nor the names of its |**
103 char *name; member in struct:__anon952
109 print("%d - %s%s", arr[i].value, arr[i].name, (i>=SIZE_ARR(arr)-1) ? "\n" : ", " ); \
/system/core/netcfg/
H A Dnetcfg.c31 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:__anon142
146 for(n = 0; CMDS[n].name; n++){
147 if(!strcmp(argv[0], CMDS[n].name)) {

Completed in 7228 milliseconds

12345