Home
last modified time | relevance | path

Searched refs:psize (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/netbsd/lib/libc/db/btree/
H A Dbt_open.c127 if (b.psize && in __bt_open()
128 (b.psize < MINPSIZE || b.psize > MAX_PAGE_OFFSET + 1 || in __bt_open()
155 b.psize = 0; in __bt_open()
235 M_32_SWAP(m.psize); in __bt_open()
242 if (m.psize < MINPSIZE || m.psize > MAX_PAGE_OFFSET + 1 || in __bt_open()
247 b.psize = m.psize; in __bt_open()
256 if (b.psize == 0) { in __bt_open()
257 b.psize = sb.st_blksize; in __bt_open()
258 if (b.psize < MINPSIZE) in __bt_open()
259 b.psize = MINPSIZE; in __bt_open()
[all …]
/netbsd/usr.bin/uniq/
H A Duniq.c72 size_t prevlinesize, thislinesize, psize; in main() local
125 if ((p = fgetln(ifp, &psize)) == NULL) in main()
127 prevlinesize = prevlen = psize; in main()
138 thislinesize = psize; in main()
142 while ((p = fgetln(ifp, &psize)) != NULL) { in main()
143 if (psize > thislinesize) { in main()
144 if ((thisline = realloc(thisline, psize + 1)) == NULL) in main()
146 thislinesize = psize; in main()
148 thislen = psize; in main()
149 (void)memcpy(thisline, p, psize); in main()
[all …]
/netbsd/sys/dev/pcmcia/
H A Dif_malo_pcmcia.c998 uint16_t psize; in cmalo_rx() local
1011 if (psize & 0x0001) in cmalo_rx()
1059 uint16_t psize; in cmalo_tx() local
1078 if (psize & 0x0001) { in cmalo_tx()
1341 uint16_t psize; in cmalo_cmd_set_scan() local
1753 uint16_t psize; in cmalo_cmd_set_macctrl() local
1816 uint16_t psize; in cmalo_cmd_set_assoc() local
1844 psize += le16toh(body_phy->size); in cmalo_cmd_set_assoc()
1948 if (psize & 0x0001) { in cmalo_cmd_request()
1978 uint16_t psize; in cmalo_cmd_response() local
[all …]
/netbsd/sys/lib/libsa/
H A Dcd9660.c141 size_t buf_size, nread, psize, dsize; in cd9660_open() local
177 psize = isonum_733(vd->path_table_size); in cd9660_open()
179 if (psize > ISO_DEFAULT_BLOCK_SIZE) { in cd9660_open()
210 if ((char *)pp >= (char *)buf + psize) in cd9660_open()
222 while ((char *)pp < (char *)buf + psize) { in cd9660_open()
236 for (psize = 0; psize < dsize;) { in cd9660_open()
237 if (!(psize % ISO_DEFAULT_BLOCK_SIZE)) { in cd9660_open()
256 psize += ISO_DEFAULT_BLOCK_SIZE; in cd9660_open()
258 psize = roundup(psize, ISO_DEFAULT_BLOCK_SIZE); in cd9660_open()
265 psize += (size_t)isonum_711(dp->length); in cd9660_open()
[all …]
/netbsd/tests/lib/libc/db/
H A Dt_db.sh223 for psize in 512 16384 65536; do
224 echo "checking page size: $psize"
287 for psize in 512 16384 65536; do
288 echo "checking page size: $psize"
949 for psize in 512 1024 2048 4096 8192; do
950 echo " page size $psize"
952 psize = '$psize'; hsize = int(psize/2);
980 "$(prog_db)" -i psize=$psize btree in
1091 "$(prog_db)" -i psize=4096 btree in
1129 "$(prog_db)" -i psize=512 btree in1
[all …]
/netbsd/external/bsd/cron/dist/
H A Dpw_dup.c59 size_t nsize, psize, gsize, dsize, ssize, total; in pw_dup() local
73 psize = strlen(pw->pw_passwd) + 1; in pw_dup()
74 total += psize; in pw_dup()
76 psize = 0; in pw_dup()
115 (void)memcpy(cp, pw->pw_passwd, psize); in pw_dup()
117 cp += psize; in pw_dup()
/netbsd/external/gpl3/gcc.old/dist/libgfortran/generated/
H A Dreshape_c10.c71 index_type psize; in reshape_c10() local
128 psize = 1; in reshape_c10()
141 if (psize == pstride[n]) in reshape_c10()
142 psize *= pextent[n]; in reshape_c10()
144 psize = 0; in reshape_c10()
151 psize = 1; in reshape_c10()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_c10()
266 psize *= sizeof (GFC_COMPLEX_10); in reshape_c10()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_c10()
H A Dreshape_c16.c71 index_type psize; in reshape_c16() local
128 psize = 1; in reshape_c16()
141 if (psize == pstride[n]) in reshape_c16()
142 psize *= pextent[n]; in reshape_c16()
144 psize = 0; in reshape_c16()
151 psize = 1; in reshape_c16()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_c16()
266 psize *= sizeof (GFC_COMPLEX_16); in reshape_c16()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_c16()
H A Dreshape_c4.c71 index_type psize; in reshape_c4() local
128 psize = 1; in reshape_c4()
141 if (psize == pstride[n]) in reshape_c4()
142 psize *= pextent[n]; in reshape_c4()
144 psize = 0; in reshape_c4()
151 psize = 1; in reshape_c4()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_c4()
266 psize *= sizeof (GFC_COMPLEX_4); in reshape_c4()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_c4()
H A Dreshape_c8.c71 index_type psize; in reshape_c8() local
128 psize = 1; in reshape_c8()
141 if (psize == pstride[n]) in reshape_c8()
142 psize *= pextent[n]; in reshape_c8()
144 psize = 0; in reshape_c8()
151 psize = 1; in reshape_c8()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_c8()
266 psize *= sizeof (GFC_COMPLEX_8); in reshape_c8()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_c8()
H A Dreshape_i16.c71 index_type psize; in reshape_16() local
128 psize = 1; in reshape_16()
141 if (psize == pstride[n]) in reshape_16()
142 psize *= pextent[n]; in reshape_16()
144 psize = 0; in reshape_16()
151 psize = 1; in reshape_16()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_16()
266 psize *= sizeof (GFC_INTEGER_16); in reshape_16()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_16()
H A Dreshape_i4.c71 index_type psize; in reshape_4() local
128 psize = 1; in reshape_4()
141 if (psize == pstride[n]) in reshape_4()
142 psize *= pextent[n]; in reshape_4()
144 psize = 0; in reshape_4()
151 psize = 1; in reshape_4()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_4()
266 psize *= sizeof (GFC_INTEGER_4); in reshape_4()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_4()
H A Dreshape_i8.c71 index_type psize; in reshape_8() local
128 psize = 1; in reshape_8()
141 if (psize == pstride[n]) in reshape_8()
142 psize *= pextent[n]; in reshape_8()
144 psize = 0; in reshape_8()
151 psize = 1; in reshape_8()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_8()
266 psize *= sizeof (GFC_INTEGER_8); in reshape_8()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_8()
H A Dreshape_r10.c71 index_type psize; in reshape_r10() local
128 psize = 1; in reshape_r10()
141 if (psize == pstride[n]) in reshape_r10()
142 psize *= pextent[n]; in reshape_r10()
144 psize = 0; in reshape_r10()
151 psize = 1; in reshape_r10()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_r10()
266 psize *= sizeof (GFC_REAL_10); in reshape_r10()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_r10()
H A Dreshape_r16.c71 index_type psize; in reshape_r16() local
128 psize = 1; in reshape_r16()
141 if (psize == pstride[n]) in reshape_r16()
142 psize *= pextent[n]; in reshape_r16()
144 psize = 0; in reshape_r16()
151 psize = 1; in reshape_r16()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_r16()
266 psize *= sizeof (GFC_REAL_16); in reshape_r16()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_r16()
H A Dreshape_r4.c71 index_type psize; in reshape_r4() local
128 psize = 1; in reshape_r4()
141 if (psize == pstride[n]) in reshape_r4()
142 psize *= pextent[n]; in reshape_r4()
144 psize = 0; in reshape_r4()
151 psize = 1; in reshape_r4()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_r4()
266 psize *= sizeof (GFC_REAL_4); in reshape_r4()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_r4()
H A Dreshape_r8.c71 index_type psize; in reshape_r8() local
128 psize = 1; in reshape_r8()
141 if (psize == pstride[n]) in reshape_r8()
142 psize *= pextent[n]; in reshape_r8()
144 psize = 0; in reshape_r8()
151 psize = 1; in reshape_r8()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_r8()
266 psize *= sizeof (GFC_REAL_8); in reshape_r8()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_r8()
/netbsd/external/gpl3/gcc/dist/libgfortran/generated/
H A Dreshape_c10.c71 index_type psize; in reshape_c10() local
128 psize = 1; in reshape_c10()
141 if (psize == pstride[n]) in reshape_c10()
142 psize *= pextent[n]; in reshape_c10()
144 psize = 0; in reshape_c10()
151 psize = 1; in reshape_c10()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_c10()
266 psize *= sizeof (GFC_COMPLEX_10); in reshape_c10()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_c10()
H A Dreshape_c16.c71 index_type psize; in reshape_c16() local
128 psize = 1; in reshape_c16()
141 if (psize == pstride[n]) in reshape_c16()
142 psize *= pextent[n]; in reshape_c16()
144 psize = 0; in reshape_c16()
151 psize = 1; in reshape_c16()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_c16()
266 psize *= sizeof (GFC_COMPLEX_16); in reshape_c16()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_c16()
H A Dreshape_c17.c71 index_type psize; in reshape_c17() local
128 psize = 1; in reshape_c17()
141 if (psize == pstride[n]) in reshape_c17()
142 psize *= pextent[n]; in reshape_c17()
144 psize = 0; in reshape_c17()
151 psize = 1; in reshape_c17()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_c17()
266 psize *= sizeof (GFC_COMPLEX_17); in reshape_c17()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_c17()
H A Dreshape_c4.c71 index_type psize; in reshape_c4() local
128 psize = 1; in reshape_c4()
141 if (psize == pstride[n]) in reshape_c4()
142 psize *= pextent[n]; in reshape_c4()
144 psize = 0; in reshape_c4()
151 psize = 1; in reshape_c4()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_c4()
266 psize *= sizeof (GFC_COMPLEX_4); in reshape_c4()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_c4()
H A Dreshape_c8.c71 index_type psize; in reshape_c8() local
128 psize = 1; in reshape_c8()
141 if (psize == pstride[n]) in reshape_c8()
142 psize *= pextent[n]; in reshape_c8()
144 psize = 0; in reshape_c8()
151 psize = 1; in reshape_c8()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_c8()
266 psize *= sizeof (GFC_COMPLEX_8); in reshape_c8()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_c8()
H A Dreshape_i16.c71 index_type psize; in reshape_16() local
128 psize = 1; in reshape_16()
141 if (psize == pstride[n]) in reshape_16()
142 psize *= pextent[n]; in reshape_16()
144 psize = 0; in reshape_16()
151 psize = 1; in reshape_16()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_16()
266 psize *= sizeof (GFC_INTEGER_16); in reshape_16()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_16()
H A Dreshape_i4.c71 index_type psize; in reshape_4() local
128 psize = 1; in reshape_4()
141 if (psize == pstride[n]) in reshape_4()
142 psize *= pextent[n]; in reshape_4()
144 psize = 0; in reshape_4()
151 psize = 1; in reshape_4()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_4()
266 psize *= sizeof (GFC_INTEGER_4); in reshape_4()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_4()
H A Dreshape_i8.c71 index_type psize; in reshape_8() local
128 psize = 1; in reshape_8()
141 if (psize == pstride[n]) in reshape_8()
142 psize *= pextent[n]; in reshape_8()
144 psize = 0; in reshape_8()
151 psize = 1; in reshape_8()
262 if (rsize != 0 && ssize != 0 && psize != 0) in reshape_8()
266 psize *= sizeof (GFC_INTEGER_8); in reshape_8()
268 ssize, pad ? (char *)pad->base_addr : NULL, psize); in reshape_8()

12345678910>>...12