| /src/sys/arch/mvme68k/stand/sboot/ |
| console.c | 42 struct zs_hw *zs = (struct zs_hw *)CONS_ZS_ADDR; variable in typeref:struct:zs_hw 55 zs->ctl = 1; rr1 = zs->ctl; 56 zs->ctl = 0; 57 if ((rr1 & 0x1) == 1 && (zs->ctl & 0x4) == 4) 60 zs->ctl = 9; 61 zs->ctl = 0x00; /* clear interrupt */ 62 zs->ctl = 4; 63 zs->ctl = 0x44; /* 16x clk, 1 stop bit */ 64 zs->ctl = 5 [all...] |
| /src/external/cddl/osnet/dist/uts/common/zmod/ |
| zmod.c | 42 z_stream zs; local 45 bzero(&zs, sizeof (zs)); 46 zs.next_in = (uchar_t *)src; 47 zs.avail_in = srclen; 48 zs.next_out = dst; 49 zs.avail_out = *dstlen; 56 if ((err = inflateInit2(&zs, DEF_WBITS | 0x20)) != Z_OK) 59 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { 60 (void) inflateEnd(&zs); 73 z_stream zs; local [all...] |
| /src/sys/arch/ews4800mips/stand/common/ |
| cons_zs.c | 40 struct zs zs; variable in typeref:struct:zs 53 zs.csr = (volatile uint8_t *)csr; 54 zs.data = (volatile uint8_t *)data; 55 zs.clock = clock; 63 #define ZS_WRITE_REG(zs, reg, val) \ 65 *zs.csr = reg; \ 66 *zs.csr = val; \ 73 ZS_WRITE_REG(zs, 9, 0); 74 ZS_WRITE_REG(zs, 9, ZSWR9_HARD_RESET) [all...] |
| /src/usr.bin/gzip/ |
| zuncompress.c | 42 #define tab_prefixof(i) (zs->zs_codetab[i]) 43 #define tab_suffixof(i) ((char_type *)(zs->zs_htab))[i] 128 static code_int getcode(struct s_zstate *zs); 164 zclose(void *zs) 166 free(zs); 174 struct s_zstate *zs; local 176 if ((zs = calloc(1, sizeof(struct s_zstate))) == NULL) 179 zs->zs_state = S_START; 182 zs->zs_hsize = HSIZE; /* For dynamic table sizing. */ 183 zs->zs_free_ent = 0; /* First unused entry. * 215 struct s_zstate *zs; local [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
| flexible-array-member.c | 38 struct zero_size *zs; variable in typeref:struct:zero_size 50 zs = (struct zero_size *) malloc (sizeof (*zs) + 3 * sizeof (int)); 58 zs->n = 3; 59 zs->items[0] = 201; 60 zs->items[1] = 202; 61 zs->items[2] = 203;
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.python/ |
| flexible-array-member.c | 38 struct zero_size *zs; variable in typeref:struct:zero_size 50 zs = (struct zero_size *) malloc (sizeof (*zs) + 3 * sizeof (int)); 58 zs->n = 3; 59 zs->items[0] = 201; 60 zs->items[1] = 202; 61 zs->items[2] = 203;
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| flexible-array-member.c | 38 struct zero_size *zs; variable in typeref:struct:zero_size 50 zs = (struct zero_size *) malloc (sizeof (*zs) + 3 * sizeof (int)); 58 zs->n = 3; 59 zs->items[0] = 201; 60 zs->items[1] = 202; 61 zs->items[2] = 203;
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/ |
| flexible-array-member.c | 38 struct zero_size *zs; variable in typeref:struct:zero_size 50 zs = (struct zero_size *) malloc (sizeof (*zs) + 3 * sizeof (int)); 58 zs->n = 3; 59 zs->items[0] = 201; 60 zs->items[1] = 202; 61 zs->items[2] = 203;
|
| /src/external/bsd/zstd/dist/contrib/seekable_format/ |
| zstdseek_decompress.c | 232 ZSTD_seekable* const zs = (ZSTD_seekable*)malloc(sizeof(ZSTD_seekable)); local 233 if (zs == NULL) return NULL; 236 memset(zs, 0, sizeof(*zs)); 238 zs->dstream = ZSTD_createDStream(); 239 if (zs->dstream == NULL) { 240 free(zs); 244 return zs; 247 size_t ZSTD_seekable_free(ZSTD_seekable* zs) 249 if (zs == NULL) return 0; /* support free on null * [all...] |
| zstd_seekable.h | 166 ZSTDLIB_API size_t ZSTD_seekable_free(ZSTD_seekable* zs); 169 ZSTDLIB_API size_t ZSTD_seekable_initBuff(ZSTD_seekable* zs, const void* src, size_t srcSize); 170 ZSTDLIB_API size_t ZSTD_seekable_initFile(ZSTD_seekable* zs, FILE* src); 171 ZSTDLIB_API size_t ZSTD_seekable_decompress(ZSTD_seekable* zs, void* dst, size_t dstSize, unsigned long long offset); 172 ZSTDLIB_API size_t ZSTD_seekable_decompressFrame(ZSTD_seekable* zs, void* dst, size_t dstSize, unsigned frameIndex); 176 ZSTDLIB_API unsigned ZSTD_seekable_getNumFrames(const ZSTD_seekable* zs); 177 ZSTDLIB_API unsigned long long ZSTD_seekable_getFrameCompressedOffset(const ZSTD_seekable* zs, unsigned frameIndex); 178 ZSTDLIB_API unsigned long long ZSTD_seekable_getFrameDecompressedOffset(const ZSTD_seekable* zs, unsigned frameIndex); 179 ZSTDLIB_API size_t ZSTD_seekable_getFrameCompressedSize(const ZSTD_seekable* zs, unsigned frameIndex); 180 ZSTDLIB_API size_t ZSTD_seekable_getFrameDecompressedSize(const ZSTD_seekable* zs, unsigned frameIndex) [all...] |
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| dmu_zfetch.c | 132 dmu_zfetch_stream_remove(zfetch_t *zf, zstream_t *zs) 135 list_remove(&zf->zf_stream, zs); 136 mutex_destroy(&zs->zs_lock); 137 kmem_free(zs, sizeof (*zs)); 147 zstream_t *zs; local 152 while ((zs = list_head(&zf->zf_stream)) != NULL) 153 dmu_zfetch_stream_remove(zf, zs); 178 for (zstream_t *zs = list_head(&zf->zf_stream); 179 zs != NULL; zs = zs_next) 204 zstream_t *zs = kmem_zalloc(sizeof (*zs), KM_SLEEP); local 225 zstream_t *zs; local [all...] |
| /src/external/bsd/libfido2/dist/src/ |
| compress.c | 48 z_stream zs; local 52 memset(&zs, 0, sizeof(zs)); 61 if ((z = inflateInit2(&zs, -MAX_WBITS)) != Z_OK) { 71 zs.next_in = in->ptr; 72 zs.avail_in = ilen; 73 zs.next_out = out->ptr; 74 zs.avail_out = olen; 76 if ((z = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { 81 if (zs.avail_out != 0) 103 z_stream zs; local [all...] |
| /src/sys/arch/mac68k/mac68k/ |
| conf.c | 51 cons_decl(zs); variable 55 cons_init(zs),
|
| /src/sys/arch/next68k/next68k/ |
| conf.c | 46 cons_decl(zs); variable 55 cons_init(zs),
|
| /src/sys/arch/x68k/x68k/ |
| conf.c | 54 cons_decl(zs); variable 61 cons_init(zs),
|
| /src/external/gpl3/binutils/dist/zlib/contrib/iostream2/ |
| zstream.h | 115 inline int read(izstream& zs, T* x, Items items) { 116 return ::gzread(zs.fp(), x, items*sizeof(T)); 123 inline izstream& operator>(izstream& zs, T& x) { 124 ::gzread(zs.fp(), &x, sizeof(T)); 125 return zs; 129 inline zstringlen::zstringlen(izstream& zs) { 130 zs > val.byte; 131 if (val.byte == 255) zs > val.word; 138 inline izstream& operator>(izstream& zs, char* x) { 139 zstringlen len(zs); [all...] |
| /src/external/gpl3/binutils.old/dist/zlib/contrib/iostream2/ |
| zstream.h | 115 inline int read(izstream& zs, T* x, Items items) { 116 return ::gzread(zs.fp(), x, items*sizeof(T)); 123 inline izstream& operator>(izstream& zs, T& x) { 124 ::gzread(zs.fp(), &x, sizeof(T)); 125 return zs; 129 inline zstringlen::zstringlen(izstream& zs) { 130 zs > val.byte; 131 if (val.byte == 255) zs > val.word; 138 inline izstream& operator>(izstream& zs, char* x) { 139 zstringlen len(zs); [all...] |
| /src/external/gpl3/gdb/dist/zlib/contrib/iostream2/ |
| zstream.h | 115 inline int read(izstream& zs, T* x, Items items) { 116 return ::gzread(zs.fp(), x, items*sizeof(T)); 123 inline izstream& operator>(izstream& zs, T& x) { 124 ::gzread(zs.fp(), &x, sizeof(T)); 125 return zs; 129 inline zstringlen::zstringlen(izstream& zs) { 130 zs > val.byte; 131 if (val.byte == 255) zs > val.word; 138 inline izstream& operator>(izstream& zs, char* x) { 139 zstringlen len(zs); [all...] |
| /src/external/gpl3/gdb.old/dist/zlib/contrib/iostream2/ |
| zstream.h | 115 inline int read(izstream& zs, T* x, Items items) { 116 return ::gzread(zs.fp(), x, items*sizeof(T)); 123 inline izstream& operator>(izstream& zs, T& x) { 124 ::gzread(zs.fp(), &x, sizeof(T)); 125 return zs; 129 inline zstringlen::zstringlen(izstream& zs) { 130 zs > val.byte; 131 if (val.byte == 255) zs > val.word; 138 inline izstream& operator>(izstream& zs, char* x) { 139 zstringlen len(zs); [all...] |
| /src/common/dist/zlib/contrib/iostream2/ |
| zstream.h | 114 inline int read(izstream& zs, T* x, Items items) { 115 return ::gzread(zs.fp(), x, items*sizeof(T)); 122 inline izstream& operator>(izstream& zs, T& x) { 123 ::gzread(zs.fp(), &x, sizeof(T)); 124 return zs; 128 inline zstringlen::zstringlen(izstream& zs) { 129 zs > val.byte; 130 if (val.byte == 255) zs > val.word; 137 inline izstream& operator>(izstream& zs, char* x) { 138 zstringlen len(zs); [all...] |
| /src/usr.bin/compress/ |
| zopen.c | 143 #define fp zs->zs_fp 144 #define zmode zs->zs_mode 145 #define state zs->zs_state 146 #define n_bits zs->zs_n_bits 147 #define maxbits zs->zs_maxbits 148 #define maxcode zs->zs_maxcode 149 #define maxmaxcode zs->zs_maxmaxcode 150 #define htab zs->zs_htab 151 #define codetab zs->zs_codetab 152 #define hsize zs->zs_hsiz 240 struct s_zstate *zs; local 326 struct s_zstate *zs; local 459 struct s_zstate *zs; local 656 struct s_zstate *zs; local [all...] |
| /src/external/gpl2/rcs/dist/src/ |
| partime.c | 87 #define zs(t,s) {s, hr60(t)} macro 88 #define zd(t,s,d) zs(t, s), zs((t)+100, d) 91 zs(-1000, "hst"), /* Hawaii */ 100 zs( 000, "utc"), /* Coordinated Universal */ 101 zs( 000, "cut"), /* " */ 102 zs( 000, "ut"), /* Universal */ 103 zs( 000, "z"), /* Zulu (required by ISO 8601) */ 105 zs( 000, "wet"), /* Western Europe */ 106 zs( 100, "met"), /* Middle Europe * [all...] |
| /src/sys/arch/sgimips/stand/common/ |
| iris_zs.c | 60 * Most of the following was adapted from /sys/arch/sgimips/dev/zs.c. 61 * NetBSD: zs.c,v 1.39 2015/02/18 16:47:58 macallan Exp 169 struct zschan *zs; local 172 zs = zs_get_chan_addr(1, cons_port); 174 zs_reset(zs); 176 return zs; 182 struct zschan *zs; local 184 zs = zs_get_chan_addr(1, cons_port); 186 zs_putc(zs, c); 208 struct zschan *zs; local 236 struct zschan *zs; local [all...] |
| /src/sys/kern/ |
| kern_ctf.c | 200 z_stream zs; local 210 memset(&zs, 0, sizeof(zs)); 211 zs.zalloc = z_alloc; 212 zs.zfree = z_free; 214 if (inflateInit2(&zs, MAX_WBITS) != Z_OK) { 219 zs.avail_in = ctfsize - CTF_HDR_SIZE; 220 zs.next_in = ctfaddr + CTF_HDR_SIZE; 221 zs.avail_out = sz - CTF_HDR_SIZE; 222 zs.next_out = ((uint8_t *) ctftab) + CTF_HDR_SIZE [all...] |
| /src/sys/arch/mvme68k/dev/ |
| zs_pcc.c | 83 * Is the zs chip present? 100 * Attach a found zs. 102 * Match slave number to zs unit number, so that misconfiguration will 110 struct zsdevice zs; local 122 /* XXX: This is a gross hack. I need to bus-space zs.c ... */ 123 zs.zs_chan_b.zc_csr = (volatile uint8_t *)bush; 124 zs.zs_chan_b.zc_data = (volatile uint8_t *)bush + 1; 125 zs.zs_chan_a.zc_csr = (volatile uint8_t *)bush + 2; 126 zs.zs_chan_a.zc_data = (volatile uint8_t *)bush + 3; 130 * Note that the vector is not actually used by the ZS chip o 190 struct zsdevice zs; local [all...] |