Searched refs:octet (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-10.0-release/contrib/subversion/subversion/libsvn_subr/
H A Dutf_validate.c63 /* Lookup table to categorise each octet in the string. */
254 /* Scan MAX_LEN bytes in *DATA for chars that are not in the octet
294 /* Scan the C string in *DATA for chars that are not in the octet
350 unsigned char octet = *data++; local
351 int category = octet_category[octet];
371 unsigned char octet = *data++; local
372 int category = octet_category[octet];
391 unsigned char octet = *data++; local
392 int category = octet_category[octet];
408 unsigned char octet local
[all...]
/freebsd-10.0-release/lib/libc/net/
H A Dether_addr.c78 e->octet[i] = o[i];
94 e->octet[0]=o0;
95 e->octet[1]=o1;
96 e->octet[2]=o2;
97 e->octet[3]=o3;
98 e->octet[4]=o4;
99 e->octet[5]=o5;
119 i = sprintf(a, "%02x:%02x:%02x:%02x:%02x:%02x", n->octet[0],
120 n->octet[1], n->octet[
[all...]
H A Deui64.c186 e->octet[0]=o0;
187 e->octet[1]=o1;
188 e->octet[2]=o2;
189 e->octet[3]=o3;
190 e->octet[4]=o4;
191 e->octet[5]=o5;
192 e->octet[6]=o6;
193 e->octet[7]=o7;
207 id->octet[0], id->octet[
[all...]
/freebsd-10.0-release/contrib/libyaml/src/
H A Dwriter.c72 unsigned char octet; local
84 octet = emitter->buffer.pointer[0];
86 width = (octet & 0x80) == 0x00 ? 1 :
87 (octet & 0xE0) == 0xC0 ? 2 :
88 (octet & 0xF0) == 0xE0 ? 3 :
89 (octet & 0xF8) == 0xF0 ? 4 : 0;
91 value = (octet & 0x80) == 0x00 ? octet & 0x7F :
92 (octet & 0xE0) == 0xC0 ? octet
[all...]
H A Dreader.c196 unsigned char octet; local
215 * Char. number range | UTF-8 octet sequence
230 octet = parser->raw_buffer.pointer[0];
231 width = (octet & 0x80) == 0x00 ? 1 :
232 (octet & 0xE0) == 0xC0 ? 2 :
233 (octet & 0xF0) == 0xE0 ? 3 :
234 (octet & 0xF8) == 0xF0 ? 4 : 0;
236 /* Check if the leading octet is valid. */
240 "invalid leading UTF-8 octet",
241 parser->offset, octet);
[all...]
H A Dapi.c626 unsigned char octet; local
631 octet = pointer[0];
632 width = (octet & 0x80) == 0x00 ? 1 :
633 (octet & 0xE0) == 0xC0 ? 2 :
634 (octet & 0xF0) == 0xE0 ? 3 :
635 (octet & 0xF8) == 0xF0 ? 4 : 0;
636 value = (octet & 0x80) == 0x00 ? octet & 0x7F :
637 (octet & 0xE0) == 0xC0 ? octet
[all...]
H A Demitter.c2038 unsigned char octet; local
2043 octet = string.pointer[0];
2044 width = (octet & 0x80) == 0x00 ? 1 :
2045 (octet & 0xE0) == 0xC0 ? 2 :
2046 (octet & 0xF0) == 0xE0 ? 3 :
2047 (octet & 0xF8) == 0xF0 ? 4 : 0;
2048 value = (octet & 0x80) == 0x00 ? octet & 0x7F :
2049 (octet & 0xE0) == 0xC0 ? octet
[all...]
H A Dyaml_private.h157 * Check the octet at the specified position.
160 #define CHECK_AT(string,octet,offset) \
161 ((string).pointer[offset] == (yaml_char_t)(octet))
164 * Check the current octet in the buffer.
167 #define CHECK(string,octet) CHECK_AT((string),(octet),0)
/freebsd-10.0-release/sys/sys/
H A Deui64.h47 u_char octet[EUI64_LEN]; member in struct:eui64
/freebsd-10.0-release/sys/netinet/libalias/
H A Dalias_ftp.c347 u_int8_t octet; local
358 addr = port = octet = 0;
375 octet = ch - '0';
385 octet = 10 * octet + ch - '0';
387 addr = (addr << 8) + octet;
395 octet = 10 * octet + ch - '0';
397 port = (port << 8) + octet;
420 u_int8_t octet; local
510 u_int8_t octet; local
[all...]
/freebsd-10.0-release/tools/regression/ethernet/ethermulti/
H A Dethermulti.c131 ea.octet[0] = 0x01;
132 ea.octet[1] = 0x80;
133 ea.octet[2] = ((mac4 >> 24 & 0xFF));
134 ea.octet[3] = ((mac4 >> 16 & 0xFF));
135 ea.octet[4] = ((mac4 >> 8 & 0xFF));
136 ea.octet[5] = (mac4 & 0xFF);
/freebsd-10.0-release/crypto/openssl/engines/ccgost/
H A Dgost_ameth.c328 /* New format - Little endian octet string */
614 ASN1_OCTET_STRING *octet= NULL; local
620 octet = d2i_ASN1_OCTET_STRING(NULL,&pubkey_buf,pub_len);
621 if (!octet)
626 databuf = OPENSSL_malloc(octet->length);
627 for (i=0,j=octet->length-1;i<octet->length;i++,j--)
629 databuf[j]=octet->data[i];
632 dsa->pub_key=BN_bin2bn(databuf,octet->length,NULL);
633 ASN1_OCTET_STRING_free(octet);
642 ASN1_OCTET_STRING *octet = NULL; local
682 ASN1_OCTET_STRING *octet= NULL; local
736 ASN1_OCTET_STRING *octet = NULL; local
[all...]
/freebsd-10.0-release/sys/net/
H A Dif_llatbl.c389 uint8_t octet[6]; local
408 bcopy(&lle->ll_addr.mac16, octet, sizeof(octet));
410 octet[0], octet[1], octet[2], octet[3], octet[4], octet[5]);
H A Diso88025.h156 u_char octet[ISO88025_ADDR_LEN]; member in struct:iso88025_addr
/freebsd-10.0-release/contrib/wpa/src/tls/
H A Dasn1.c65 /* Short form - length 0..127 in one octet */
106 * The first octet encodes the first two object
166 static u8 rotate_bits(u8 octet) argument
174 if (octet & 1)
176 octet >>= 1;
/freebsd-10.0-release/crypto/openssl/crypto/pkcs12/
H A Dp12_utl.c137 return ASN1_item_unpack(bag->value.bag->value.octet, ASN1_ITEM_rptr(X509));
144 return ASN1_item_unpack(bag->value.bag->value.octet,
H A Dp12_add.c75 if (!ASN1_item_pack(obj, it, &bag->value.octet)) {
/freebsd-10.0-release/contrib/ldns/
H A Drdata.c396 uint8_t octet; local
455 octet = ( ((unsigned int) nbit) & 0x78) >> 3;
459 nibble = (ldns_rdf_data(rd)[octet] & ( 0xf << (4 * (1 -
464 (octet * 2 + nnibble)] =
/freebsd-10.0-release/usr.sbin/bhyve/
H A Dpci_virtio_net.c492 if (ea == NULL || ETHER_IS_MULTICAST(ea->octet) ||
493 memcmp(ea->octet, zero_addr, ETHER_ADDR_LEN) == 0) {
497 memcpy(mac_addr, ea->octet, ETHER_ADDR_LEN);
/freebsd-10.0-release/sbin/ifconfig/
H A Difbridge.c239 memcpy(ea.octet, ifba->ifba_dst,
240 sizeof(ea.octet));
477 memcpy(req.ifba_dst, ea->octet, sizeof(req.ifba_dst));
497 memcpy(req.ifba_dst, ea->octet, sizeof(req.ifba_dst));
/freebsd-10.0-release/usr.sbin/wake/
H A Dwake.c168 bcopy(addr->octet, p, ETHER_ADDR_LEN);
/freebsd-10.0-release/tools/tools/cxgbetool/
H A Dcxgbetool.c673 int noctets, octet; local
682 for (octet = 0; octet < noctets; octet++)
683 printf("%02x", addr[octet]);
685 for (octet = 0; octet < noctets; octet++)
686 printf("%02x", addrm[octet]);
/freebsd-10.0-release/tools/tools/cxgbtool/
H A Dcxgbtool.c1290 uint8_t octet[4]; member in union:__anon11344
1314 sprintf(sip, "%u.%u.%u.%u/%-2u", nsip.octet[0], nsip.octet[1],
1315 nsip.octet[2], nsip.octet[3],
1317 sprintf(dip, "%u.%u.%u.%u", ndip.octet[0], ndip.octet[1],
1318 ndip.octet[2], ndip.octet[3]);
/freebsd-10.0-release/contrib/apr/network_io/unix/
H A Dsockaddr.c847 int octet; local
879 octet = atoi(s);
880 if (octet < 0 || octet > 255) {
883 ipsub->sub[0] |= octet << shift;
/freebsd-10.0-release/sys/dev/cxgb/common/
H A Dcxgb_xgmac.c391 int hash = 0, octet, bit, i = 0, c; local
393 for (octet = 0; octet < 6; ++octet)
394 for (c = addr[octet], bit = 0; bit < 8; c >>= 1, ++bit) {

Completed in 317 milliseconds

12