/ast/src/lib/libtk/unix/ |
H A D | tkUnix.c | 44 char buffer[50], buffer2[50]; 46 sprintf(buffer, "X%dR%d ", ProtocolVersion(Tk_Display(tkwin)), 49 Tcl_AppendResult(interp, buffer, ServerVendor(Tk_Display(tkwin)), 43 char buffer[50], buffer2[50]; local
|
/ast/src/cmd/tests/sfio/ |
H A D | tnoseek.c | 22 char* buffer; variable 49 buffer = (char*)s; 75 if(buffer != buf || size != 8 || count != 1)
|
/ast/src/lib/libtksh/src/ |
H A D | tclMain.c | 15 char buffer[1000], *args, *fileName; local 42 sprintf(buffer, "%d", argc-1); 43 Tcl_SetVar(interp, "argc", buffer, TCL_GLOBAL_ONLY);
|
H A D | basic.c | 271 char buffer[128]; 275 sprintf(buffer, "Assoc Data Key #%d", assocDataCounter); 282 hPtr = Tcl_CreateHashEntry(iPtr->assocData, buffer, &new); 269 char buffer[128]; local
|
/ast/src/cmd/pack/ |
H A D | huffman.h | 44 long buffer; member in struct:__anon178
|
H A D | huffencode.c | 61 register long buffer; local 81 buffer = hp->buffer; 106 putbits(buffer,left,bits[c],i); 107 outchars(fp,buffer,left,outp,i); 116 putbits(buffer,left,0,i); 117 outchars(fp,buffer,left,outp,i); 118 buffer = 0; 121 hp->buffer = buffer; [all...] |
H A D | huffdecode.c | 39 /* read <n> bits from buffer <b> */ 66 register long buffer; local 98 buffer = hp->buffer; 105 fillbuff(buffer,left,hp->maxlev,inp); 106 i = getbits(buffer,left,CHUNK); 109 putbits(buffer,left,n); 115 putbits(buffer,left,hp->excess); 121 i += getbits(buffer,left,1); 143 hp->buffer [all...] |
/ast/src/lib/libcs/ |
H A D | msglist.c | 33 * print buffer s,n on sp 39 buffer(register Sfio_t* sp, register char* s, int n) function 158 else r += buffer(sp, p, (ap)->number); 175 r += buffer(sp, dp->d_name, i); 223 r += buffer(sp, p, msg->ret.number); 234 if (p = (ap++)->pointer) r += buffer(sp, p, strlen(p)); 244 r += buffer(sp, p, strlen(p));
|
/ast/src/cmd/3d/ |
H A D | bio.c | 25 * 3d buffer io 370 sfsprintf(char* buffer, size_t size, const char* format, ...) argument 380 buf = &buffer; 381 end = buffer + size; 386 end = buffer;
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclClock.c | 280 Tcl_DString buffer; 336 Tcl_DStringInit(&buffer); 337 Tcl_DStringSetLength(&buffer, bufSize); 339 if (TclStrftime(buffer.string, (unsigned int) bufSize, format, 341 Tcl_DStringFree(&buffer); 359 Tcl_DStringResult(interp, &buffer); 277 Tcl_DString buffer; local
|
H A D | tclGlob.c | 390 Tcl_DString buffer; 392 thisName = Tcl_TildeSubst(interp, argv[i], &buffer); 415 Tcl_DStringFree(&buffer); 387 Tcl_DString buffer; local
|
H A D | tclLink.c | 65 char *buffer)); 99 char buffer[TCL_DOUBLE_SPACE]; 113 if (Tcl_SetVar(interp, varName, StringValue(linkPtr, buffer), 193 char buffer[TCL_DOUBLE_SPACE]; 203 Tcl_SetVar(interp, linkPtr->varName, StringValue(linkPtr, buffer), 240 char buffer[TCL_DOUBLE_SPACE]; 254 Tcl_SetVar(interp, linkPtr->varName, StringValue(linkPtr, buffer), 295 Tcl_SetVar(interp, linkPtr->varName, StringValue(linkPtr, buffer), 311 Tcl_SetVar(interp, linkPtr->varName, StringValue(linkPtr, buffer), 330 StringValue(linkPtr, buffer), TCL_GLOBAL_ONL 98 char buffer[TCL_DOUBLE_SPACE]; local 190 char buffer[TCL_DOUBLE_SPACE]; local 236 char buffer[TCL_DOUBLE_SPACE]; local [all...] |
H A D | tclUnixFile.c | 203 char buffer[MAXPATHLEN+1]; 210 if (getcwd(buffer, MAXPATHLEN+1) == NULL) { 222 currentDir = (char *) ckalloc((unsigned) (strlen(buffer) + 1)); 223 strcpy(currentDir, buffer); 326 char *buf; /* The buffer to store input in. */ 494 Tcl_DString buffer; 497 Tcl_DStringInit(&buffer); 539 Tcl_DStringSetLength(&buffer, 0); 541 Tcl_DStringAppend(&buffer, name, p-name); 543 Tcl_DStringAppend(&buffer, "/", 198 char buffer[MAXPATHLEN+1]; local 482 Tcl_DString buffer; local [all...] |
/ast/src/lib/libtk/generic/ |
H A D | tkConfig.c | 43 char *widgRec, char *buffer, 688 char buffer[200]; 698 argv[4] = FormatConfigValue(interp, tkwin, specPtr, widgRec, buffer, 747 FormatConfigValue(interp, tkwin, specPtr, widgRec, buffer, freeProcPtr) 754 char *buffer; /* Static buffer to use for small values. 774 sprintf(buffer, "%d", *((int *) ptr)); 775 result = buffer; 778 Tcl_PrintDouble(interp, *((double *) ptr), buffer); 779 result = buffer; 683 char buffer[200]; local [all...] |
H A D | tkImgPPM.c | 153 char buffer[30]; 155 sprintf(buffer, "%d", maxIntensity); 157 "\" has bad maximum intensity value ", buffer, 345 char buffer[BUFFER_SIZE]; 379 buffer[i] = c; 385 buffer[i] = ' '; 389 buffer[i] = 0; 395 if (strncmp(buffer, "P6 ", 3) == 0) { 397 } else if (strncmp(buffer, "P5 ", 3) == 0) { 402 if (sscanf(buffer 151 char buffer[30]; local 341 char buffer[BUFFER_SIZE]; local [all...] |
H A D | tkSelect.h | 114 char *buffer; /* Null terminated data buffer. */ member in struct:TkClipboardBuffer 115 long length; /* Length of string in buffer. */ 159 * buffer space that's guaranteed to be word-aligned and that 175 char *buffer, int maxBytes, Atom *typePtr));
|
H A D | tkBitmap.c | 178 Tcl_DString buffer; 181 string = Tcl_TranslateFileName(interp, string + 1, &buffer); 189 Tcl_DStringFree(&buffer); 177 Tcl_DString buffer; local
|
H A D | tkCanvBmap.c | 727 char buffer[200]; 759 sprintf(buffer, 762 Tcl_AppendResult(interp, buffer, (char *) NULL); 791 sprintf(buffer, "%.15g %.15g translate\n", x, y+height); 792 Tcl_AppendResult(interp, buffer, (char *) NULL); 798 sprintf(buffer, "0 -%.15g translate\n%d %d true matrix {\n", 800 Tcl_AppendResult(interp, buffer, (char *) NULL); 716 char buffer[200]; local
|
H A D | tkCanvPoly.c | 254 char buffer[TCL_DOUBLE_SPACE]; 259 Tcl_PrintDouble(interp, polyPtr->coordPtr[i], buffer); 260 Tcl_AppendElement(interp, buffer); 252 char buffer[TCL_DOUBLE_SPACE]; local
|
H A D | tkPlace.c | 246 char buffer[50]; 258 sprintf(buffer, "-x %d", slavePtr->x); 259 Tcl_AppendResult(interp, buffer, (char *) NULL); 260 sprintf(buffer, " -relx %.4g", slavePtr->relX); 261 Tcl_AppendResult(interp, buffer, (char *) NULL); 262 sprintf(buffer, " -y %d", slavePtr->y); 263 Tcl_AppendResult(interp, buffer, (char *) NULL); 264 sprintf(buffer, " -rely %.4g", slavePtr->relY); 265 Tcl_AppendResult(interp, buffer, (char *) NULL); 267 sprintf(buffer, " 245 char buffer[50]; local [all...] |
H A D | tkSelect.c | 60 int offset, char *buffer, int maxBytes)); 89 * proc(clientData, offset, buffer, maxBytes) 92 * char *buffer; 103 * available at buffer. Proc should place the selection 104 * in buffer as a string, and return a count of the number 105 * of bytes of selection actually placed in buffer (not 509 char buffer[TK_SEL_BYTES_AT_ONCE+1]; 522 count = TkSelDefaultSelection(infoPtr, target, buffer, 530 buffer[count] = 0; 531 result = (*proc)(clientData, interp, buffer); 504 char buffer[TK_SEL_BYTES_AT_ONCE+1]; local [all...] |
/ast/src/lib/libpz/ |
H A D | pzpart.c | 1073 * allocate and read a buffer from the input partition header 1077 buffer(register Pz_t* pz, Pzpart_t* pp, char** pv, size_t* pn) function 1141 buffer(pz, pp, (char**)&pz->disc->comment, NiL); 1166 buffer(pz, pp, (char**)&pz->headoptions, NiL); 1169 buffer(pz, pp, &pz->prefix.data, &pz->prefix.count); 1182 buffer(pz, pp, (char**)&pp->name, NiL); 1212 buffer(pz, pp, NiL, NiL); 1232 buffer(pz, pp, NiL, NiL);
|
/ast/src/lib/libsum/ |
H A D | sum-sha1.c | 31 uint8_t buffer[64]; member in struct:Sha1_s 152 sha1_transform(uint32_t state[5], const unsigned char buffer[64]) { argument 158 (void)memcpy(block, buffer, 64); 220 (void)memcpy(&sha->buffer[j], data, (i = 64 - j)); 221 sha1_transform(sha->state, sha->buffer); 229 (void)memcpy(&sha->buffer[j], &data[i], len - i); 297 memset(sha->buffer, 0, sizeof(sha->buffer));
|
/ast/src/cmd/ksh93/bltins/ |
H A D | misc.c | 214 char *filename=0, *buffer=0; local 292 buffer = malloc(IOBSIZE+1); 293 iop = sfnew(NIL(Sfio_t*),buffer,IOBSIZE,fd,SF_READ); 299 if(buffer) 300 free(buffer);
|
/ast/src/cmd/ksh93/sh/ |
H A D | suid_exec.c | 496 char buffer[BLKSIZE]; local 499 while((n = read(fdi,buffer,BLKSIZE)) > 0) 500 if(write(fdo,buffer,n) != n)
|