Searched defs:hex (Results 1 - 12 of 12) sorted by relevance

/ast/src/cmd/vczip/tests/
H A Dtvcsum.c39 Vcchar_t *sum, hex[1024]; local
49 if(vchexcode(sum, n, hex, sizeof(hex), 1) != 32)
50 terror("Bad md5 hex coding length");
51 if(strcmp((char*)Md5[k].sum, (char*)hex) != 0)
/ast/src/lib/libcodex/
H A Dcode-qp.c53 static const char hex[] = "0123456789ABCDEFabcdef"; variable
108 for (i = 0; i < elementsof(hex) - 1; i++)
109 state->xeh[hex[i]] = i >= 16 ? (i - 6) : i;
277 PUTCHAR(state, hex[(c >> 4) & 0xF]);
278 PUTCHAR(state, hex[c & 0xF]);
/ast/src/lib/libpp/
H A Dppfsm.c358 /* saw 0, possible oct|hex|dec|dbl constant */
380 /* saw 0 [xX], hex constant */
389 /* hex constant qualifier */
394 /* hex [eE][-+] botch */
401 /* hex dbl fraction */
408 /* optional hex dbl exponent sign */
414 /* mandatory hex dbl exponent first digit */
419 /* hex dbl exponent digits */
425 /* hex dbl constant qualifier */
562 static char hex[] variable
[all...]
/ast/src/cmd/tests/
H A Ddate.c155 hex(int c) function
186 *t = hex(*++s) << 4;
187 *t |= hex(*++s);
/ast/src/cmd/tw/
H A Dexpr.c174 static const char hex[] = "0123456789ABCDEF"; local
187 *s++ = hex[(c>>4)&0xF];
188 *s++ = hex[c&0xF];
/ast/src/lib/libvcodex/
H A Dvcio.c918 /* transform data from/to bit-representation to/from hex-representation */
919 ssize_t vchexcode(Vcchar_t* byte, ssize_t bytez, Vcchar_t* hex, ssize_t hexz, int type) argument
937 if(!byte || !hex)
940 if(type >= 0) /* byte to hex */
950 hex[h] = dig[(byte[b]>>4) & 0xf];
951 hex[h+1] = dig[(byte[b]>>0) & 0xf];
955 hex[h] = 0;
958 else /* hex to byte, allow mixed case */
963 (l = Rev[hex[h+0]]) == (Vcchar_t)(~0) ||
964 (r = Rev[hex[
[all...]
H A Dvcsfio.c371 static char hex[] = "0123456789ABCDEF"; local
413 *id++ = hex[(x>>4)&0xf];
414 *id++ = hex[x&0xf];
/ast/src/lib/libuu/
H A Duulib.c419 static const char hex[] = "0123456789ABCDEFabcdef"; variable
488 *b++ = hex[(c >> 4) & 0xF];
489 *b++ = hex[c & 0xF];
518 for (c = 0; c < elementsof(hex) - 1; c++)
519 xeh[hex[c]] = c >= 16 ? (c - 6) : c;
932 register char* t = (char*)hex;
936 for (c = 0; c < elementsof(hex); c++)
/ast/src/cmd/re/
H A Dtestglob.c370 hex(int c) function
403 *t = hex(*++s) << 4;
404 *t |= hex(*++s);
/ast/src/cmd/std/
H A Dps.c109 "[X:hex?List numeric entries in hexadecimal notation.]"
176 unsigned char hex; /* optional hex output */ member in struct:Key_s
218 int hex; /* output optional hex key form */ member in struct:State_s
805 if (state.hex)
808 if (!kp->hex)
852 goto hex;
975 goto hex;
993 if (!state.hex || !k
[all...]
/ast/src/lib/libdss/
H A Dcxopen.c285 static const char hex[] = "0123456789abcdefg"; local
305 *t++ = hex[v >> 4];
306 *t++ = hex[v & 0xf];
/ast/src/cmd/INIT/
H A Dproto.c932 static char hex[] = "fedcbaFEDCBA9876543210"; variable
933 static char* dec = &hex[12];
934 static char* oct = &hex[14];
1024 s = hex;

Completed in 68 milliseconds