Home
last modified time | relevance | path

Searched refs:__uint16_t (Results 1 – 25 of 61) sorted by relevance

123

/picolibc-latest/newlib/libc/search/
Dpage.h73 #define PAIRSIZE(K,D) (2*sizeof(__uint16_t) + (K)->size + (D)->size)
74 #define BIGOVERHEAD (4*sizeof(__uint16_t))
75 #define KEYSIZE(K) (4*sizeof(__uint16_t) + (K)->size);
76 #define OVFLSIZE (2*sizeof(__uint16_t))
82 #define PAGE_META(N) (((N)+3) * sizeof(__uint16_t))
88 __uint16_t next_addr;
Dhash_page.c71 static __uint16_t overflow_page(HTAB *);
73 static void squeeze_key(__uint16_t *, const DBT *, const DBT *);
78 ((__uint16_t *)(P))[0] = 0; \
79 ((__uint16_t *)(P))[1] = hashp->BSIZE - 3 * sizeof(__uint16_t); \
80 ((__uint16_t *)(P))[2] = hashp->BSIZE; \
91 __uint16_t *bp, n, off; in putpair()
93 bp = (__uint16_t *)p; in putpair()
109 bp[n + 1] = off - ((n + 3) * sizeof(__uint16_t)); in putpair()
123 __uint16_t *bp, newoff; in __delpair()
125 __uint16_t pairlen; in __delpair()
[all …]
Dhash_bigkey.c91 __uint16_t *p; in __big_insert()
94 __uint16_t space, move_bytes, off; in __big_insert()
98 p = (__uint16_t *)cp; in __big_insert()
137 p = (__uint16_t *)bufp->page; in __big_insert()
167 p = (__uint16_t *)cp; in __big_insert()
191 __uint16_t *bp, pageno; in __big_delete()
196 bp = (__uint16_t *)bufp->page; in __big_delete()
219 bp = (__uint16_t *)rbufp->page; in __big_delete()
234 bp = (__uint16_t *)bufp->page; in __big_delete()
271 __uint16_t *bp; in __find_bigpair()
[all …]
Ddb_local.h46 typedef __uint16_t indx_t;
187 __uint16_t _tmp = a; \
192 __uint16_t _tmp = *(__uint16_t *)a; \
/picolibc-latest/newlib/libc/include/machine/
Dendian.h29 static __inline __uint16_t
30 __bswap16(__uint16_t _x) in __bswap16()
33 return ((__uint16_t)((_x >> 8) | ((_x << 8) & 0xff00))); in __bswap16()
59 #define htole16(_x) ((__uint16_t)(_x))
61 #define le16toh(_x) ((__uint16_t)(_x))
71 #define htobe16(_x) ((__uint16_t)(_x))
73 #define be16toh(_x) ((__uint16_t)(_x))
D_default_types.h57 typedef __UINT16_TYPE__ __uint16_t; typedef
59 typedef unsigned __INT16_TYPE__ __uint16_t; typedef
64 typedef unsigned int __uint16_t; typedef
68 typedef unsigned short __uint16_t; typedef
72 typedef unsigned char __uint16_t; typedef
147 typedef __uint16_t __uint_least8_t;
169 typedef __uint16_t __uint_least16_t;
/picolibc-latest/newlib/libc/iconv/ccs/
Dccs.h133 __uint16_t ver; /* Table version */
135 __uint16_t bits; /* CCS's bits number */
137 const __uint16_t *from_ucs; /* UCS -> CCS table */
139 const __uint16_t *to_ucs; /* CCS -> UCS table */
150 const __uint16_t *tbl; /* Table's data */
Dcp775.c30 static const __uint16_t
327 (__uint16_t *)&from_ucs_speed_cp775, /* UCS -> cp775 table */
329 (__uint16_t *)NULL,
333 (__uint16_t *)&to_ucs_speed_cp775 /* cp775 -> UCS table */
335 (__uint16_t *)NULL,
Dcp850.c30 static const __uint16_t
294 (__uint16_t *)&from_ucs_speed_cp850, /* UCS -> cp850 table */
296 (__uint16_t *)NULL,
300 (__uint16_t *)&to_ucs_speed_cp850 /* cp850 -> UCS table */
302 (__uint16_t *)NULL,
Dcp852.c30 static const __uint16_t
294 (__uint16_t *)&from_ucs_speed_cp852, /* UCS -> cp852 table */
296 (__uint16_t *)NULL,
300 (__uint16_t *)&to_ucs_speed_cp852 /* cp852 -> UCS table */
302 (__uint16_t *)NULL,
Dcp855.c30 static const __uint16_t
294 (__uint16_t *)&from_ucs_speed_cp855, /* UCS -> cp855 table */
296 (__uint16_t *)NULL,
300 (__uint16_t *)&to_ucs_speed_cp855 /* cp855 -> UCS table */
302 (__uint16_t *)NULL,
Dcp866.c30 static const __uint16_t
327 (__uint16_t *)&from_ucs_speed_cp866, /* UCS -> cp866 table */
329 (__uint16_t *)NULL,
333 (__uint16_t *)&to_ucs_speed_cp866 /* cp866 -> UCS table */
335 (__uint16_t *)NULL,
Dwin_1250.c30 static const __uint16_t
327 (__uint16_t *)&from_ucs_speed_win_1250, /* UCS -> win_1250 table */
329 (__uint16_t *)NULL,
333 (__uint16_t *)&to_ucs_speed_win_1250 /* win_1250 -> UCS table */
335 (__uint16_t *)NULL,
Dwin_1251.c30 static const __uint16_t
294 (__uint16_t *)&from_ucs_speed_win_1251, /* UCS -> win_1251 table */
296 (__uint16_t *)NULL,
300 (__uint16_t *)&to_ucs_speed_win_1251 /* win_1251 -> UCS table */
302 (__uint16_t *)NULL,
Dwin_1252.c30 static const __uint16_t
327 (__uint16_t *)&from_ucs_speed_win_1252, /* UCS -> win_1252 table */
329 (__uint16_t *)NULL,
333 (__uint16_t *)&to_ucs_speed_win_1252 /* win_1252 -> UCS table */
335 (__uint16_t *)NULL,
Dwin_1253.c30 static const __uint16_t
327 (__uint16_t *)&from_ucs_speed_win_1253, /* UCS -> win_1253 table */
329 (__uint16_t *)NULL,
333 (__uint16_t *)&to_ucs_speed_win_1253 /* win_1253 -> UCS table */
335 (__uint16_t *)NULL,
Dwin_1254.c30 static const __uint16_t
327 (__uint16_t *)&from_ucs_speed_win_1254, /* UCS -> win_1254 table */
329 (__uint16_t *)NULL,
333 (__uint16_t *)&to_ucs_speed_win_1254 /* win_1254 -> UCS table */
335 (__uint16_t *)NULL,
Dwin_1255.c30 static const __uint16_t
360 (__uint16_t *)&from_ucs_speed_win_1255, /* UCS -> win_1255 table */
362 (__uint16_t *)NULL,
366 (__uint16_t *)&to_ucs_speed_win_1255 /* win_1255 -> UCS table */
368 (__uint16_t *)NULL,
Dwin_1256.c30 static const __uint16_t
360 (__uint16_t *)&from_ucs_speed_win_1256, /* UCS -> win_1256 table */
362 (__uint16_t *)NULL,
366 (__uint16_t *)&to_ucs_speed_win_1256 /* win_1256 -> UCS table */
368 (__uint16_t *)NULL,
Dwin_1257.c30 static const __uint16_t
327 (__uint16_t *)&from_ucs_speed_win_1257, /* UCS -> win_1257 table */
329 (__uint16_t *)NULL,
333 (__uint16_t *)&to_ucs_speed_win_1257 /* win_1257 -> UCS table */
335 (__uint16_t *)NULL,
Dwin_1258.c30 static const __uint16_t
360 (__uint16_t *)&from_ucs_speed_win_1258, /* UCS -> win_1258 table */
362 (__uint16_t *)NULL,
366 (__uint16_t *)&to_ucs_speed_win_1258 /* win_1258 -> UCS table */
368 (__uint16_t *)NULL,
/picolibc-latest/newlib/libc/include/
Dbyteswap.h48 static __inline __uint16_t
49 bswap_16(__uint16_t _x)
52 return ((__uint16_t)((_x >> 8) | ((_x << 8) & 0xff00)));
/picolibc-latest/newlib/libc/include/arpa/
Dinet.h20 #define __htons(_x) ((__uint16_t)(_x))
22 #define __ntohs(_x) ((__uint16_t)(_x))
/picolibc-latest/newlib/libc/iconv/ces/
Dtable.c57 find_code_size (ucs2_t code, const __uint16_t *tblp);
60 find_code_speed (ucs2_t code, const __uint16_t *tblp);
298 const __uint16_t *tblp) in find_code_speed()
300 __uint16_t idx = tblp[code >> 8]; in find_code_speed()
322 __uint16_t idx; in find_code_speed_8bit()
359 const __uint16_t *tblp) in find_code_size()
399 __uint16_t c; in find_code_size()
428 ICONV_BETOHS(*((__uint16_t *)(buf + (offset))))
/picolibc-latest/newlib/libc/iconv/lib/
Dlocal.h53 typedef __uint16_t ucs2_t;

123