Searched refs:numChars (Results 26 - 50 of 105) sorted by relevance

12345

/macosx-10.9.5/tcl-102/tcl84/tcl/compat/
H A Dstring.h61 size_t numChars));
65 size_t numChars));
/macosx-10.9.5/CF-855.17/
H A DCFPriv.h399 CFIndex numChars = CFStringGetLength(appendedString); local
400 if ( numChars > __kCFStringAppendBufferLength ) {
408 if ( (buf->bufferIndex + numChars) > __kCFStringAppendBufferLength ) {
412 CFStringGetCharacters(appendedString, CFRangeMake(0, numChars), &buf->buffer[buf->bufferIndex]);
413 buf->bufferIndex += numChars;
418 CF_INLINE void CFStringAppendCharactersToAppendBuffer(CFStringAppendBuffer *buf, const UniChar *chars, CFIndex numChars) argument
420 if ( numChars > __kCFStringAppendBufferLength ) {
425 CFStringAppendCharacters(buf->theString, chars, numChars);
428 if ( (buf->bufferIndex + numChars) > __kCFStringAppendBufferLength ) {
432 memcpy(&buf->buffer[buf->bufferIndex], chars, numChars * sizeo
[all...]
H A DCFXMLInputStream.h99 Boolean _inputStreamScanToCharacters(_CFXMLInputStream *stream, const UniChar *scanChars, CFIndex numChars, CFMutableStringRef str);
H A DCFBurstTrie.c323 static CFIndex burstTrieConvertCharactersToUTF8(UniChar *chars, CFIndex numChars, UInt8 *buffer);
454 Boolean CFBurstTrieInsertCharacters(CFBurstTrieRef trie, UniChar *chars, CFIndex numChars, CFIndex payload) { argument
455 return CFBurstTrieAddCharactersWithWeight(trie, chars, numChars, 1, (uint32_t)payload);
458 Boolean CFBurstTrieAddCharacters(CFBurstTrieRef trie, UniChar *chars, CFIndex numChars, uint32_t payload) { argument
459 return CFBurstTrieAddCharactersWithWeight(trie, chars, numChars, 1, payload);
462 Boolean CFBurstTrieInsertUTF8String(CFBurstTrieRef trie, UInt8 *chars, CFIndex numChars, CFIndex payload) { argument
463 return CFBurstTrieAddUTF8StringWithWeight(trie, chars, numChars, 1, (uint32_t)payload);
466 Boolean CFBurstTrieAddUTF8String(CFBurstTrieRef trie, UInt8 *chars, CFIndex numChars, uint32_t payload) { argument
467 return CFBurstTrieAddUTF8StringWithWeight(trie, chars, numChars, 1, payload);
495 Boolean CFBurstTrieInsertCharactersWithWeight(CFBurstTrieRef trie, UniChar *chars, CFIndex numChars, CFInde argument
499 CFBurstTrieAddCharactersWithWeight(CFBurstTrieRef trie, UniChar *chars, CFIndex numChars, uint32_t weight, uint32_t payload) argument
520 CFBurstTrieInsertUTF8StringWithWeight(CFBurstTrieRef trie, UInt8 *chars, CFIndex numChars, CFIndex weight, CFIndex payload) argument
524 CFBurstTrieAddUTF8StringWithWeight(CFBurstTrieRef trie, UInt8 *chars, CFIndex numChars, uint32_t weight, uint32_t payload) argument
564 CFBurstTrieFindCharacters(CFBurstTrieRef trie, UniChar *chars, CFIndex numChars, CFIndex *payload) argument
573 CFBurstTrieContainsCharacters(CFBurstTrieRef trie, UniChar *chars, CFIndex numChars, uint32_t *payload) argument
2047 burstTrieConvertCharactersToUTF8(UniChar *chars, CFIndex numChars, UInt8 *buffer) argument
[all...]
H A DCFICUConverters.c252 CF_PRIVATE CFIndex __CFStringEncodingICUToBytes(const char *icuName, uint32_t flags, const UniChar *characters, CFIndex numChars, CFIndex *usedCharLen, uint8_t *bytes, CFIndex maxByteLen, CFIndex *usedByteLen) { argument
256 const UTF16Char *sourceLimit = source + numChars;
430 CF_PRIVATE CFIndex __CFStringEncodingICUByteLength(const char *icuName, uint32_t flags, const UniChar *characters, CFIndex numChars) { argument
432 return (__CFStringEncodingICUToBytes(icuName, flags, characters, numChars, NULL, NULL, 0, &usedByteLen) == kCFStringEncodingConversionSuccess ? usedByteLen : 0);
H A DCFString.h203 CFStringRef CFStringCreateWithCharacters(CFAllocatorRef alloc, const UniChar *chars, CFIndex numChars);
234 CFStringRef CFStringCreateWithCharactersNoCopy(CFAllocatorRef alloc, const UniChar *chars, CFIndex numChars, CFAllocatorRef contentsDeallocator);
267 CFMutableStringRef CFStringCreateMutableWithExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity, CFAllocatorRef externalCharactersAllocator);
501 /* Find range of bounds of the line(s) that span the indicated range (startIndex, numChars),
578 void CFStringAppendCharacters(CFMutableStringRef theString, const UniChar *chars, CFIndex numChars);
/macosx-10.9.5/tcl-102/tcl/tcl/generic/
H A DtclUtf.c1040 * Compare at most numChars UTF chars of string cs to string ct. Both cs
1041 * and ct are assumed to be at least numChars UTF chars long.
1056 unsigned long numChars) /* Number of UTF chars to compare. */
1066 while (numChars-- > 0) {
1088 * Compare at most numChars UTF chars of string cs to string ct case
1089 * insensitive. Both cs and ct are assumed to be at least numChars UTF
1105 unsigned long numChars) /* Number of UTF chars to compare. */
1108 while (numChars-- > 0) {
1261 * Compare at most numChars unichars of string ucs to string uct.
1262 * Both ucs and uct are assumed to be at least numChars unichar
1035 Tcl_UtfNcmp( CONST char *cs, CONST char *ct, unsigned long numChars) argument
1083 Tcl_UtfNcasecmp( CONST char *cs, CONST char *ct, unsigned long numChars) argument
1250 Tcl_UniCharNcmp( CONST Tcl_UniChar *ucs, CONST Tcl_UniChar *uct, unsigned long numChars) argument
1295 Tcl_UniCharNcasecmp( CONST Tcl_UniChar *ucs, CONST Tcl_UniChar *uct, unsigned long numChars) argument
[all...]
H A DtclUtil.c151 int numChars;
239 Tcl_UtfBackslash(p, &numChars, NULL);
240 p += (numChars - 1);
980 int numChars;
994 numChars = 1;
996 numChars += Tcl_ScanElement(argv[i], &flagPtr[i]) + 1;
1003 result = (char *) ckalloc((unsigned) numChars);
1006 numChars = Tcl_ConvertElement(argv[i], dst,
1008 dst += numChars;
150 int numChars; local
971 int numChars; local
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/generic/
H A DtclXlgets.c197 int numChars;
292 bsChar = Tcl_Backslash(p, &numChars);
294 p += (numChars - 1); /* Advanced again at end of loop */
298 p += (numChars - 1);
194 int numChars; local
H A DtclXdebug.c51 int numChars,
136 PrintStr (channel, string, numChars, quoted)
139 int numChars;
146 for (idx = 0; idx < numChars; idx++) {
153 if (numChars < (int) strlen (string))
/macosx-10.9.5/tcl-102/tcl84/tcl/generic/
H A DtclEncoding.c2068 int result, numChars;
2083 for (numChars = 0; src < srcEnd; numChars++) {
2130 *dstCharsPtr = numChars;
2181 int result, numChars;
2197 for (numChars = 0; src < srcEnd; numChars++) {
2217 *dstCharsPtr = numChars;
2267 int result, numChars;
2281 for (numChars
2043 int result, numChars; local
2155 int result, numChars; local
2240 int result, numChars; local
2336 int result, byte, numChars; local
2446 int result, len, word, numChars; local
2604 int state, result, numChars; local
2814 int state, result, numChars; local
[all...]
H A DtclRegexp.c99 int numChars, int nmatches, int flags));
185 int flags, result, numChars;
214 numChars = Tcl_DStringLength(&ds) / sizeof(Tcl_UniChar);
215 result = RegExpExecUniChar(interp, re, ustr, numChars,
295 RegExpExecUniChar(interp, re, wString, numChars, nmatches, flags)
300 int numChars; /* Length of Tcl_UniChar string (must
316 status = TclReExec(&regexpPtr->re, wString, (size_t) numChars,
856 int numChars;
922 numChars = Tcl_DStringLength(&stringBuf) / sizeof(Tcl_UniChar);
929 status = TclReComp(&regexpPtr->re, uniString, (size_t) numChars, flag
183 int flags, result, numChars; local
840 int numChars; local
[all...]
H A DtclUtil.c153 int numChars;
245 Tcl_UtfBackslash(p, &numChars, NULL);
246 p += (numChars - 1);
873 int numChars;
887 numChars = 1;
889 numChars += Tcl_ScanElement(argv[i], &flagPtr[i]) + 1;
896 result = (char *) ckalloc((unsigned) numChars);
899 numChars = Tcl_ConvertElement(argv[i], dst, flagPtr[i]);
900 dst += numChars;
152 int numChars; local
865 int numChars; local
H A DtclProc.c1360 int numChars;
1370 numChars = strlen(procName);
1372 if (numChars > 50) {
1373 numChars = 50;
1377 description, numChars, procName, ellipsis);
1480 numChars = strlen(procName);
1482 if (numChars > 50) {
1483 numChars = 50;
1486 while ( (procName[numChars] & 0xC0) == 0x80 ) {
1491 numChars
1351 int numChars; local
[all...]
H A DtclUtf.c239 Tcl_UniCharToUtfDString(wString, numChars, dsPtr)
241 int numChars; /* Length of Unicode string in Tcl_UniChars
257 Tcl_DStringSetLength(dsPtr, (oldLength + numChars + 1) * TCL_UTF_MAX);
261 wEnd = wString + numChars;
/macosx-10.9.5/ICU-511.35/icuSources/test/perf/dicttrieperf/
H A Ddicttrieperf.cpp359 int32_t numChars=1; local
365 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too.
373 if(numChars>=textLimit) {
384 ++numChars;
400 return numChars;
553 int32_t numChars=1; local
559 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too.
567 if(numChars>=textLimit) {
574 ++numChars;
577 return numChars;
[all...]
/macosx-10.9.5/tcl-102/tk/tk/generic/ttk/
H A DttkEntry.c60 * numBytes,numChars : string
61 * displayString : numChars, showChar
69 * 0 <= insertPos <= numChars
70 * 0 <= selectFirst < selectLast <= numChars || selectFirst == selectLast == -1
93 int numChars; /* Length of string in characters. */ member in struct:__anon13523
280 * Return a malloc'ed string consisting of 'numChars' copies
284 static char *EntryDisplayString(const char *showChar, int numChars) argument
293 p = displayString = ckalloc(numChars * size + 1);
295 while (numChars--) {
312 entryPtr->entry.displayString, entryPtr->entry.numChars,
710 int numChars = Tcl_NumUtfChars(value, numBytes); local
[all...]
/macosx-10.9.5/tcl-102/tk84/tk/generic/
H A DtkFont.c75 int numChars; /* The number of characters in this chunk. */ member in struct:LayoutChunk
78 * numChars if extra space characters were
338 int *maxPtr, CONST char *start, int numChars,
1834 Tk_ComputeTextLayout(tkfont, string, numChars, wrapLength, justify, flags,
1839 int numChars; /* Number of characters to consider from
1881 if (numChars < 0) {
1882 numChars = Tcl_NumUtfChars(string, -1);
1905 end = Tcl_UtfAtIndex(string, numChars);
2022 chunkPtr->numChars += Tcl_NumUtfChars(end, bytesThisChunk);
2080 layoutPtr->chunks[0].numChars
2308 int i, n, dummy, baseline, pos, numChars; local
3239 int maxChunks, numChars; local
[all...]
H A DtkEntry.c664 if ((index == entryPtr->numChars) && (index > 0)) {
1004 index = (int) ((fraction * entryPtr->numChars) + 0.5);
1025 if (index >= entryPtr->numChars) {
1026 index = entryPtr->numChars - 1;
1765 entryPtr->leftIndex, entryPtr->numChars);
1960 entryPtr->numDisplayBytes = entryPtr->numChars * size;
1964 for (i = entryPtr->numChars; --i >= 0; ) {
1972 entryPtr->displayString, entryPtr->numChars, 0,
2105 oldChars = entryPtr->numChars;
2106 entryPtr->numChars
[all...]
H A DtkEntry.h147 int numChars; /* Length of string in characters. Both member in struct:__anon13773
/macosx-10.9.5/tcl-102/tk/tk/generic/
H A DtkFont.c72 int numChars; /* The number of characters in this chunk. */ member in struct:LayoutChunk
75 * numChars if extra space characters were
334 const char *start, int numChars, int curX,
1966 int numChars, /* Number of characters to consider from
2006 if (numChars < 0) {
2007 numChars = Tcl_NumUtfChars(string, -1);
2030 end = Tcl_UtfAtIndex(string, numChars);
2147 chunkPtr->numChars += Tcl_NumUtfChars(end, bytesThisChunk);
2204 layoutPtr->chunks[0].numChars = 0;
2350 firstChar -= chunkPtr->numChars;
1941 Tk_ComputeTextLayout( Tk_Font tkfont, const char *string, int numChars, int wrapLength, Tk_Justify justify, int flags, int *widthPtr, int *heightPtr) argument
2429 int i, n, dummy, baseline, pos, numChars; local
3364 int maxChunks, numChars; local
[all...]
H A DtkEntry.c628 if ((index == entryPtr->numChars) && (index > 0)) {
954 index = (int) ((fraction * entryPtr->numChars) + 0.5);
972 if (index >= entryPtr->numChars) {
973 index = entryPtr->numChars - 1;
1713 entryPtr->leftIndex, entryPtr->numChars);
1916 entryPtr->numDisplayBytes = entryPtr->numChars * size;
1920 for (i = entryPtr->numChars; --i >= 0; ) {
1928 entryPtr->displayString, entryPtr->numChars, 0,
2062 oldChars = entryPtr->numChars;
2063 entryPtr->numChars
[all...]
H A DtkEntry.h147 int numChars; /* Length of string in characters. Both string member in struct:__anon13426
/macosx-10.9.5/SecurityTool-55115/
H A Dkeychain_utilities.c228 CFIndex numChars = CFStringGetBytes(string, rangeToProcess, local
231 if (numChars == 0)
235 rangeToProcess.location += numChars;
236 rangeToProcess.length -= numChars;
/macosx-10.9.5/tcl-102/tcl_ext/tktable/tktable/generic/
H A DtkTableEdit.c371 int byteIndex, byteCount, newByteCount, numBytes, numChars; local
376 numChars = Tcl_NumUtfChars(string, numBytes);
377 if ((index + count) > numChars) {
378 count = numChars - index;

Completed in 255 milliseconds

12345