| /xsrc/external/mit/xedit/dist/lisp/ |
| H A D | setenv.c | 49 size_t cnt; local in function:putenv 73 cnt = P - environ; 74 P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2)); 78 memcpy(P, environ, cnt * sizeof(char *)); 80 environ[cnt] = str; 81 environ[cnt + 1] = NULL; 125 size_t cnt; local in function:setenv 129 cnt = P - environ; 130 P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2)); 134 memcpy(P, environ, cnt * sizeo [all...] |
| /xsrc/external/mit/fonttosfnt/dist/ |
| H A D | env.c | 101 int cnt; local in function:setenv 104 for (p = environ, cnt = 0; *p; ++p, ++cnt) 108 sizeof(char *) * (cnt + 2)); 114 p = malloc(sizeof(char *) * (cnt + 2)); 117 memcpy(p, environ, cnt * sizeof(char *)); 120 environ[cnt + 1] = NULL; 121 offset = cnt;
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/common/ |
| H A D | freedreno_pm4.h | 60 pm4_pkt0_hdr(uint16_t regindx, uint16_t cnt) argument 62 return CP_TYPE0_PKT | ((cnt - 1) << 16) | (regindx & 0x7fff); 66 pm4_pkt3_hdr(uint8_t opcode, uint16_t cnt) argument 68 return CP_TYPE3_PKT | ((cnt - 1) << 16) | ((opcode & 0xff) << 8); 72 pm4_pkt4_hdr(uint16_t regindx, uint16_t cnt) argument 74 return CP_TYPE4_PKT | cnt | (pm4_odd_parity_bit(cnt) << 7) | 80 pm4_pkt7_hdr(uint8_t opcode, uint16_t cnt) argument 82 return CP_TYPE7_PKT | cnt | (pm4_odd_parity_bit(cnt) << 1 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/asahi/lib/ |
| H A D | hexdump.h | 28 hexdump(FILE *fp, const uint8_t *hex, size_t cnt, bool with_strings) argument 30 for (unsigned i = 0; i < cnt; ++i) { 40 for (unsigned j = i; j < cnt; ++j) {
|
| /xsrc/external/mit/freetype/dist/src/otvalid/ |
| H A D | otvmath.c | 91 FT_UInt i, cnt, table_size; local in function:otv_MathItalicsCorrectionInfo_validate 105 cnt = FT_NEXT_USHORT( p ); 107 OTV_LIMIT_CHECK( 4 * cnt ); 108 table_size = 4 + 4 * cnt; 111 otv_Coverage_validate( table + Coverage, otvalid, (FT_Int)cnt ); 113 for ( i = 0; i < cnt; i++ ) 139 FT_UInt i, cnt, table_size; local in function:otv_MathKern_validate 148 cnt = FT_NEXT_USHORT( p ); 150 OTV_LIMIT_CHECK( 4 * cnt + 2 ); 151 table_size = 4 + 4 * cnt; 182 FT_UInt i, j, cnt, table_size; local in function:otv_MathKernInfo_validate [all...] |
| /xsrc/external/mit/libXfont/dist/src/fontfile/ |
| H A D | bufio.c | 135 int cnt; local in function:BufFileRawFlush 139 cnt = f->bufp - f->buffer; 142 if (write (FileDes(f), (char *)f->buffer, cnt) != cnt) 175 int c, cnt; local in function:BufFileRead 176 cnt = n; 177 while (cnt--) { 183 return n - cnt - 1; 189 int cnt; local in function:BufFileWrite 190 cnt [all...] |
| /xsrc/external/mit/libXfont2/dist/src/fontfile/ |
| H A D | bufio.c | 136 int cnt; local in function:BufFileRawFlush 140 cnt = f->bufp - f->buffer; 143 if (write (FileDes(f), (char *)f->buffer, cnt) != cnt) 176 int c, cnt; local in function:BufFileRead 177 cnt = n; 178 while (cnt--) { 184 return n - cnt - 1; 190 int cnt; local in function:BufFileWrite 191 cnt [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/x86emu/ |
| H A D | prim_ops.c | 843 register unsigned int res, cnt, mask, cf; local in function:rcl_byte 861 then shifted up cnt bits, and the high part is or'd 872 if ((cnt = s % 9) != 0) { 875 cf = (d >> (8 - cnt)) & 0x1; 881 res = (d << cnt) & 0xff; 889 mask = (1 << (cnt - 1)) - 1; 890 res |= (d >> (9 - cnt)) & mask; 895 res |= 1 << (cnt - 1); 899 /* OVERFLOW is set *IFF* cnt==1, then it is the 903 CONDITIONAL_SET_FLAG(cnt 916 register unsigned int res, cnt, mask, cf; local in function:rcl_word 940 register u32 res, cnt, mask, cf; local in function:rcl_long 964 u32 res, cnt; local in function:rcr_byte 1048 u32 res, cnt; local in function:rcr_word 1080 u32 res, cnt; local in function:rcr_long 1113 register unsigned int res, cnt, mask; local in function:rol_byte 1162 register unsigned int res, cnt, mask; local in function:rol_word 1187 register u32 res, cnt, mask; local in function:rol_long 1212 register unsigned int res, cnt, mask; local in function:ror_byte 1258 register unsigned int res, cnt, mask; local in function:ror_word 1281 register u32 res, cnt, mask; local in function:ror_long 1304 unsigned int cnt, res, cf; local in function:shl_byte 1348 unsigned int cnt, res, cf; local in function:shl_word 1388 unsigned int cnt, res, cf; local in function:shl_long 1425 unsigned int cnt, res, cf; local in function:shr_byte 1462 unsigned int cnt, res, cf; local in function:shr_word 1499 unsigned int cnt, res, cf; local in function:shr_long 1535 unsigned int cnt, res, cf, mask, sf; local in function:sar_byte 1575 unsigned int cnt, res, cf, mask, sf; local in function:sar_word 1615 u32 cnt, res, cf, mask, sf; local in function:sar_long 1655 unsigned int cnt, res, cf; local in function:shld_word 1692 unsigned int cnt, res, cf; local in function:shld_long 1729 unsigned int cnt, res, cf; local in function:shrd_word 1766 unsigned int cnt, res, cf; local in function:shrd_long [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/x86emu/ |
| H A D | prim_ops.c | 881 register unsigned int res, cnt, mask, cf; local in function:rcl_byte 899 then shifted up cnt bits, and the high part is or'd 910 if ((cnt = s % 9) != 0) { 913 cf = (d >> (8 - cnt)) & 0x1; 919 res = (d << cnt) & 0xff; 927 mask = (1 << (cnt - 1)) - 1; 928 res |= (d >> (9 - cnt)) & mask; 933 res |= 1 << (cnt - 1); 937 /* OVERFLOW is set *IFF* cnt==1, then it is the 941 CONDITIONAL_SET_FLAG(cnt 954 register unsigned int res, cnt, mask, cf; local in function:rcl_word 978 register u32 res, cnt, mask, cf; local in function:rcl_long 1002 u32 res, cnt; local in function:rcr_byte 1087 u32 res, cnt; local in function:rcr_word 1120 u32 res, cnt; local in function:rcr_long 1154 register unsigned int res, cnt, mask; local in function:rol_byte 1204 register unsigned int res, cnt, mask; local in function:rol_word 1230 register u32 res, cnt, mask; local in function:rol_long 1256 register unsigned int res, cnt, mask; local in function:ror_byte 1304 register unsigned int res, cnt, mask; local in function:ror_word 1329 register u32 res, cnt, mask; local in function:ror_long 1354 unsigned int cnt, res, cf; local in function:shl_byte 1401 unsigned int cnt, res, cf; local in function:shl_word 1443 unsigned int cnt, res, cf; local in function:shl_long 1484 unsigned int cnt, res, cf; local in function:shr_byte 1525 unsigned int cnt, res, cf; local in function:shr_word 1566 unsigned int cnt, res, cf; local in function:shr_long 1606 unsigned int cnt, res, cf, mask, sf; local in function:sar_byte 1649 unsigned int cnt, res, cf, mask, sf; local in function:sar_word 1692 u32 cnt, res, cf, mask, sf; local in function:sar_long 1735 unsigned int cnt, res, cf; local in function:shld_word 1776 unsigned int cnt, res, cf; local in function:shld_long 1817 unsigned int cnt, res, cf; local in function:shrd_word 1858 unsigned int cnt, res, cf; local in function:shrd_long [all...] |
| /xsrc/external/mit/xf86-video-imstt/dist/src/ |
| H A D | imstt_accel.c | 124 iptr->cnt = 1; 126 iptr->cnt = 0; 152 unsigned long cnt; local in function:IMSTTSubsequentScreenToScreenCopy 159 cnt = h << 16; 161 if (iptr->cnt) { 164 cnt |= -(w) & 0xffff; 167 cnt |= w; 177 OUTREG(IMSTT_CNT, cnt);
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/drm/ |
| H A D | freedreno_ringbuffer.h | 327 OUT_PKT0(struct fd_ringbuffer *ring, uint16_t regindx, uint16_t cnt) argument 329 BEGIN_RING(ring, cnt + 1); 330 OUT_RING(ring, pm4_pkt0_hdr(regindx, cnt)); 341 OUT_PKT3(struct fd_ringbuffer *ring, uint8_t opcode, uint16_t cnt) argument 343 BEGIN_RING(ring, cnt + 1); 344 OUT_RING(ring, CP_TYPE3_PKT | ((cnt - 1) << 16) | ((opcode & 0xFF) << 8)); 352 OUT_PKT4(struct fd_ringbuffer *ring, uint16_t regindx, uint16_t cnt) argument 354 BEGIN_RING(ring, cnt + 1); 355 OUT_RING(ring, pm4_pkt4_hdr(regindx, cnt)); 359 OUT_PKT7(struct fd_ringbuffer *ring, uint8_t opcode, uint16_t cnt) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | driconf_static.py | 32 cnt = 0 variable 34 global cnt 35 cnt = cnt + 1 36 return name + '_' + str(cnt)
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/ |
| H A D | sun_bell.c | 51 int cnt; local in function:xf86OSRingBell 128 for (cnt = 0; cnt <= repeats; cnt++) { 129 if (cnt == repeats) { 139 if ((iovcnt >= IOV_MAX) || (cnt == repeats)) { 160 cnt -= i;
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/solaris/ |
| H A D | sun_bell.c | 51 int cnt; local in function:xf86OSRingBell 128 for (cnt = 0; cnt <= repeats; cnt++) { 129 if (cnt == repeats) { 140 if ((iovcnt >= IOV_MAX) || (cnt == repeats)) { 162 cnt -= i;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_util.h | 299 OUT_PKT0(struct fd_ringbuffer *ring, uint16_t regindx, uint16_t cnt) argument 301 BEGIN_RING(ring, cnt+1); 302 OUT_RING(ring, CP_TYPE0_PKT | ((cnt-1) << 16) | (regindx & 0x7FFF)); 313 OUT_PKT3(struct fd_ringbuffer *ring, uint8_t opcode, uint16_t cnt) argument 315 BEGIN_RING(ring, cnt+1); 316 OUT_RING(ring, CP_TYPE3_PKT | ((cnt-1) << 16) | ((opcode & 0xFF) << 8)); 337 OUT_PKT4(struct fd_ringbuffer *ring, uint16_t regindx, uint16_t cnt) argument 339 BEGIN_RING(ring, cnt+1); 340 OUT_RING(ring, CP_TYPE4_PKT | cnt | 341 (_odd_parity_bit(cnt) << 347 OUT_PKT7(struct fd_ringbuffer * ring,uint8_t opcode,uint16_t cnt) argument [all...] |
| H A D | freedreno_batch_cache.h | 40 unsigned cnt; member in struct:fd_batch_cache
|
| /xsrc/external/mit/xf86-video-suncg14/dist/src/ |
| H A D | cg14_accel.c | 302 int saddr, daddr, pre, cnt, wrds; local in function:CG14Copy8_aligned_norop 313 cnt = w; 319 cnt -= pre; 320 if (cnt == 0) goto next; 322 while (cnt > 3) { 323 wrds = min(32, cnt >> 2); 328 cnt -= wrds << 2; 330 if (cnt > 0) { 331 sxm(SX_LDB, saddr, 8, cnt - 1); 332 sxm(SX_STB, daddr, 8, cnt 348 int saddr, daddr, pre, cnt, wrds; local in function:CG14Copy8_aligned_rop 992 int line, num, pre, cnt; local in function:CG14Solid16 1076 int line, num, pre, cnt; local in function:CG14Solid8 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/ |
| H A D | tu_cs.h | 134 tu_cs_emit_pkt4(struct tu_cs *cs, uint16_t regindx, uint16_t cnt) argument 136 tu_cs_emit(cs, CP_TYPE4_PKT | cnt | (tu_odd_parity_bit(cnt) << 7) | 145 tu_cs_emit_pkt7(struct tu_cs *cs, uint8_t opcode, uint16_t cnt) argument 147 tu_cs_emit(cs, CP_TYPE7_PKT | cnt | (tu_odd_parity_bit(cnt) << 15) |
|
| /xsrc/external/mit/bdftopcf/dist/ |
| H A D | bufio.c | 135 int cnt; local in function:BufFileRawFlush 139 cnt = f->bufp - f->buffer; 142 if (write(FileDes(f), (char *) f->buffer, cnt) != cnt) 175 int cnt = n; local in function:BufFileWrite 177 while (cnt--) {
|
| /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/ |
| H A D | capturexfont.c | 75 int cnt, len; local in function:captureXFont 242 cnt = 0; 243 while (cnt < len) { 244 for (k = 0; k < 16 && cnt < len; k++, cnt++) { 245 if (bitmapData[cnt] != 0) { 255 cnt = 0; 256 while (cnt < len) { 257 for (k = 0; k < 16 && cnt < len; k++, cnt [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/dmx/examples/ |
| H A D | xinput.c | 228 int cnt = 0; local in function:main 236 if (cnt >= MAX_EVENTS) abort(); \ 237 names[cnt] = #type; \ 238 type(dev, event_type[cnt], event_list[cnt]); \ 239 if (event_type[cnt]) ++cnt 256 for (i = 0; i < cnt; i++) { 263 event_list, cnt); 268 for (i = 0; i < cnt; [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/loader/ |
| H A D | loadext.c | 328 int cnt, i; local in function:tsort 337 for (cnt = 0, n = graph; n != NULL; n = next) { 341 ++cnt; 344 } while (graph != NULL && cnt); 355 for (cnt = 0, n = graph; n != NULL; n = n->n_next) 356 ++cnt; 357 cycle_buf = xnfalloc(sizeof(NODE *) * cnt); 358 longest_cycle = xnfalloc(sizeof(NODE *) * cnt); 364 if ((cnt = find_cycle(n, n, 0, 0))) { 366 for (i = 0; i < cnt; [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_batch_cache.h | 43 unsigned cnt; member in struct:fd_batch_cache
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/computerator/ |
| H A D | main.c | 175 unsigned cnt = 0; local in function:parse_perfcntrs 186 counters = realloc(counters, ++cnt * sizeof(counters[0])); 187 setup_counter(name, &counters[cnt - 1]); 191 counters = realloc(counters, ++cnt * sizeof(counters[0])); 192 setup_counter(name, &counters[cnt - 1]); 194 *num_perfcntrs = cnt;
|
| /xsrc/external/mit/xorg-server.old/dist/hw/dmx/config/ |
| H A D | scanner.l | 123 goto cnt; 129 goto cnt; 142 cnt:
|