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

12

/external/webkit/Source/JavaScriptCore/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)
/external/icu4c/i18n/unicode/
H A Dbms.h117 * void boyerMooreExample(UCollator *collator, UChar *pattern, int32_t patternLen, UChar *target, int32_t targetLength)
192 * @param targetLength - the length of the string in which to search
206 const UChar *target, int32_t targetLength,
264 * @param targetLength - the length of the new target string
270 bms_setTargetString(BMS *bms, const UChar *target, int32_t targetLength, UErrorCode *status);
H A Ducol.h474 * @param targetLength The length of target, or -1 if null-terminated.
487 int32_t targetLength);
496 * @param targetLength The length of target, or -1 if null-terminated.
506 const UChar *target, int32_t targetLength);
515 * @param targetLength The length of target, or -1 if null-terminated.
525 const UChar *target, int32_t targetLength);
534 * @param targetLength The length of target, or -1 if null-terminated.
544 const UChar *target, int32_t targetLength);
H A Dcoll.h411 * @param targetLength the length of the target string array. If this value
419 const UChar* target, int32_t targetLength)
430 * @param targetLength the length of the target string array. If this value
439 const UChar* target, int32_t targetLength,
H A Dtblcoll.h360 * @param targetLength the length of the target string array. If this value
368 const UChar* target, int32_t targetLength)
379 * @param targetLength the length of the target string array. If this value
388 const UChar* target, int32_t targetLength,
/external/icu4c/i18n/
H A Dbms.cpp73 const UChar *target, int32_t targetLength,
87 bms->targetString = new UnicodeString(target, targetLength);
136 bms_setTargetString(BMS *bms, const UChar *target, int32_t targetLength, UErrorCode *status) argument
147 bms->targetString = new UnicodeString(target, targetLength);
71 bms_open(UCD *ucd, const UChar *pattern, int32_t patternLength, const UChar *target, int32_t targetLength, UErrorCode *status) argument
H A Dbmsearch.cpp88 int32_t targetLength; member in class:Target
98 targetString(NULL), targetBuffer(NULL), targetLength(0), elements(NULL), charBreakIterator(NULL)
162 targetLength = targetString->length();
168 targetBuffer, targetLength, &status);
171 targetLength = 0;
277 return targetLength;
333 while (offset < targetLength) {
344 return targetLength;
H A Dtblcoll.cpp356 int32_t targetLength)
360 target, targetLength));
366 int32_t targetLength,
370 return ucol_strcoll(ucollator, source, sourceLength, target, targetLength);
363 compare(const UChar* source, int32_t sourceLength, const UChar* target, int32_t targetLength, UErrorCode &status) const argument
H A Ducol.cpp7036 int32_t targetLength; local
7051 targetLength = targetString.length();
7054 targetLength = (tColl->flags&UCOL_ITER_HASLEN)?(int32_t)(tColl->endp-tColl->string):-1;
7071 targetKeyLen = ucol_getSortKey(coll, target, targetLength, targetKeyP, targetKeyLen);
7078 targetKeyLen = ucol_getSortKey(coll, target, targetLength, targetKeyP, targetKeyLen);
7594 const UChar *target, int32_t targetLength,
7599 IInit_collIterate(coll, target, targetLength, &tColl, status);
8076 int32_t targetLength)
8084 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength);
8096 if (source==target && sourceLength==targetLength) {
7592 ucol_strcollRegular(const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength, UErrorCode *status) argument
8072 ucol_strcoll( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8196 ucol_greater( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8208 ucol_greaterOrEqual( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8220 ucol_equal( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
[all...]
H A Dcoll.cpp426 const UChar* target, int32_t targetLength)
430 return (Collator::EComparisonResult)compare(source, sourceLength, target, targetLength, ec);
/external/icu4c/common/
H A Ducnvhz.c38 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ \
40 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.cpp1437 UnicodeString::padLeading(int32_t targetLength, argument
1441 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) {
1446 int32_t start = targetLength - oldLength;
1453 setLength(targetLength);
1459 UnicodeString::padTrailing(int32_t targetLength, argument
1463 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) {
1468 int32_t length = targetLength;
1472 setLength(targetLength);
[all...]
H A Ducnv.c2413 int32_t targetLength=0; local
2429 targetLength=0;
2441 targetLength=(int32_t)(myTarget-target);
2464 targetLength+=(int32_t)(myTarget-targetBuffer);
2468 return u_terminateChars(target, targetCapacity, targetLength, pErrorCode);
2472 return targetLength;
2482 int32_t targetLength; local
2512 targetLength=ucnv_internalConvert(outConverter, inConverter,
2520 return targetLength;
2533 int32_t targetLength; local
[all...]
/external/webkit/Source/JavaScriptCore/icu/unicode/
H A Ducol.h383 * @param targetLength The length of target, or -1 if null-terminated.
396 int32_t targetLength);
405 * @param targetLength The length of target, or -1 if null-terminated.
415 const UChar *target, int32_t targetLength);
424 * @param targetLength The length of target, or -1 if null-terminated.
434 const UChar *target, int32_t targetLength);
443 * @param targetLength The length of target, or -1 if null-terminated.
453 const UChar *target, int32_t targetLength);
/external/webkit/Source/WebCore/icu/unicode/
H A Ducol.h383 * @param targetLength The length of target, or -1 if null-terminated.
396 int32_t targetLength);
405 * @param targetLength The length of target, or -1 if null-terminated.
415 const UChar *target, int32_t targetLength);
424 * @param targetLength The length of target, or -1 if null-terminated.
434 const UChar *target, int32_t targetLength);
443 * @param targetLength The length of target, or -1 if null-terminated.
453 const UChar *target, int32_t targetLength);
/external/webkit/Source/WebCore/loader/
H A DTextResourceDecoder.cpp48 size_t targetLength = strlen(target); local
49 if (targetLength > subjectLength)
51 for (size_t i = 0; i <= subjectLength - targetLength; ++i) {
53 for (size_t j = 0; j < targetLength; ++j) {
/external/icu4c/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);
/external/icu4c/common/unicode/
H A Dunistr.h1431 * This function does not write any more than <code>targetLength</code>
1440 * if targetLength is 0
1458 * This function does not write any more than <code>targetLength</code>
1467 * @param targetLength the length of the target buffer
1476 uint32_t targetLength) const;
1516 * This function does not write any more than <code>targetLength</code>
1530 * @param targetLength the length of the target buffer
1544 uint32_t targetLength,
2444 * If the length of this UnicodeString is less than targetLength,
2445 * length() - targetLength copie
4440 truncate(int32_t targetLength) argument
[all...]
/external/webkit/Source/WebKit/mac/Plugins/Hosted/
H A DNetscapePluginHostProxy.mm384 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,
389 DataDeallocator targetDeallocator(target, targetLength);
1071 data_t targetData, mach_msg_type_number_t targetLength, uint32_t *checkID)
1074 DataDeallocator targetDeallocator(targetData, targetLength);
1103 data_t targetData, mach_msg_type_number_t targetLength,
1107 DataDeallocator targetDeallocator(targetData, targetLength);
/external/webkit/Source/WebCore/editing/
H A DTextIterator.cpp1938 size_t targetLength = m_target.length(); local
1939 m_buffer.reserveInitialCapacity(max(targetLength * 8, minimumSearchBufferSize));
1942 if ((m_options & AtWordStarts) && targetLength) {
1944 U16_GET(m_target.characters(), 0, 0, targetLength, targetFirstCharacter);
1968 usearch_setPattern(searcher, m_target.characters(), targetLength, &status);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.launcher.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.launcher_1.1.0.v20100507.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/icu4c/test/intltest/
H A Dapicoll.cpp1933 int32_t targetLength) const
1935 return Collator::compare(source, sourceLength, target, targetLength);
1949 int32_t targetLength,
2029 int32_t targetLength,
2033 UnicodeString t(target, targetLength);
2026 compare(const UChar* source, int32_t sourceLength, const UChar* target, int32_t targetLength, UErrorCode& status) const argument
/external/icu4c/test/cintltst/
H A Dccapitst.c983 log_verbose("\n---Testing ucnv_fromUChars() with targetLength = 0\n");
986 log_err("\nFAILURE: ucnv_fromUChars with targetLength 0 is expected to fail and throw U_BUFFER_OVERFLOW_ERROR\n");
1006 log_err("\nFAILURE: ucnv_toUChars(targetLength)->%s instead of U_STRING_NOT_TERMINATED_WARNING\n",
2189 int32_t targetLength; local
2226 targetLength=(int32_t)(target-targetBuffer);
2235 if(targetLength+chunkSize<=sizeof(targetBuffer)) {
2255 } else if(targetLength!=expectTargetLength) {
2257 testName, chunkSize, targetLength, expectTargetLength);
2258 } else if(memcmp(targetBuffer, expectTarget, targetLength)!=0) {

Completed in 365 milliseconds

12