Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 88) sorted by relevance

1234

/system/core/sh/
Dnodes.h35 int type; member
42 int type; member
50 int type; member
57 int type; member
64 int type; member
72 int type; member
80 int type; member
87 int type; member
95 int type; member
103 int type; member
[all …]
Dparser.c163 if (n2->type == NCMD || n2->type == NPIPE) { in list()
165 } else if (n2->type == NREDIR) { in list()
166 n2->type = NBACKGND; in list()
169 n3->type = NBACKGND; in list()
180 n3->type = NSEMI; in list()
237 n3->type = t; in andor()
261 pipenode->type = NPIPE; in pipeline()
278 n2->type = NNOT; in pipeline()
318 n1->type = NIF; in command()
327 n2->type = NIF; in command()
[all …]
Dnodetypes35 # contain a node type followed by a structure tag. Subsequent indented
41 # by a type. The currently implemented types are:
46 # other - any type that can be copied by assignment
52 type int
57 type int
63 type int
68 type int
79 type int # using multiple if nodes.
88 type int
94 type int
[all …]
Dshow.c82 switch(n->type) { in shtree()
114 fprintf(fp, "<node type %d>", n->type); in shtree()
141 switch (np->nfile.type) { in shcmd()
154 if (np->nfile.type == NTOFD || np->nfile.type == NFROMFD) { in shcmd()
172 if (arg->type != NARG) { in sharg()
173 printf("<node type %d>\n", arg->type); in sharg()
Dredir.c132 if ((n->nfile.type == NTOFD || n->nfile.type == NFROMFD) && in redirect()
189 switch (redir->nfile.type) { in openredirect()
265 if (redir->type == NHERE) { in openhere()
281 if (redir->type == NHERE) in openhere()
Dnodes.c122 funcblocksize += nodesize[n->type];
123 switch (n->type) {
218 funcblock = (char *) funcblock + nodesize[n->type];
219 switch (n->type) {
294 new->type = n->type;
/system/core/include/cutils/
Dsockets.h86 extern int socket_loopback_client(int port, int type);
87 extern int socket_network_client(const char *host, int port, int type);
88 extern int socket_loopback_server(int port, int type);
89 extern int socket_local_server(const char *name, int namespaceId, int type);
92 const char *name, int namespaceId, int type);
93 extern int socket_local_client(const char *name, int namespaceId, int type);
94 extern int socket_inaddr_any_server(int port, int type);
/system/core/libcutils/
Dprivate.h149 Please use a compiler that supports a 64-bit integer type (or wider);
267 #define TYPE_BIT(type) (sizeof (type) * CHAR_BIT) argument
271 #define TYPE_SIGNED(type) (((type) -1) < 0) argument
280 #define TYPE_INTEGRAL(type) (((type) 0.5) != 0.5) argument
290 #define INT_STRLEN_MAXIMUM(type) \ argument
291 ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + \
292 1 + TYPE_SIGNED(type))
Dsocket_local_server.c28 int socket_local_server(const char *name, int namespaceId, int type) in socket_local_server() argument
95 int socket_local_server(const char *name, int namespace, int type) argument
100 s = socket(AF_LOCAL, type, 0);
110 if (type == SOCK_STREAM) {
Dsocket_local_client.c27 int socket_local_client(const char *name, int namespaceId, int type) in socket_local_client() argument
125 int type) in socket_local_client_connect() argument
152 int socket_local_client(const char *name, int namespaceId, int type) in socket_local_client() argument
156 s = socket(AF_LOCAL, type, 0); in socket_local_client()
159 if ( 0 > socket_local_client_connect(s, name, namespaceId, type)) { in socket_local_client()
Dsocket_inaddr_any_server.c36 int socket_inaddr_any_server(int port, int type) in socket_inaddr_any_server() argument
47 s = socket(AF_INET, type, 0); in socket_inaddr_any_server()
58 if (type == SOCK_STREAM) { in socket_inaddr_any_server()
Dsocket_loopback_server.c36 int socket_loopback_server(int port, int type) in socket_loopback_server() argument
47 s = socket(AF_INET, type, 0); in socket_loopback_server()
58 if (type == SOCK_STREAM) { in socket_loopback_server()
Dsocket_loopback_client.c37 int socket_loopback_client(int port, int type) in socket_loopback_client() argument
48 s = socket(AF_INET, type, 0); in socket_loopback_client()
Dsocket_network_client.c39 int socket_network_client(const char *host, int port, int type) in socket_network_client() argument
54 s = socket(hp->h_addrtype, type, 0); in socket_network_client()
/system/core/vold/
Dblkdev.c41 int minor, char *type, struct media *media);
106 if (blk->type == blkdev_disk) { in blkdev_refresh()
133 } else if (blk->type == blkdev_partition) { in blkdev_refresh()
153 (blk->type == blkdev_disk ? "Disk" : "Partition"), in blkdev_refresh()
158 if (blk->type == blkdev_disk) in blkdev_refresh()
171 …blkdev_create(blkdev_t *disk, char *devpath, int major, int minor, struct media *media, char *type) in blkdev_create() argument
173 return _blkdev_create(disk, devpath, major, minor, type, media); in blkdev_create()
177 int minor, char *type, struct media *media) in _blkdev_create() argument
182 if (disk && disk->type != blkdev_disk) { in _blkdev_create()
231 if (!strcmp(type, "disk")) in _blkdev_create()
[all …]
Dblkdev.h29 enum blk_type type; member
54 …lkdev_create(blkdev_t *disk, char *devpath, int major, int minor, struct media *media, char *type);
/system/core/libpixelflinger/codeflinger/
DARMAssemblerInterface.cpp88 uint32_t ARMAssemblerInterface::reg_imm(int Rm, int type, uint32_t shift) in reg_imm() argument
90 return ((shift&0x1F)<<7) | ((type&0x3)<<5) | (Rm&0xF); in reg_imm()
98 uint32_t ARMAssemblerInterface::reg_reg(int Rm, int type, int Rs) in reg_reg() argument
100 return ((Rs&0xF)<<8) | ((type&0x3)<<5) | (1<<4) | (Rm&0xF); in reg_reg()
123 uint32_t ARMAssemblerInterface::reg_scale_pre(int Rm, int type, in reg_scale_pre() argument
128 reg_imm(abs(Rm), type, shift); in reg_scale_pre()
131 uint32_t ARMAssemblerInterface::reg_scale_post(int Rm, int type, uint32_t shift) in reg_scale_post() argument
133 return (1<<25) | (((uint32_t(Rm)>>31)^1)<<23) | reg_imm(abs(Rm), type, shift); in reg_scale_post()
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/
DmlmeBuilder.c87 dot11MgmtSubType_e type, in mlmeBuilder_sendFrame() argument
118 status = mlmeBuilder_buildFrameCtrl(pHandle, type, (UINT16 *)&pFrame->hdr.fc, setWepOpt); in mlmeBuilder_sendFrame()
169 if (type == DIS_ASSOC) in mlmeBuilder_sendFrame()
175 if (type == DE_AUTH) in mlmeBuilder_sendFrame()
183 TI_STATUS mlmeBuilder_buildFrameCtrl(mlme_t* pMlme, dot11MgmtSubType_e type, UINT16* pFctrl, UINT8 … in mlmeBuilder_buildFrameCtrl() argument
187 switch (type) in mlmeBuilder_buildFrameCtrl()
/system/core/toolbox/
Dmount.c134 do_mount(char *dev, char *dir, char *type, unsigned long rwflag, void *data, int loop) in do_mount() argument
166 while ((s = strsep(&type, ",")) != NULL) { in do_mount()
224 char *type = NULL; in mount_main() local
246 type = optarg; in mount_main()
263 type = "none"; in mount_main()
265 if (optind + 2 != argc || type == NULL) { in mount_main()
271 return do_mount(argv[optind], argv[optind + 1], type, rwflag, in mount_main()
Dpowerd.c18 __u16 type; member
196 light_event.type = EV_LED; in powerd_main()
200 light_event2.type = EV_LED; in powerd_main()
353 if(event.type == EV_PWR && event.code == KEY_SLEEP) { in powerd_main()
356 … if(event.type == EV_KEY || (event.type == EV_SW && event.code == SW_0 && event.value == 1)) { in powerd_main()
376 …printf("got %s %s %d%s\n", event.type == EV_KEY ? "key" : "switch", event.value ? "down" : "up", e… in powerd_main()
395 if(event.type == EV_SW && event.code == SW_0 && event.value == 0) { in powerd_main()
/system/core/nexus/
DSupplicantEvent.cpp26 SupplicantEvent::SupplicantEvent(int type, int level) { in SupplicantEvent() argument
27 mType = type; in SupplicantEvent()
/system/core/libnetutils/
Ddhcpclient.c103 uint32_t type; member
158 static const char *dhcp_type_to_name(uint32_t type) in dhcp_type_to_name() argument
160 switch(type) { in dhcp_type_to_name()
177 dhcp_type_to_name(info->type), info->type); in dump_dhcp_info()
242 info->type = *x; in decode_dhcp_msg()
435 info.type = 0; in dhcp_init_ifc()
450 if ( info.type == DHCPOFFER ) { in dhcp_init_ifc()
522 if (info.type == DHCPOFFER) { in dhcp_init_ifc()
530 if (info.type == DHCPACK) { in dhcp_init_ifc()
534 } else if (info.type == DHCPNAK) { in dhcp_init_ifc()
[all …]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/inc/
DmlmeBuilder.h75 dot11MgmtSubType_e type,
81 dot11MgmtSubType_e type,
/system/extras/tests/fstest/
Dperm_checker.c62 enum perm_rule_type type; member
122 pr->type = RECURSIVE; in add_rule()
125 pr->type = WILDCARD; in add_rule()
128 pr->type = EXACT_DIR; in add_rule()
131 pr->type = EXACT_FILE; in add_rule()
145 pr->next = rules[pr->type]; in add_rule()
146 rules[pr->type] = pr; in add_rule()
150 num_rules, pr->type, pr->spec, pr->min_mode, pr->max_mode, in add_rule()
/system/core/adb/
Dsysdeps.h167 extern int socket_loopback_client(int port, int type);
168 extern int socket_network_client(const char *host, int port, int type);
169 extern int socket_loopback_server(int port, int type);
170 extern int socket_inaddr_any_server(int port, int type);
419 static __inline__ int unix_socketpair( int d, int type, int protocol, int sv[2] ) in unix_socketpair() argument
421 return socketpair( d, type, protocol, sv ); in unix_socketpair()

1234