Searched refs:targetLength (Results 1 - 25 of 28) sorted by relevance

12

/macosx-10.10.1/WTF-7600.1.24/wtf/
H A DStringExtras.h107 size_t targetLength = strlen(target); local
108 if (targetLength == 0)
110 for (const char* start = buffer; *start && start + targetLength <= buffer + bufferLength; start++) {
111 if (*start == *target && strncmp(start + 1, target + 1, targetLength - 1) == 0)
/macosx-10.10.1/ICU-531.30/icuSources/i18n/
H A Dsortkey.cpp194 int32_t targetLength = target.getLength(); local
195 if (minLength < targetLength) {
197 } else if (minLength == targetLength) {
200 minLength = targetLength;
H A Ducol.cpp442 int32_t targetLength)
450 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength);
455 compare(source, sourceLength, target, targetLength, status);
466 int32_t targetLength,
475 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength);
485 source, sourceLength, target, targetLength, *status);
497 int32_t targetLength)
499 return (ucol_strcoll(coll, source, sourceLength, target, targetLength)
509 int32_t targetLength)
511 return (ucol_strcoll(coll, source, sourceLength, target, targetLength)
438 ucol_strcoll( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
461 ucol_strcollUTF8( const UCollator *coll, const char *source, int32_t sourceLength, const char *target, int32_t targetLength, UErrorCode *status) argument
493 ucol_greater( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
505 ucol_greaterOrEqual( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
517 ucol_equal( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
[all...]
H A Dcoll.cpp323 const UChar* target, int32_t targetLength)
327 return (EComparisonResult)compare(source, sourceLength, target, targetLength, ec);
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Ducnvhz.c39 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ \
41 if(targetIndex < targetLength){ \
341 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); local
357 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) {
363 if (myTargetIndex < targetLength){
370 /*concatEscape(args, &myTargetIndex, &targetLength,"\x7E\x7E",err,2,&mySourceIndex);*/
373 CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex);
398 CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex);
404 CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex);
411 if( myTargetIndex <targetLength){
[all...]
H A Dunistr.cpp1544 UnicodeString::padLeading(int32_t targetLength, argument
1548 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) {
1553 int32_t start = targetLength - oldLength;
1560 setLength(targetLength);
1566 UnicodeString::padTrailing(int32_t targetLength, argument
1570 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) {
1575 int32_t length = targetLength;
1579 setLength(targetLength);
[all...]
H A Ducnv.c2423 int32_t targetLength=0; local
2439 targetLength=0;
2451 targetLength=(int32_t)(myTarget-target);
2474 targetLength+=(int32_t)(myTarget-targetBuffer);
2478 return u_terminateChars(target, targetCapacity, targetLength, pErrorCode);
2482 return targetLength;
2492 int32_t targetLength; local
2522 targetLength=ucnv_internalConvert(outConverter, inConverter,
2530 return targetLength;
2543 int32_t targetLength; local
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/i18n/unicode/
H A Ducol.h531 * @param targetLength The length of target, or -1 if null-terminated.
544 int32_t targetLength);
555 * @param targetLength The length of target, or -1 if null-terminated.
570 int32_t targetLength,
580 * @param targetLength The length of target, or -1 if null-terminated.
590 const UChar *target, int32_t targetLength);
599 * @param targetLength The length of target, or -1 if null-terminated.
609 const UChar *target, int32_t targetLength);
618 * @param targetLength The length of target, or -1 if null-terminated.
628 const UChar *target, int32_t targetLength);
[all...]
H A Dcoll.h409 * @param targetLength the length of the target string array. If this value
417 const UChar* target, int32_t targetLength)
428 * @param targetLength the length of the target string array. If this value
437 const UChar* target, int32_t targetLength,
H A Dtblcoll.h305 * @param targetLength the length of the target string array. If this value
314 const UChar* target, int32_t targetLength,
/macosx-10.10.1/JavaScriptCore-7600.1.17/icu/unicode/
H A Ducol.h423 * @param targetLength The length of target, or -1 if null-terminated.
436 int32_t targetLength);
445 * @param targetLength The length of target, or -1 if null-terminated.
455 const UChar *target, int32_t targetLength);
464 * @param targetLength The length of target, or -1 if null-terminated.
474 const UChar *target, int32_t targetLength);
483 * @param targetLength The length of target, or -1 if null-terminated.
493 const UChar *target, int32_t targetLength);
/macosx-10.10.1/WTF-7600.1.24/icu/unicode/
H A Ducol.h423 * @param targetLength The length of target, or -1 if null-terminated.
436 int32_t targetLength);
445 * @param targetLength The length of target, or -1 if null-terminated.
455 const UChar *target, int32_t targetLength);
464 * @param targetLength The length of target, or -1 if null-terminated.
474 const UChar *target, int32_t targetLength);
483 * @param targetLength The length of target, or -1 if null-terminated.
493 const UChar *target, int32_t targetLength);
H A Dunistr.h1430 * This function does not write any more than <code>targetLength</code>
1439 * if targetLength is 0
1457 * This function does not write any more than <code>targetLength</code>
1466 * @param targetLength the length of the target buffer
1475 uint32_t targetLength) const;
1515 * This function does not write any more than <code>targetLength</code>
1529 * @param targetLength the length of the target buffer
1543 uint32_t targetLength,
2443 * If the length of this UnicodeString is less than targetLength,
2444 * length() - targetLength copie
4412 truncate(int32_t targetLength) argument
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/
H A DFunctionPrototype.cpp158 unsigned targetLength = (unsigned)target.get(exec, exec->propertyNames().length).asNumber(); local
159 if (targetLength > numBoundArgs)
160 length = targetLength - numBoundArgs;
/macosx-10.10.1/ICU-531.30/icuSources/tools/toolutil/
H A Dpkgitems.cpp134 int32_t treeLength, suffixLength, targetLength; local
150 targetLength=treeLength+idLength+suffixLength;
151 if(targetLength>=capacity) {
153 itemName, (long)targetLength);
/macosx-10.10.1/ICU-531.30/icuSources/common/unicode/
H A Dunistr.h1489 * This function does not write any more than <code>targetLength</code>
1498 * if targetLength is 0
1516 * This function does not write any more than <code>targetLength</code>
1525 * @param targetLength the length of the target buffer
1534 uint32_t targetLength) const;
1574 * This function does not write any more than <code>targetLength</code>
1588 * @param targetLength the length of the target buffer
1602 uint32_t targetLength,
2505 * If the length of this UnicodeString is less than targetLength,
2506 * length() - targetLength copie
4445 truncate(int32_t targetLength) argument
[all...]
/macosx-10.10.1/WebKit-7600.1.25/mac/Plugins/Hosted/
H A DNetscapePluginHostProxy.mm403 kern_return_t WKPCLoadURL(mach_port_t clientPort, uint32_t pluginID, data_t url, mach_msg_type_number_t urlLength, data_t target, mach_msg_type_number_t targetLength,
408 DataDeallocator targetDeallocator(target, targetLength);
1104 data_t targetData, mach_msg_type_number_t targetLength, uint32_t *checkID)
1107 DataDeallocator targetDeallocator(targetData, targetLength);
1136 data_t targetData, mach_msg_type_number_t targetLength,
1140 DataDeallocator targetDeallocator(targetData, targetLength);
/macosx-10.10.1/tcl-105/tcl_ext/tdom/tdom/generic/
H A Ddomhtml.c1113 pinode->targetLength = strlen(start);
1114 pinode->targetValue = (char*)MALLOC(pinode->targetLength);
1115 memmove(pinode->targetValue, start, pinode->targetLength);
H A Dxmlsimple.c696 pinode->targetLength = strlen(start);
697 pinode->targetValue = (char*)MALLOC(pinode->targetLength);
698 memmove(pinode->targetValue, start, pinode->targetLength);
H A Ddom.c1656 node->targetLength = len;
4337 int targetLength,
4351 node->targetLength = targetLength;
4352 node->targetValue = (char*)MALLOC(targetLength);
4353 memmove(node->targetValue, targetValue, targetLength);
4474 pinode->targetLength,
4608 pinode->targetLength,
4326 domNewProcessingInstructionNode( domDocument *doc, const char *targetValue, int targetLength, const char *dataValue, int dataLength ) argument
H A Ddom.h649 int targetLength; member in struct:domProcessingInstructionNode
734 int targetLength,
H A Ddomxpath.c2392 ((domProcessingInstructionNode*)node)->targetLength)
3689 if (((domProcessingInstructionNode*)leftResult.nodes[0])->targetLength > 79) {
3694 ((domProcessingInstructionNode*)leftResult.nodes[0])->targetLength);
3695 tmp[((domProcessingInstructionNode*)leftResult.nodes[0])->targetLength] = '\0';
3729 if (((domProcessingInstructionNode*)leftResult.nodes[0])->targetLength > 79) {
3734 ((domProcessingInstructionNode*)leftResult.nodes[0])->targetLength);
3735 tmp[((domProcessingInstructionNode*)leftResult.nodes[0])->targetLength] = '\0';
5464 if (strncmp(((domProcessingInstructionNode*)nodeToMatch)->targetValue, step->strvalue, ((domProcessingInstructionNode*)nodeToMatch)->targetLength) != 0) {
/macosx-10.10.1/CPANInternal-159.1/IPC-LDT-2.03/
H A DLDT.pm1117 my ($me, $targetBufferRef, $targetLength)=@_;
1124 $targetLength=$me->{'startblockLength'} unless defined $targetLength;
1127 my $length=$targetLength;
1131 $readBytes=sysread($me->{'handle'}, $$targetBufferRef, $length, $targetLength-$length);
/macosx-10.10.1/IOStorageFamily-182.1.1/
H A DIOBlockStorageDriver.cpp70 int sourceIndex = 0, targetIndex = 0, targetLength = 0; local
80 if ( targetLength < targetIndex )
82 targetIndex = targetLength + 1;
85 targetLength = targetIndex + 1;
92 s[targetLength] = '\0';
/macosx-10.10.1/ICU-531.30/icuSources/test/cintltst/
H A Dccapitst.c943 log_verbose("\n---Testing ucnv_fromUChars() with targetLength = 0\n");
946 log_err("\nFAILURE: ucnv_fromUChars with targetLength 0 is expected to fail and throw U_BUFFER_OVERFLOW_ERROR\n");
966 log_err("\nFAILURE: ucnv_toUChars(targetLength)->%s instead of U_STRING_NOT_TERMINATED_WARNING\n",
2147 int32_t targetLength; local
2184 targetLength=(int32_t)(target-targetBuffer);
2193 if(targetLength+chunkSize<=sizeof(targetBuffer)) {
2213 } else if(targetLength!=expectTargetLength) {
2215 testName, chunkSize, targetLength, expectTargetLength);
2216 } else if(memcmp(targetBuffer, expectTarget, targetLength)!=0) {

Completed in 367 milliseconds

12