| /xsrc/external/mit/xedit/dist/lisp/ |
| setenv.c | 49 size_t cnt; local 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 129 cnt = P - environ; 130 P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2)); 134 memcpy(P, environ, cnt * sizeof(char *)) [all...] |
| /xsrc/external/mit/fonttosfnt/dist/ |
| env.c | 101 int cnt; local 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/ |
| freedreno_pm4.h | 60 pm4_pkt0_hdr(uint16_t regindx, uint16_t cnt) 62 return CP_TYPE0_PKT | ((cnt - 1) << 16) | (regindx & 0x7fff); 66 pm4_pkt3_hdr(uint8_t opcode, uint16_t cnt) 68 return CP_TYPE3_PKT | ((cnt - 1) << 16) | ((opcode & 0xff) << 8); 72 pm4_pkt4_hdr(uint16_t regindx, uint16_t cnt) 74 return CP_TYPE4_PKT | cnt | (pm4_odd_parity_bit(cnt) << 7) | 80 pm4_pkt7_hdr(uint8_t opcode, uint16_t cnt) 82 return CP_TYPE7_PKT | cnt | (pm4_odd_parity_bit(cnt) << 15) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/asahi/lib/ |
| hexdump.h | 28 hexdump(FILE *fp, const uint8_t *hex, size_t cnt, bool with_strings) 30 for (unsigned i = 0; i < cnt; ++i) { 40 for (unsigned j = i; j < cnt; ++j) {
|
| /xsrc/external/mit/freetype/dist/src/otvalid/ |
| otvmath.c | 91 FT_UInt i, cnt, table_size; local 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 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 [all...] |
| /xsrc/external/mit/libXfont/dist/src/fontfile/ |
| bufio.c | 135 int cnt; local 139 cnt = f->bufp - f->buffer; 142 if (write (FileDes(f), (char *)f->buffer, cnt) != cnt) 175 int c, cnt; local 176 cnt = n; 177 while (cnt--) { 183 return n - cnt - 1; 189 int cnt; local 190 cnt = n [all...] |
| /xsrc/external/mit/libXfont2/dist/src/fontfile/ |
| bufio.c | 136 int cnt; local 140 cnt = f->bufp - f->buffer; 143 if (write (FileDes(f), (char *)f->buffer, cnt) != cnt) 176 int c, cnt; local 177 cnt = n; 178 while (cnt--) { 184 return n - cnt - 1; 190 int cnt; local 191 cnt = n [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/x86emu/ |
| prim_ops.c | 881 register unsigned int res, cnt, mask, cf; local 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 == 1 && XOR2(cf + ((res >> 6) & 0x2)), F_OF) 954 register unsigned int res, cnt, mask, cf; local 978 register u32 res, cnt, mask, cf; local 1002 u32 res, cnt; local 1087 u32 res, cnt; local 1120 u32 res, cnt; local 1154 register unsigned int res, cnt, mask; local 1204 register unsigned int res, cnt, mask; local 1230 register u32 res, cnt, mask; local 1256 register unsigned int res, cnt, mask; local 1304 register unsigned int res, cnt, mask; local 1329 register u32 res, cnt, mask; local 1354 unsigned int cnt, res, cf; local 1401 unsigned int cnt, res, cf; local 1443 unsigned int cnt, res, cf; local 1484 unsigned int cnt, res, cf; local 1525 unsigned int cnt, res, cf; local 1566 unsigned int cnt, res, cf; local 1606 unsigned int cnt, res, cf, mask, sf; local 1649 unsigned int cnt, res, cf, mask, sf; local 1692 u32 cnt, res, cf, mask, sf; local 1735 unsigned int cnt, res, cf; local 1776 unsigned int cnt, res, cf; local 1817 unsigned int cnt, res, cf; local 1858 unsigned int cnt, res, cf; local [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/x86emu/ |
| prim_ops.c | 843 register unsigned int res, cnt, mask, cf; local 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 == 1 && XOR2(cf + ((res >> 6) & 0x2)) 916 register unsigned int res, cnt, mask, cf; local 940 register u32 res, cnt, mask, cf; local 964 u32 res, cnt; local 1048 u32 res, cnt; local 1080 u32 res, cnt; local 1113 register unsigned int res, cnt, mask; local 1162 register unsigned int res, cnt, mask; local 1187 register u32 res, cnt, mask; local 1212 register unsigned int res, cnt, mask; local 1258 register unsigned int res, cnt, mask; local 1281 register u32 res, cnt, mask; local 1304 unsigned int cnt, res, cf; local 1348 unsigned int cnt, res, cf; local 1388 unsigned int cnt, res, cf; local 1425 unsigned int cnt, res, cf; local 1462 unsigned int cnt, res, cf; local 1499 unsigned int cnt, res, cf; local 1535 unsigned int cnt, res, cf, mask, sf; local 1575 unsigned int cnt, res, cf, mask, sf; local 1615 u32 cnt, res, cf, mask, sf; local 1655 unsigned int cnt, res, cf; local 1692 unsigned int cnt, res, cf; local 1729 unsigned int cnt, res, cf; local 1766 unsigned int cnt, res, cf; local [all...] |
| /xsrc/external/mit/xf86-video-imstt/dist/src/ |
| imstt_accel.c | 124 iptr->cnt = 1; 126 iptr->cnt = 0; 152 unsigned long cnt; local 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/ |
| freedreno_ringbuffer.h | 327 OUT_PKT0(struct fd_ringbuffer *ring, uint16_t regindx, uint16_t cnt) 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) 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) 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) [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/solaris/ |
| sun_bell.c | 51 int cnt; local 128 for (cnt = 0; cnt <= repeats; cnt++) { 129 if (cnt == repeats) { 140 if ((iovcnt >= IOV_MAX) || (cnt == repeats)) { 162 cnt -= i;
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/ |
| sun_bell.c | 51 int cnt; local 128 for (cnt = 0; cnt <= repeats; cnt++) { 129 if (cnt == repeats) { 139 if ((iovcnt >= IOV_MAX) || (cnt == repeats)) { 160 cnt -= i;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| freedreno_util.h | 299 OUT_PKT0(struct fd_ringbuffer *ring, uint16_t regindx, uint16_t cnt) 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) 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) 339 BEGIN_RING(ring, cnt+1); 340 OUT_RING(ring, CP_TYPE4_PKT | cnt | 341 (_odd_parity_bit(cnt) << 7) [all...] |
| freedreno_batch_cache.h | 40 unsigned cnt; member in struct:fd_batch_cache
|
| /xsrc/external/mit/xf86-video-suncg14/dist/src/ |
| cg14_accel.c | 302 int saddr, daddr, pre, cnt, wrds; local 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 - 1) 348 int saddr, daddr, pre, cnt, wrds; local 992 int line, num, pre, cnt; local 1076 int line, num, pre, cnt; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/ |
| tu_cs.h | 134 tu_cs_emit_pkt4(struct tu_cs *cs, uint16_t regindx, uint16_t cnt) 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) 147 tu_cs_emit(cs, CP_TYPE7_PKT | cnt | (tu_odd_parity_bit(cnt) << 15) |
|
| /xsrc/external/mit/bdftopcf/dist/ |
| bufio.c | 135 int cnt; local 139 cnt = f->bufp - f->buffer; 142 if (write(FileDes(f), (char *) f->buffer, cnt) != cnt) 175 int cnt = n; local 177 while (cnt--) {
|
| /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/ |
| capturexfont.c | 75 int cnt, len; local 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/MesaLib/dist/src/util/ |
| 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/dmx/examples/ |
| xinput.c | 228 int cnt = 0; local 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; i++) [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/loader/ |
| loadext.c | 328 int cnt, i; local 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; i++ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ |
| freedreno_batch_cache.h | 43 unsigned cnt; member in struct:fd_batch_cache
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/computerator/ |
| main.c | 175 unsigned cnt = 0; local 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/ |
| scanner.l | 123 goto cnt; 129 goto cnt; 142 cnt:
|