Searched refs:name (Results 1 - 25 of 182) sorted by relevance

12345678

/system/core/libnetutils/
H A Difc_utils.h22 int ifc_get_ifindex(const char *name, int *if_indexp);
23 int ifc_get_hwaddr(const char *name, void *ptr);
25 int ifc_up(const char *name);
26 int ifc_down(const char *name);
28 int ifc_set_addr(const char *name, unsigned addr);
29 int ifc_set_mask(const char *name, unsigned mask);
31 int ifc_create_default_route(const char *name, unsigned addr);
33 int ifc_get_info(const char *name, unsigned *addr, unsigned *mask, unsigned *flags);
/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/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/toolbox/
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 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...]
H A Dls.c25 static int listpath(const char *name, int flags);
143 const char *name; local
145 /* name is anything after the final '/', or the whole path if none*/
146 name = strrchr(path, '/');
147 if(name == 0) {
148 name = path;
150 name++;
173 date, name);
177 mode, user, group, (int) s.st_size, date, name);
196 mode, user, group, date, name, linkt
231 listdir(const char *name, int flags) argument
297 listpath(const char *name, int flags) argument
[all...]
H A Dgetprop.c7 static void proplist(const char *key, const char *name, argument
10 printf("[%s]: [%s]\n", key, 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.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/init/
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 Dproperty_service.h25 extern const char* property_get(const char *name);
26 extern int property_set(const char *name, const char *value);
/system/netd/
H A DNetlinkHandler.h36 void notifyInterfaceAdded(const char *name);
37 void notifyInterfaceRemoved(const char *name);
38 void notifyInterfaceChanged(const char *name, bool isUp);
/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 Dsocket_local.h25 * name in the given namespace. The namespace must be one
32 * constants) or if the name is too long.
36 int socket_make_sockaddr_un(const char *name, int namespaceId,
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 Ddir_hash.c118 char *name; member in struct:list
126 return strcmp((*ra)->name, (*rb)->name);
149 char *name = malloc(strlen(de->d_name) + 1); local
152 if (name == NULL || node == NULL) {
156 free(f->name);
160 free(name);
165 strcpy(name, de->d_name);
167 node->name = name;
176 char *name; local
[all...]
/system/core/sh/
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/vold/
H A DDevmapper.h27 static int create(const char *name, const char *loopFile, const char *key,
29 static int destroy(const char *name);
30 static int lookupActive(const char *name, char *buffer, size_t len);
36 const char *name, unsigned flags);
/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 DLoopController.h29 int set(const char *name, const char *value);
30 const char *get(const char *name, char *buffer, size_t maxsize);
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...]
/system/core/adb/
H A Dservices.c342 int service_to_fd(const char *name) argument
346 if(!strncmp(name, "tcp:", 4)) {
347 int port = atoi(name + 4);
348 name = strchr(name + 4, ':');
349 if(name == 0) {
356 ret = socket_network_client(name + 1, port, SOCK_STREAM);
363 } else if(!strncmp(name, "local:", 6)) {
364 ret = socket_local_client(name + 6,
366 } else if(!strncmp(name, "localreserve
460 host_service_to_socket(const char* name, const char *serial) argument
[all...]
/system/wlan/ti/wilink_6_1/platforms/os/linux/inc/
H A Dstack_profile.h7 unsigned long save_stack_context(char *name, int id);
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/inc/
H A DosTIType.h17 **| * Neither the name Texas Instruments nor the names of its |**
139 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) ;
149 #define PACKED_STRUCT(name,content) STRUCT { content } __attribute__ ((packed)) name
151 #define PACKED_UNION(name,content) union { content } __attribute__ ((packed)) name
153 #define ENUM_BODY(name, value) name value,
154 #define PACKED_ENUM(name, list) ENUM { list(ENUM_BODY) } __attribute__ ((packed)) name
[all...]

Completed in 2830 milliseconds

12345678