Searched refs:charCount (Results 1 - 25 of 56) sorted by relevance

123

/macosx-10.10/ICU-531.30/icuSources/samples/layout/
H A Ducreader.cpp15 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount) argument
17 return UnicodeReader::readFile(fileName, (GUISupport *) guiSupport, *charCount);
H A DUnicodeReader.h28 static const UChar *readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCount);
H A Ducreader.h15 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount);
H A DUnicodeReader.cpp26 const UChar *UnicodeReader::readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCount) argument
106 charCount = myText.length();
107 charBuffer = LE_NEW_ARRAY(UChar, charCount + 1);
115 charBuffer[charCount] = 0; // NULL terminate for easier reading in the debugger
H A Dparagraph.cpp76 Paragraph::Paragraph(const LEUnicode chars[], int32_t charCount, const FontRuns *fontRuns, LEErrorCode &status) argument
97 fChars = LE_NEW_ARRAY(LEUnicode, charCount + 1);
98 LE_ARRAY_COPY(fChars, chars, charCount);
99 fChars[charCount] = 0;
109 pEnd = &fChars[charCount];
255 le_int32 charCount; local
256 const UChar *text = UnicodeReader::readFile(fileName, guiSupport, charCount);
265 fontRuns.add(font, charCount);
267 result = new Paragraph(text, charCount, &fontRuns, status);
H A Dpflow.h21 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErrorCode *status);
/macosx-10.10/ICU-531.30/icuSources/layout/
H A DCanonShaping.cpp34 void CanonShaping::reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft, argument
40 le_int32 *combiningClasses = LE_NEW_ARRAY(le_int32, charCount);
41 le_int32 *indices = LE_NEW_ARRAY(le_int32, charCount);
44 for (i = 0; i < charCount; i += 1) {
49 for (i = 0; i < charCount; i += 1) {
53 for (mark = i; mark < charCount; mark += 1) {
66 out = charCount - 1;
70 for (i = 0; i < charCount; i += 1, out += dir) {
H A DMPreFixups.h27 MPreFixups(le_int32 charCount);
H A DCanonShaping.h24 static void reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft,
H A DKhmerReordering.h117 static le_int32 reorder(const LEUnicode *theChars, le_int32 charCount, le_int32 scriptCode,
126 static le_int32 findSyllable(const KhmerClassTable *classTable, const LEUnicode *chars, le_int32 prev, le_int32 charCount);
H A DTibetanReordering.h136 static le_int32 reorder(const LEUnicode *theChars, le_int32 charCount, le_int32 scriptCode,
145 static le_int32 findSyllable(const TibetanClassTable *classTable, const LEUnicode *chars, le_int32 prev, le_int32 charCount);
/macosx-10.10/tcl-105/tcl_ext/trf/trf/generic/
H A Drs_ecc.c132 unsigned char charCount; member in struct:_EncoderControl_
144 unsigned char charCount; member in struct:_DecoderControl_
218 c->charCount = 0;
285 c->block [c->charCount] = character;
286 c->charCount ++;
288 if (c->charCount == (MSG_LEN-1)) {
291 c->block [MSG_LEN-1] = c->charCount; /* == MSG_LEN-1 */
296 c->charCount = 0;
345 int k = (MSG_LEN-1) - c->charCount;
352 memcpy ((VOID*) (c->block + c->charCount), (VOI
[all...]
H A Dqpcode.c139 int charCount; member in struct:_EncoderControl_
319 if ((c -> charCount >= CPERLIN - 1)
320 && ((x != '\n') || (c -> buf[c -> charCount -1] != '\r'))
325 switch (c -> charCount) {
329 c -> charCount = 3;
336 c -> charCount = 7;
343 if ((c -> charCount > 0) && (c -> buf[c -> charCount - 1] == '\r'))
344 c -> charCount--;
350 c -> buf[c -> charCount
[all...]
H A Dasc85code.c132 unsigned char charCount; member in struct:_EncoderControl_
144 unsigned char charCount; member in struct:_DecoderControl_
223 c->charCount = 0;
291 c->buf [c->charCount] = character;
292 c->charCount ++;
294 if (c->charCount == 4) {
320 c->charCount = 0;
359 if (c->charCount > 0) {
374 len = c->charCount + 1;
381 c->charCount
[all...]
H A Dbincode.c205 unsigned char charCount; /* number of characters assembled so far (0..7) */
497 c->charCount = 0;
564 c->charCount ++;
568 c->bench |= (1 << (CHAR_BIT-1 - c->charCount));
569 c->charCount ++;
593 if (c->charCount >= CHAR_BIT) {
597 c->charCount = 0;
645 c->charCount ++;
649 c->bench |= (1 << (CHAR_BIT-1 - c->charCount));
650 c->charCount
203 unsigned char charCount; /* number of characters assembled so far (0..7) */ member in struct:_DecoderControl_
[all...]
H A Doctcode.c200 unsigned char charCount; /* number of characters assembled so far (0..3) */
485 c->charCount = 0;
552 ((c->charCount == 0) &&
576 c->bench |= (character << (3 * (2 - c->charCount)));
577 c->charCount ++;
579 if (c->charCount >= 3) {
583 c->charCount = 0;
632 ((c->charCount == 0) &&
656 c->bench |= (character << (3 * (2 - c->charCount)));
657 c->charCount
198 unsigned char charCount; /* number of characters assembled so far (0..3) */ member in struct:_DecoderControl_
[all...]
H A Db64code.c127 unsigned char charCount; member in struct:_EncoderControl_
142 unsigned char charCount; member in struct:_DecoderControl_
274 c->charCount = 0;
343 c->buf [c->charCount] = character;
344 c->charCount ++;
346 if (c->charCount == 3) {
374 c->charCount = 0;
418 if (c->charCount > 0) {
422 TrfSplit3to4 (c->buf, buf, c->charCount);
425 c->charCount
[all...]
H A Duucode.c126 unsigned char charCount; member in struct:_EncoderControl_
138 unsigned char charCount; member in struct:_DecoderControl_
270 c->charCount = 0;
338 c->buf [c->charCount] = character;
339 c->charCount ++;
341 if (c->charCount == 3) {
347 c->charCount = 0;
386 if (c->charCount > 0) {
389 TrfSplit3to4 (c->buf, buf, c->charCount);
392 c->charCount
[all...]
H A Dhexcode.c150 unsigned char charCount; /* number of characters assembled so far (0..1) */ member in struct:_DecoderControl_
461 c->charCount = 0;
554 c->bench |= (nibble << (4 * (1- c->charCount)));
555 c->charCount ++;
557 if (c->charCount >= 2) {
561 c->charCount = 0;
637 c->bench |= (nibble << (4 * (1 - c->charCount)));
638 c->charCount ++;
640 if (c->charCount >= 2) {
644 c->charCount
[all...]
H A Ddigest.c166 unsigned short charCount; member in struct:_DecoderControl_
603 c->charCount = 0;
691 if (c->charCount == md->digest_size) {
715 c->charCount ++;
799 if ((c->charCount + bufLen) <= md->digest_size) {
802 memcpy ( (VOID*) (c->digest_buffer + c->charCount), (VOID*) buffer, bufLen);
803 c->charCount += bufLen;
809 int n = c->charCount + bufLen - md->digest_size;
812 if (c->charCount > 0) {
813 if (n <= c->charCount) {
[all...]
H A Dotpcode.c135 int charCount; member in struct:_EncoderControl_
147 int charCount; member in struct:_DecoderControl_
2355 if (c -> charCount == 8) {
2365 c -> buf[c -> charCount++] = character;
2445 switch (c -> charCount) {
2521 c -> charCount = 0;
2651 if (c -> charCount == 0) {
2658 c -> charCount = 0;
2663 if (c -> charCount == 4) {
2691 cp[c -> charCount
[all...]
/macosx-10.10/ICU-531.30/icuSources/test/letest/
H A Dxmlreader.h20 le_int32 charCount,
H A Dletsutil.cpp83 le_int32 charCount = text.length(); local
85 UBiDi *ubidi = ubidi_openSized(charCount, 0, &status);
87 ubidi_setPara(ubidi, text.getBuffer(), charCount, UBIDI_DEFAULT_LTR, NULL, &status);
/macosx-10.10/ICU-531.30/icuSources/test/perf/leperf/
H A Dxmlreader.h20 le_int32 charCount,
/macosx-10.10/tcl-105/tk84/tk/generic/
H A DtkTextIndex.c838 TkTextIndexForwChars(srcPtr, charCount, dstPtr)
840 int charCount; /* How many characters forward to move.
850 if (charCount < 0) {
851 TkTextIndexBackChars(srcPtr, -charCount, dstPtr);
874 if (charCount == 0) {
878 charCount--;
881 if (charCount < segPtr->size - byteOffset) {
882 dstPtr->byteIndex += charCount;
885 charCount -= segPtr->size - byteOffset;
994 TkTextIndexBackChars(srcPtr, charCount, dstPt
[all...]

Completed in 139 milliseconds

123