Searched refs:numChars (Results 1 - 25 of 88) sorted by relevance

1234

/macosx-10.10.1/JavaScriptCore-7600.1.17/API/
H A DJSStringRefPrivate.h35 JS_EXPORT JSStringRef JSStringCreateWithCharactersNoCopy(const JSChar* chars, size_t numChars);
H A DJSStringRef.cpp37 JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars) argument
40 return OpaqueJSString::create(chars, numChars).leakRef();
62 JSStringRef JSStringCreateWithCharactersNoCopy(const JSChar* chars, size_t numChars) argument
65 return OpaqueJSString::create(StringImpl::createWithoutCopying(chars, numChars)).leakRef();
H A DJSStringRef.h55 @param numChars The number of characters to copy from the buffer pointed to by chars.
58 JS_EXPORT JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars);
/macosx-10.10.1/tcl-105/tcl84/tcl/generic/
H A DtclStringObj.c15 * only one byte. In this case, we store the value of numChars, but we
49 int numChars));
63 CONST Tcl_UniChar *unicode, int numChars);
91 int numChars; /* The number of chars in the string. member in struct:String
111 #define STRING_UALLOC(numChars) \
112 ((numChars) * sizeof(Tcl_UniChar))
117 #define stringCheckLimits(numChars) \
118 if ((numChars) < 0 || (numChars) > STRING_MAXCHARS) { \
122 #define stringRealloc(ptr, numChars) \
1023 int numChars = 0; local
1200 int length, numChars, allOneByteChars; local
1289 size_t numChars; local
1411 int numChars; local
[all...]
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...]
/macosx-10.10.1/tcl-105/tcl/tcl/generic/
H A DtclStringObj.c16 * numChars, but we don't store the Unicode data (unless Tcl_GetUnicode
50 const Tcl_UniChar *unicode, int numChars);
62 const Tcl_UniChar *unicode, int numChars);
94 int numChars; /* The number of chars in the string. -1 means member in struct:String
114 #define STRING_UALLOC(numChars) \
115 ((numChars) * sizeof(Tcl_UniChar))
120 #define stringCheckLimits(numChars) \
121 if ((numChars) < 0 || (numChars) > STRING_MAXCHARS) { \
125 #define stringRealloc(ptr, numChars) \
365 Tcl_NewUnicodeObj( const Tcl_UniChar *unicode, int numChars) argument
1025 Tcl_SetUnicodeObj( Tcl_Obj *objPtr, const Tcl_UniChar *unicode, int numChars) argument
1043 int numChars = 0; local
1055 SetUnicodeObj( Tcl_Obj *objPtr, const Tcl_UniChar *unicode, int numChars) argument
1274 int length, numChars, allOneByteChars; local
1360 int numChars; local
1436 AppendUnicodeToUtfRep( Tcl_Obj *objPtr, const Tcl_UniChar *unicode, int numChars) argument
1482 int numChars; local
1826 int newXpg, numChars, allocSegment = 0, segmentLimit, segmentNumBytes; local
2726 int numChars = Tcl_GetCharLength(objPtr); local
[all...]
H A DtclEncoding.c2277 int result, numChars;
2292 for (numChars = 0; src < srcEnd; numChars++) {
2339 *dstCharsPtr = numChars;
2389 int result, numChars;
2405 for (numChars = 0; src < srcEnd; numChars++) {
2425 *dstCharsPtr = numChars;
2475 int result, numChars;
2489 for (numChars
2247 int result, numChars; local
2358 int result, numChars; local
2443 int result, numChars; local
2538 int result, byte, numChars; local
2648 int result, len, word, numChars; local
2769 int result, numChars; local
2848 int result, numChars; local
2991 int state, result, numChars; local
3205 int state, result, numChars; local
[all...]
H A DtclRegexp.c96 const Tcl_UniChar *uniString, int numChars,
179 int flags, result, numChars;
208 numChars = Tcl_DStringLength(&ds) / sizeof(Tcl_UniChar);
209 result = RegExpExecUniChar(interp, re, ustr, numChars, -1 /* nmatches */,
293 int numChars, /* Length of Tcl_UniChar string (must be
309 status = TclReExec(&regexpPtr->re, wString, (size_t) numChars,
870 int numChars, status, i, exact;
935 numChars = Tcl_DStringLength(&stringBuf) / sizeof(Tcl_UniChar);
942 status = TclReComp(&regexpPtr->re, uniString, (size_t) numChars, flags);
177 int flags, result, numChars; local
284 RegExpExecUniChar( Tcl_Interp *interp, Tcl_RegExp re, const Tcl_UniChar *wString, int numChars, int nmatches, int flags) argument
854 int numChars, status, i, exact; local
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...]
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Ddictionarydata.cpp50 int32_t numChars = 1; local
58 lengths[count++] = numChars;
69 if (numChars >= maxLength) {
77 ++numChars;
80 return numChars;
114 int32_t numChars = 1; local
122 lengths[count++] = numChars;
133 if (numChars >= maxLength) {
141 ++numChars;
144 return numChars;
[all...]
H A Ddictbe.cpp989 int numChars = 0; local
998 charPositions[++numChars] = index;
1013 charPositions[++numChars] = index = normalizer.getIndex();
1028 AutoBuffer<uint32_t, defaultInputLength> bestSnlp(numChars + 1);
1030 for(int i = 1; i <= numChars; i++) {
1037 AutoBuffer<int, defaultInputLength> prev(numChars + 1);
1038 for(int i = 0; i <= numChars; i++){
1044 AutoBuffer<int32_t, maxWordSize> values(numChars);
1045 AutoBuffer<int32_t, maxWordSize> lengths(numChars);
1049 for (int32_t i = 0; i < numChars;
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/API/tests/
H A Dminidom.c90 size_t numChars = JSStringGetMaximumUTF8CStringSize(string); local
91 char stringUTF8[numChars];
92 JSStringGetUTF8CString(string, stringUTF8, numChars);
/macosx-10.10.1/hfs-285/hfs_japanese/hfs_japanese.kmodproj/
H A DCFStub.h68 UInt32 numChars, UInt8 *bytes, UInt32 maxByteLen, UInt32 *usedByteLen);
/macosx-10.10.1/tcl-105/tk/tk/generic/
H A DtkCanvText.c66 int numChars; /* Length of text in characters. */ member in struct:TextItem
266 textPtr->numChars = 0;
508 textPtr->numChars = Tcl_NumUtfChars(textPtr->text, textPtr->numBytes);
511 if (textInfoPtr->selectFirst >= textPtr->numChars) {
514 if (textInfoPtr->selectLast >= textPtr->numChars) {
515 textInfoPtr->selectLast = textPtr->numChars - 1;
518 && (textInfoPtr->selectAnchor >= textPtr->numChars)) {
519 textInfoPtr->selectAnchor = textPtr->numChars - 1;
523 if (textPtr->insertPos >= textPtr->numChars) {
524 textPtr->insertPos = textPtr->numChars;
[all...]
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...]
/macosx-10.10.1/tcl-105/tk84/tk/generic/
H A DtkCanvText.c65 int numChars; /* Length of text in characters. */ member in struct:TextItem
269 textPtr->numChars = 0;
510 textPtr->numChars = Tcl_NumUtfChars(textPtr->text, textPtr->numBytes);
513 if (textInfoPtr->selectFirst >= textPtr->numChars) {
516 if (textInfoPtr->selectLast >= textPtr->numChars) {
517 textInfoPtr->selectLast = textPtr->numChars - 1;
520 && (textInfoPtr->selectAnchor >= textPtr->numChars)) {
521 textInfoPtr->selectAnchor = textPtr->numChars - 1;
525 if (textPtr->insertPos >= textPtr->numChars) {
526 textPtr->insertPos = textPtr->numChars;
[all...]
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...]
/macosx-10.10.1/tcl-105/tcl/tcl/compat/
H A Dstring.h59 size_t numChars));
63 size_t numChars));
/macosx-10.10.1/tcl-105/tcl84/tcl/compat/
H A Dstring.h61 size_t numChars));
65 size_t numChars));
/macosx-10.10.1/tcl-105/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.10.1/ICU-531.30/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.10.1/tcl-105/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:__anon13308
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.10.1/Security-57031.1.35/SecurityTests/cspxutils/acltool/
H A DaclUtils.cpp170 CFIndex numChars = CFStringGetBytes(string, rangeToProcess, local
173 if (numChars == 0)
177 rangeToProcess.location += numChars;
178 rangeToProcess.length -= numChars;

Completed in 255 milliseconds

1234