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

/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.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 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.cpp71 const UChar *target, int32_t targetLength,
85 bms->targetString = new UnicodeString(target, targetLength);
134 bms_setTargetString(BMS *bms, const UChar *target, int32_t targetLength, UErrorCode *status) argument
145 bms->targetString = new UnicodeString(target, targetLength);
69 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.cpp355 int32_t targetLength)
359 target, targetLength));
365 int32_t targetLength,
369 return ucol_strcoll(ucollator, source, sourceLength, target, targetLength);
362 compare(const UChar* source, int32_t sourceLength, const UChar* target, int32_t targetLength, UErrorCode &status) const argument
H A Ducol.cpp7392 int32_t targetLength; local
7407 targetLength = targetString.length();
7410 targetLength = (tColl->flags&UCOL_ITER_HASLEN)?(int32_t)(tColl->endp-tColl->string):-1;
7427 targetKeyLen = ucol_getSortKey(coll, target, targetLength, targetKeyP, targetKeyLen);
7434 targetKeyLen = ucol_getSortKey(coll, target, targetLength, targetKeyP, targetKeyLen);
7950 const UChar *target, int32_t targetLength,
7955 IInit_collIterate(coll, target, targetLength, &tColl, status);
8432 int32_t targetLength)
8440 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength);
8452 if (source==target && sourceLength==targetLength) {
7948 ucol_strcollRegular(const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength, UErrorCode *status) argument
8428 ucol_strcoll( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8552 ucol_greater( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8564 ucol_greaterOrEqual( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8576 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.cpp1426 UnicodeString::padLeading(int32_t targetLength, argument
1430 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) {
1435 int32_t start = targetLength - oldLength;
1442 setLength(targetLength);
1448 UnicodeString::padTrailing(int32_t targetLength, argument
1452 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) {
1457 int32_t length = targetLength;
1461 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.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
4418 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.cpp1867 size_t targetLength = m_target.length(); local
1868 m_buffer.reserveInitialCapacity(max(targetLength * 8, minimumSearchBufferSize));
1871 if ((m_options & AtWordStarts) && targetLength) {
1873 U16_GET(m_target.characters(), 0, 0, targetLength, targetFirstCharacter);
1897 usearch_setPattern(searcher, m_target.characters(), targetLength, &status);
/external/icu4c/test/intltest/
H A Dapicoll.cpp1882 int32_t targetLength) const
1884 return Collator::compare(source, sourceLength, target, targetLength);
1898 int32_t targetLength,
1978 int32_t targetLength,
1982 UnicodeString t(target, targetLength);
1975 compare(const UChar* source, int32_t sourceLength, const UChar* target, int32_t targetLength, UErrorCode& status) const argument
/external/icu4c/test/cintltst/
H A Dccapitst.c982 log_verbose("\n---Testing ucnv_fromUChars() with targetLength = 0\n");
985 log_err("\nFAILURE: ucnv_fromUChars with targetLength 0 is expected to fail and throw U_BUFFER_OVERFLOW_ERROR\n");
1005 log_err("\nFAILURE: ucnv_toUChars(targetLength)->%s instead of U_STRING_NOT_TERMINATED_WARNING\n",
2185 int32_t targetLength; local
2222 targetLength=(int32_t)(target-targetBuffer);
2231 if(targetLength+chunkSize<=sizeof(targetBuffer)) {
2251 } else if(targetLength!=expectTargetLength) {
2253 testName, chunkSize, targetLength, expectTargetLength);
2254 } else if(memcmp(targetBuffer, expectTarget, targetLength)!=0) {

Completed in 1598 milliseconds