Searched defs:sourceLen (Results 1 - 25 of 39) sorted by relevance

12

/external/icu4c/samples/cal/
H A Duprint.c31 int32_t sourceLen; local
40 sourceLen = u_strlen(s);
42 mySourceEnd = mySource + sourceLen;
/external/icu4c/samples/date/
H A Duprint.c32 int32_t sourceLen; local
41 sourceLen = u_strlen(s);
43 mySourceEnd = mySource + sourceLen;
/external/chromium_org/third_party/icu/source/test/perf/strsrchperf/
H A Dstrsrchperf.h56 StringSearchPerfFunction(StrSrchFn func, BoyerMooreSearch *search, const UChar *source, int32_t sourceLen, const UChar *pattern, int32_t patternLen) { argument
59 srcLen = sourceLen;
65 StringSearchPerfFunction(StrSrchFn func, UStringSearch* search, const UChar* source,int32_t sourceLen, const UChar* pattern, int32_t patternLen) { argument
68 srcLen = sourceLen;
101 void ICUForwardSearch(BoyerMooreSearch *bms, const UChar *source, int32_t sourceLen, const UChar *pattern, int32_t patternLen, UErrorCode * /*status*/) { argument
109 void ICUBackwardSearch(BoyerMooreSearch *bms, const UChar *source, int32_t sourceLen, const UChar *pattern, int32_t patternLen, UErrorCode * /*status*/) { argument
118 void ICUForwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) { argument
127 void ICUBackwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) { argument
/external/icu4c/test/perf/strsrchperf/
H A Dstrsrchperf.h34 StringSearchPerfFunction(StrSrchFn func, UStringSearch* search, const UChar* source,int32_t sourceLen, const UChar* pattern, int32_t patternLen) { argument
37 srcLen = sourceLen;
61 void ICUForwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) { argument
70 void ICUBackwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) { argument
/external/skia/tools/skpdiff/
H A DSkCLImageDiffer.cpp62 size_t sourceLen = strlen(source); local
63 cl_program program = clCreateProgramWithSource(fContext, 1, &source, &sourceLen, NULL);
/external/icu4c/extra/uconv/
H A Duwmsg.c36 int32_t sourceLen,
52 mySourceEnd = mySource + sourceLen;
35 uprint(const UChar *s, int32_t sourceLen, FILE *f, UErrorCode *status) argument
/external/chromium_org/third_party/icu/source/test/perf/convperf/
H A Dconvperf.h33 ICUToUnicodePerfFunction(const char* name, const char* source, int32_t sourceLen, UErrorCode& status){ argument
36 srcLen = sourceLen;
79 ICUFromUnicodePerfFunction(const char* name, const UChar* source, int32_t sourceLen, UErrorCode& status){ argument
82 srcLen = sourceLen;
280 WinIMultiLanguageToUnicodePerfFunction(const char* name,char* source, UINT sourceLen, UErrorCode& status){ argument
310 srcLen = sourceLen;
336 WinIMultiLanguageFromUnicodePerfFunction(const char* name,WCHAR* source, UINT sourceLen, UErrorCode& status){ argument
366 srcLen = sourceLen;
392 WinIMultiLanguage2ToUnicodePerfFunction(const char* name,char* source, UINT sourceLen, UErrorCode& status){ argument
406 srcLen = sourceLen;
446 WinIMultiLanguage2FromUnicodePerfFunction(const char* name,WCHAR* source, UINT sourceLen, UErrorCode& status) argument
[all...]
/external/chromium_org/third_party/icu/source/test/perf/normperf/
H A Dnormperf.h87 QuickCheckPerfFunction(QuickCheckFn func, const UChar* source,int32_t sourceLen, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { argument
94 srcLen = sourceLen;
157 NormPerfFunction(NormFn func, int32_t opts, const UChar* source,int32_t sourceLen,UBool _uselen) : options(opts) { argument
162 destLen = sourceLen*3;
165 srcLen = sourceLen;
/external/icu4c/test/perf/convperf/
H A Dconvperf.h33 ICUToUnicodePerfFunction(const char* name, const char* source, int32_t sourceLen, UErrorCode& status){ argument
36 srcLen = sourceLen;
79 ICUFromUnicodePerfFunction(const char* name, const UChar* source, int32_t sourceLen, UErrorCode& status){ argument
82 srcLen = sourceLen;
280 WinIMultiLanguageToUnicodePerfFunction(const char* name,char* source, UINT sourceLen, UErrorCode& status){ argument
310 srcLen = sourceLen;
336 WinIMultiLanguageFromUnicodePerfFunction(const char* name,WCHAR* source, UINT sourceLen, UErrorCode& status){ argument
366 srcLen = sourceLen;
392 WinIMultiLanguage2ToUnicodePerfFunction(const char* name,char* source, UINT sourceLen, UErrorCode& status){ argument
406 srcLen = sourceLen;
446 WinIMultiLanguage2FromUnicodePerfFunction(const char* name,WCHAR* source, UINT sourceLen, UErrorCode& status) argument
[all...]
/external/icu4c/test/perf/normperf/
H A Dnormperf.h87 QuickCheckPerfFunction(QuickCheckFn func, const UChar* source,int32_t sourceLen, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { argument
94 srcLen = sourceLen;
157 NormPerfFunction(NormFn func, int32_t opts, const UChar* source,int32_t sourceLen,UBool _uselen) : options(opts) { argument
162 destLen = sourceLen*3;
165 srcLen = sourceLen;
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/
H A Dgoobsdiff.c207 const Bytef *source, uLong sourceLen, int level)
213 stream.avail_in = (uInt)sourceLen;
206 compress2gzip(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level) argument
/external/chromium_org/third_party/icu/source/i18n/
H A Dtblcoll.cpp451 int32_t sourceLen,
460 if ((!source) || (sourceLen == 0)) {
466 source, sourceLen,
450 getCollationKey(const UChar* source, int32_t sourceLen, CollationKey& sortkey, UErrorCode& status) const argument
H A Ducol_bld.cpp550 uint32_t u_toLargeKana(const UChar *source, const uint32_t sourceLen, UChar *resBuf, const uint32_t resLen, UErrorCode *status) { argument
558 if(sourceLen > resLen) {
563 for(i = 0; i < sourceLen; i++) {
581 return sourceLen;
585 uint32_t u_toSmallKana(const UChar *source, const uint32_t sourceLen, UChar *resBuf, const uint32_t resLen, UErrorCode *status) { argument
593 if(sourceLen > resLen) {
598 for(i = 0; i < sourceLen; i++) {
616 return sourceLen;
/external/icu4c/i18n/
H A Dtblcoll.cpp411 int32_t sourceLen,
418 if (sourceLen < -1 || (source == NULL && sourceLen != 0)) {
423 if (sourceLen < 0) {
424 sourceLen = u_strlen(source);
426 if (sourceLen == 0) {
430 int32_t resultLen = ucol_getCollationKey(ucollator, source, sourceLen, sortkey, status);
410 getCollationKey(const UChar* source, int32_t sourceLen, CollationKey& sortkey, UErrorCode& status) const argument
H A Ducol_bld.cpp551 uint32_t u_toLargeKana(const UChar *source, const uint32_t sourceLen, UChar *resBuf, const uint32_t resLen, UErrorCode *status) { argument
559 if(sourceLen > resLen) {
564 for(i = 0; i < sourceLen; i++) {
582 return sourceLen;
586 uint32_t u_toSmallKana(const UChar *source, const uint32_t sourceLen, UChar *resBuf, const uint32_t resLen, UErrorCode *status) { argument
594 if(sourceLen > resLen) {
599 for(i = 0; i < sourceLen; i++) {
617 return sourceLen;
/external/icu4c/tools/genrb/
H A Dwrtjava.c103 uCharsToChars( char* target,int32_t targetLen, UChar* source, int32_t sourceLen,UErrorCode* status){ argument
106 while(i<sourceLen){
135 if(i+1<sourceLen){
203 strrch(const char* source,uint32_t sourceLen,char find){ argument
204 const char* tSourceEnd =source + (sourceLen-1);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dncnvfbts.c129 static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument
183 realSourceEnd = source + sourceLen;
226 sourceLen, targ-junkout);
H A Dncnvtst.c42 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen,
44 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen,
47 static UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen,
989 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument
1018 sourceLimit=(UChar*)src+(sourceLen);
1037 sourceLen, targ-buffer);
1078 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, argument
1111 sourceLimit=(uint8_t*)(src+(sourceLen));
1133 sourceLen, targ-buffer);
1175 static UBool testConvertFromU( const UChar *source, int sourceLen, cons argument
[all...]
/external/chromium_org/third_party/icu/source/test/perf/ustrperf/
H A Dstringperf.h179 StringPerfFunction(ICUStringPerfFn func, UChar* source, int32_t sourceLen, UBool uselen) argument
188 src_ = new UChar[sourceLen];
189 memcpy(src_, source, sourceLen * U_SIZEOF_UCHAR);
190 srcLen_ = sourceLen;
201 StringPerfFunction(StdStringPerfFn func, UChar* source, int32_t sourceLen, UBool uselen) argument
210 src_ = new UChar[sourceLen];
211 memcpy(src_, source, sourceLen * U_SIZEOF_UCHAR);
212 srcLen_ = sourceLen;
/external/chromium_org/third_party/icu/source/tools/genrb/
H A Dwrtjava.c104 uCharsToChars( char* target,int32_t targetLen, UChar* source, int32_t sourceLen,UErrorCode* status){ argument
107 while(i<sourceLen){
136 if(i+1<sourceLen){
204 strrch(const char* source,uint32_t sourceLen,char find){ argument
205 const char* tSourceEnd =source + (sourceLen-1);
/external/icu4c/test/cintltst/
H A Dncnvfbts.c129 static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument
183 realSourceEnd = source + sourceLen;
226 sourceLen, targ-junkout);
H A Dncnvtst.c42 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen,
44 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen,
47 static UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen,
1007 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, argument
1036 sourceLimit=(UChar*)src+(sourceLen);
1055 sourceLen, targ-buffer);
1096 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, argument
1129 sourceLimit=(uint8_t*)(src+(sourceLen));
1151 sourceLen, targ-buffer);
1193 static UBool testConvertFromU( const UChar *source, int sourceLen, cons argument
[all...]
H A Dusrchtst.c2819 static void TestPCEBuffer_with(const UChar *search, uint32_t searchLen, const UChar *source, uint32_t sourceLen) { argument
2852 sourceLen,
2863 sourceLen,
2902 uint32_t sourceLen = sizeof(source)/sizeof(UChar); local
2903 TestPCEBuffer_with(search,searchLen,source,sourceLen);
2913 uint32_t sourceLen = sizeof(source)/sizeof(UChar); local
2914 TestPCEBuffer_with(search,searchLen,source,sourceLen);
2922 int32_t sourceLen; local
2933 sourceLen = sizeof(source)/sizeof(UChar);
2953 sourceLen,
[all...]
/external/icu4c/test/perf/ustrperf/
H A Dstringperf.h181 StringPerfFunction(ICUStringPerfFn func, UChar* source, int32_t sourceLen, UBool uselen) argument
190 src_ = new UChar[sourceLen];
191 memcpy(src_, source, sourceLen * U_SIZEOF_UCHAR);
192 srcLen_ = sourceLen;
203 StringPerfFunction(StdStringPerfFn func, UChar* source, int32_t sourceLen, UBool uselen) argument
212 src_ = new UChar[sourceLen];
213 memcpy(src_, source, sourceLen * U_SIZEOF_UCHAR);
214 srcLen_ = sourceLen;
/external/bzip2/
H A Dbzlib.c1251 unsigned int sourceLen,
1276 strm.avail_in = sourceLen;
1303 unsigned int sourceLen,
1324 strm.avail_in = sourceLen;
1247 BZ2_bzBuffToBuffCompress( char* dest, unsigned int* destLen, char* source, unsigned int sourceLen, int blockSize100k, int verbosity, int workFactor ) argument
1299 BZ2_bzBuffToBuffDecompress( char* dest, unsigned int* destLen, char* source, unsigned int sourceLen, int small, int verbosity ) argument

Completed in 615 milliseconds

12