/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
H A D | getaddrinfo.c | 96 #define res_nmkquery(state,op,dname,class,type,data,datalen,newrr_in,buf,buflen) res_mkquery( op, dname, class, type, data, datalen, newrr_in, buf, buflen )
201 int qclass, qtype; /* class and type of query */
1081 int type, class, ancount, qdcount;
local 1148 type = _getshort(cp);
1149 cp += INT16SZ; /* type */
1160 type == T_CNAME) {
1179 if (!(type == T_A || type == T_AAAA)) {
1183 } else if (type ! 1698 int class, type; local [all...] |
H A D | gethostbydns.c | 205 int type, class, buflen, ancount, qdcount;
local 280 type = _getshort(cp);
281 cp += INT16SZ; /* type */
284 if (qtype == T_A && type == T_A)
296 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) {
330 if (qtype == T_PTR && type == T_CNAME) {
353 if (type != qtype) {
356 "gethostby*.gethostanswer: asked for \"%s %s %s\", got type \"%s\"",
358 p_type(type));
363 switch (type) {
526 int n, size, type, len; local [all...] |
H A D | gethostnamadr.c | 56 enum service_type type;
member in struct:__anon9390 77 for(i = 0; service_names[i].type != SERVICE_NONE; i++) {
79 return service_names[i].type;
137 gethostbyname2(const char *name, int type)
argument 150 hp = _gethostbyhtname(name, type);
153 hp = _gethostbydnsname(name, type);
156 hp = _gethostbynisname(name, type);
165 gethostbyaddr(const char *addr, socklen_t len, int type)
argument 178 hp = _gethostbyhtaddr(addr, len, type);
181 hp = _gethostbydnsaddr(addr, len, type);
198 gethostbyaddr_r(const char *addr, int len, int type, struct hostent *result, struct hostent_data *buffer) argument [all...] |
H A D | getnetbydns.c | 125 int type, class, buflen, ancount, qdcount, haveanswer, i, nchar;
local 174 GETSHORT(type, cp);
178 if (class == C_IN && type == T_PTR) {
|
H A D | getnetbyht.c | 158 _getnetbyhtaddr(register unsigned long net, register int type)
argument 164 if (p->n_addrtype == type && p->n_net == net)
|
H A D | getnetnamadr.c | 52 enum service_type type;
member in struct:__anon9393 73 for(i = 0; service_names[i].type != SERVICE_NONE; i++) {
75 return service_names[i].type;
|
H A D | ns_print.c | 122 * ns_sprintrrf(msg, msglen, name, class, type, ttl, rdata, rdlen,
130 const char *name, ns_class class, ns_type type,
173 len = SPRINTF((tmp, " %s %s", p_class(class), p_type(type)));
180 switch (type) {
506 u_int type, algorithm, labels, footprint;
local 515 type = ns_get16(rdata); rdata += NS_INT16SZ;
520 p_type((int)type), (int)algorithm, (unsigned long)t));
582 comment = "unknown RR type";
129 ns_sprintrrf(const u_char *msg, size_t msglen, const char *name, ns_class class, ns_type type, u_long ttl, const u_char *rdata, size_t rdlen, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument
|
H A D | res_debug.c | 180 fprintf(file, ";;\t%s, type = %s, class = %s\n",
389 * that T_ANY is a qtype but not a type. (You can ask for records of type
390 * T_ANY, but you can't have any records of that type in the database.)
486 * Return a string for the type.
489 p_type(int type) {
argument 490 return (sym_ntos(__p_type_syms, type, (int *)0));
494 * Return a string for the type.
|
H A D | res_mkquery.c | 107 int type, /* type of query */
127 op, dname, class, type);
158 __putshort((u_int16_t)type, cp);
192 __putshort((u_int16_t)type, cp);
103 res_mkquery( int op, const char *dname, int class, int type, const u_char *data, int datalen, const u_char *newrr_in, u_char *buf, int buflen ) argument
|
H A D | res_mkupdate.c | 163 /* overload class and type */
438 u_int class, u_int type, u_long ttl) {
444 rrecp->r_type = (u_int16_t)type;
437 res_mkupdrec(int section, const char *dname, u_int class, u_int type, u_long ttl) argument
|
H A D | res_query.c | 122 int type, /* type of query */
139 printf(";; res_query(%s, %d, %d)\n", name, class, type);
142 n = res_mkquery(QUERY, name, class, type, NULL, 0, NULL,
200 int type, /* type of query */
226 return (res_query(cp, class, type, answer, anslen));
234 ret = res_querydomain(name, NULL, class, type, answer, anslen);
255 ret = res_querydomain(name, *domain, class, type,
266 * a wildcard entry of another type coul 119 res_query( const char *name, int class, int type, u_char *answer, int anslen ) argument 197 res_search( const char *name, int class, int type, u_char *answer, int anslen ) argument 337 res_querydomain( const char *name, const char *domain, int class, int type, u_char *answer, int anslen ) argument [all...] |
H A D | res_send.c | 234 * res_nameinquery(name, type, class, buf, eom)
235 * look for (name,type,class) in the query section of packet (buf,eom)
248 int type,
269 if (ttype == type &&
279 * is there a 1:1 mapping of (name,type,class)
246 res_nameinquery( const char *name, int type, int class, const u_char *buf, const u_char *eom ) argument
|
H A D | res_update.c | 132 u_int16_t dlen, class, qclass, type, qtype;
local 252 GETSHORT(type, cp);
254 if (type != T_SOA || class != qclass) {
291 GETSHORT(type, cp);
293 if (type == T_CNAME) {
300 type != T_SOA ||
324 type == T_SOA && class == qclass) {
435 GETSHORT(type, cp);
442 type == T_NS && class == qclass) {
461 GETSHORT(type, c [all...] |
H A D | socket.c | 184 @param [in] type Specifies how to make the network connection. The following values
219 IN INT32 type,
242 type,
217 socket( IN INT32 domain, IN INT32 type, IN INT32 protocol ) argument
|
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/ |
H A D | Socket.c | 75 ::ESL_SERVICE manages the network interfaces for a given transport type (IP4, TCP4, UDP4, etc.)
553 @param[in] type Specifies how to make the network connection.
561 @retval EFI_INVALID_PARAMETER - Invalid type value, errno = EINVAL
568 IN int type,
621 // Set the default type if necessary
622 if ( 0 == type ) {
623 type = SOCK_STREAM;
626 // Validate the type value
627 if (( type >= ApiArraySize )
629 || ( NULL == ppApiArray[ type ])) {
565 EslSocket( IN EFI_SOCKET_PROTOCOL * pSocketProtocol, IN int domain, IN int type, IN int protocol, IN int * pErrno ) argument [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/ |
H A D | dig64.h | 40 * XXX using a 64-bit type for the address would cause padding and
48 uint8_t type;
member in struct:dig64_hcdp_entry 63 * XXX using a 64-bit type for the baudrate would cause padding and
|
/device/linaro/bootloader/edk2/StdLib/Include/arpa/ |
H A D | nameser.h | 145 uint16_t type;
member in struct:__ns_rr 154 #define ns_rr_type(rr) ((ns_type)((rr).type + 0))
233 u_int16_t r_type; /* type number */
237 int r_opcode; /* type of operation */
277 * Currently defined type values for resources and queries.
363 ns_kt_rsa = 1, /*%< key type RSA/MD5 */
366 ns_kt_private = 254 /*%< Private key type starts with OID */
373 cert_t_url = 253, /*%< URL private type */
374 cert_t_oid = 254 /*%< OID private type */
378 #define NS_KEY_TYPEMASK 0xC000 /*%< Mask for "type" bit [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/ |
H A D | math.h | 250 /** Break Value into integral and fractional parts, each of which has the same type and sign
375 int type;
member in struct:exception
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
H A D | StubFunctions.c | 75 popen (const char *cmd, const char *type)
argument
|
/device/linaro/hikey/bluetooth/ |
H A D | h4_protocol.cc | 29 size_t H4Protocol::Send(uint8_t type, const uint8_t* data, size_t length) { argument 30 int rv = WriteSafely(uart_fd_, &type, sizeof(type)); 31 if (rv == sizeof(type)) { 53 // Get ready for the next type byte.
|
H A D | hci_packetizer.cc | 35 size_t HciGetPacketLengthForType(HciPacketType type, const uint8_t* preamble) { argument 36 size_t offset = packet_length_offset_for_type[type]; 37 if (type != HCI_PACKET_TYPE_ACL_DATA) return preamble[offset];
|
H A D | hci_protocol.cc | 34 size_t HciGetPacketLengthForType(HciPacketType type, const uint8_t* preamble) { argument 35 size_t offset = packet_length_offset_for_type[type]; 36 if (type != HCI_PACKET_TYPE_ACL_DATA) return preamble[offset];
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
H A D | PCCTSAST.h | 66 int type() { return _token; }
function in struct:_scanast 101 void stringparser_match(StringParser *parser, int type);
114 virtual int type() { return 0; }
function in class:PCCTS_AST
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/h/ |
H A D | SCommonAST.h | 19 int type() { return _type; }
function in class:SORCommonAST
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/ |
H A D | regcomp.c | 1218 if (node->type == ENCLOSE_OPTION)
1228 switch (node->type) {
1286 if (node->type == ENCLOSE_OPTION)
1289 switch (node->type) {
1393 switch (node->type) {
1420 switch (node->type) {
1502 int len, type, r;
local 1504 type = NTYPE(node);
1505 switch (type) {
1595 int n, type, le local 2676 int type, r = 0; local 2730 int type; local 2814 int type; local 2927 int type; local 2994 int type; local 3158 int type; local 3534 int type; local 3678 int type; local 4561 int type; local 6138 int i, type; local [all...] |