Searched defs:tb (Results 1 - 7 of 7) sorted by relevance

/ast/src/lib/libast/string/
H A Dbase64.c51 base64encode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) argument
71 if (tp = (unsigned char*)tb)
99 n = tp - (unsigned char*)tb + 1;
128 n = tp - (unsigned char*)tb + 1;
144 if (tp > (unsigned char*)tb && *(tp - 1) == '\n')
148 n = tp - (unsigned char*)tb;
162 base64decode(const void* fb, size_t fz, void** fn, void* tb, size_t tz, void** tn) argument
186 if (tp = (unsigned char*)tb)
217 n = tp - (unsigned char*)tb + 4;
259 n = tp - (unsigned char*)tb
[all...]
/ast/src/lib/libcodex/
H A Dcode-iconv.c162 char* tb; local
174 tb = buf;
179 if ((r = iconv(state->cvt, &fb, &fn, &tb, &tn)) == -1)
189 tb = state->buf;
191 *tb++ = *fb++;
192 state->bp = tb;
202 char* tb; local
212 tb = (char*)state->buf;
214 if ((r = iconv(state->cvt, &fb, &fn, &tb, &tn)) == (size_t)(-1))
/ast/src/cmd/codexlib/zip/
H A Dimplode.c115 Huff_t *tb; /* literal, length, and distance tables */ member in struct:State_s
252 Huff_t *tb, *tl, *td; /* literal, length, and distance tables */ local
255 tb = state->tb;
276 t = tb + IGETBITS(state, bb);
393 Huff_t *tb, *tl, *td; /* literal, length, and distance tables */ local
396 tb = state->tb;
417 t = tb + IGETBITS(state, bb);
859 &state->tb,
[all...]
/ast/src/lib/libast/comp/
H A Diconv.c260 _win_iconv(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
281 memcpy(*tb, *fb, fz);
294 if ((tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, *tn)) && tz <= *tn)
311 while (!(tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)fz, (LPWSTR)*tb, 0)))
340 else if (!(un = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, 0)))
351 if (tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, un, *tb, *tn, 0, 0))
368 if (!(tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, fz, *tb, 0, 0, 0)))
386 if (!(tz = WideCharToMultiByte(cc->to.index, 0, (LPCWSTR)ub, fz, *tb, tz, 0, 0)))
401 *tb += tz;
531 utf2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_ argument
605 bin2utf(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
715 ume2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
791 bin2ume(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
865 ucs2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
910 bin2ucs(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
956 scu2bin(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
1001 bin2scu(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
1235 _ast_iconv(_ast_iconv_t cd, char** fb, size_t* fn, char** tb, size_t* tn) argument
1345 char* tb; local
1441 char* tb; local
[all...]
H A Domitted.c671 char tb[PATH_MAX]; local
676 if (execrate(tp, tb, sizeof(tb), 1))
677 tp = tb;
805 char tb[PATH_MAX]; local
810 if (execrate(tp, tb, sizeof(tb), 1))
811 tp = tb;
/ast/src/cmd/warp/
H A Dwarp.c815 struct utimbuf tb; local
820 tb = *tv;
821 UNWARP_ABS(tb.actime);
822 UNWARP_ABS(tb.modtime);
823 r = (*(Utime_f)p->call)(path, &tb);
881 struct timespec tb[2]; local
886 for (i = 0; i < elementsof(tb); i++)
888 tb[i] = tv[i];
889 UNWARP_ABS(tb[i].tv_sec);
891 r = (*(Utimensat_f)p->call)(dirfd, path, tb, flag
949 struct timeval tb[2]; local
1017 struct timespec tb[2]; local
[all...]
/ast/src/cmd/ksh93/sh/
H A Dxec.c2584 struct timeval tb,ta; local
2609 timeofday(&tb);
2632 at = shp->gd->lim.clk_tck*(ta.tv_sec-tb.tv_sec);
2633 at += ((shp->gd->lim.clk_tck*(((1000000L/2)/shp->gd->lim.clk_tck)+(ta.tv_usec-tb.tv_usec)))/1000000L);

Completed in 34 milliseconds