Searched refs:chunkSize (Results 1 - 3 of 3) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkText.c1295 int count, chunkSize, offsetInSeg;
1357 chunkSize = segPtr->size - offsetInSeg;
1358 if (chunkSize > maxBytes) {
1359 chunkSize = maxBytes;
1366 if (leftInRange < chunkSize) {
1367 chunkSize = leftInRange;
1368 if (chunkSize <= 0) {
1375 + offsetInSeg), (size_t) chunkSize);
1376 buffer += chunkSize;
1377 maxBytes -= chunkSize;
1286 int count, chunkSize, offsetInSeg; local
[all...]
H A DtkTextBTree.c414 int chunkSize; /* # characters in current chunk. */
438 chunkSize = eol-string;
439 segPtr = (TkTextSegment *) ckalloc(CSEG_SIZE(chunkSize));
448 segPtr->size = chunkSize;
449 strncpy(segPtr->body.chars, string, (size_t) chunkSize);
450 segPtr->body.chars[chunkSize] = 0;
409 int chunkSize; /* # characters in current chunk. */ local
/ast/src/lib/libtk/unix/
H A DtkUnixSelect.c969 int size, chunkSize;
977 chunkSize = (*selPtr->proc)(selPtr->clientData, size,
983 size += chunkSize;
984 } while (chunkSize == TK_SEL_BYTES_AT_ONCE);
962 int size, chunkSize; local

Completed in 185 milliseconds