HomeSort by relevance Sort by last modified time
    Searched full:srclength (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /external/icu4c/common/
ustr_wcs.c 71 int32_t srcLength,
93 if(srcLength == -1){
94 srcLength = u_strlen(pSrc);
97 pSrcLimit = pSrc + srcLength;
113 (_BUFFER_CAPACITY_MULTIPLIER * (srcLength)), count,sizeof(char))){
190 nulVal = (nulLen < srcLength) ? 1 : 0;
234 int32_t srcLength,
242 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
251 if(srcLength == -1)
    [all...]
ubidiwrt.c 61 doWriteForward(const UChar *src, int32_t srcLength,
69 int32_t length=srcLength;
72 return srcLength;
77 return srcLength;
84 if(destSize<srcLength) {
86 return srcLength;
89 UTF_NEXT_CHAR(src, i, srcLength, c);
92 } while(i<srcLength);
93 return srcLength;
106 while(--srcLength>0)
    [all...]
uidna.cpp 57 startsWithPrefix(const UChar* src , int32_t srcLength){
60 if(srcLength < ACE_PREFIX_LENGTH){
145 getNextSeparator(UChar *src, int32_t srcLength,
147 if(srcLength == -1){
163 for(i=0;i<srcLength;i++){
170 // if(i==srcLength)
171 *limit = src+srcLength;
194 _internal_toASCII(const UChar* src, int32_t srcLength,
226 if(srcLength == -1){
227 srcLength = u_strlen(src)
    [all...]
ucasemap.c 219 * context [0..srcLength[ into account.
272 int32_t srcLength,
280 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode);
301 while(prev<srcLength) {
309 if(idx==UBRK_DONE || idx>srcLength) {
310 idx=srcLength;
410 const uint8_t *src, int32_t srcLength,
421 while(srcIndex<srcLength) {
423 U8_NEXT(src, srcIndex, srcLength, c);
455 const uint8_t *src, int32_t srcLength,
    [all...]
unorm.cpp 48 int32_t srcLength,
52 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode);
56 unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength,
64 src, srcLength, pErrorCode);
66 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode);
71 unorm_isNormalized(const UChar *src, int32_t srcLength,
75 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode);
79 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength,
87 src, srcLength, pErrorCode);
89 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode)
    [all...]
ustrtrns.c 38 int32_t srcLength,
52 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
69 if(srcLength < 0) {
86 srcLimit = src + srcLength;
138 int32_t srcLength,
142 src, srcLength,
152 int32_t srcLength,
167 if( (src==NULL && srcLength!=0) || srcLength < -1 |
    [all...]
ustrcase.c 119 * context [0..srcLength[ into account.
212 int32_t srcLength,
220 ubrk_setText(csm->iter, src, srcLength, pErrorCode);
223 src, srcLength,
236 while(prev<srcLength) {
244 if(idx==UBRK_DONE || idx>srcLength) {
245 idx=srcLength;
346 const UChar *src, int32_t srcLength,
355 csc.limit=srcLength;
359 src, &csc, 0, srcLength,
    [all...]
unistr_case.cpp 42 int32_t srcLength,
55 srcStart = srcLength = 0;
66 int32_t result=u_strcmpFold(chars, length, srcChars, srcLength,
72 // get the srcLength if necessary
73 if(srcLength < 0) {
74 srcLength = u_strlen(srcChars + srcStart);
76 if(length != srcLength) {
77 return (int8_t)((length - srcLength) >> 24 | 1);
punycode.h 45 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
67 u_strToPunycode(const UChar *src, int32_t srcLength,
78 * @param srcLength Length of puny, or -1 if NUL-terminated
102 u_strFromPunycode(const UChar *src, int32_t srcLength,
ustr_imp.h 112 const UChar *src, int32_t srcLength,
119 const UChar *src, int32_t srcLength,
128 const UChar *src, int32_t srcLength,
141 const UChar *src, int32_t srcLength,
unistr.cpp 344 int32_t srcLength)
349 setTo(that, srcStart, srcLength);
485 int32_t srcLength = src.length();
486 setLength(srcLength);
493 uprv_memcpy(fUnion.fStackBuffer, src.fUnion.fStackBuffer, srcLength * U_SIZEOF_UCHAR);
517 if(allocate(srcLength)) {
518 uprv_memcpy(getArrayStart(), src.getArrayStart(), srcLength * U_SIZEOF_UCHAR);
575 int32_t srcLength) const
587 srcStart = srcLength = 0;
599 // get the srcLength if necessar
    [all...]
unistr_cnv.cpp 85 UnicodeString::UnicodeString(const char *src, int32_t srcLength,
95 } else if(srcLength<-1) {
99 if(srcLength==-1) {
100 srcLength=(int32_t)uprv_strlen(src);
102 if(srcLength>0) {
106 doCodepageCreate(src, srcLength, cnv, errorCode);
110 doCodepageCreate(src, srcLength, cnv, errorCode);
  /external/icu4c/test/cintltst/
nfsprep.c 40 nfs4_prepare( const char* src, int32_t srcLength,
66 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){
73 u_strFromUTF8(b1,b1Capacity,&b1Len,src,srcLength,status);
86 u_strFromUTF8(b1, b1Capacity, &b1Len, src, srcLength, status);
174 getPrefixSuffix(const char *src, int32_t srcLength,
181 while(i<srcLength){
183 if((i+1) == srcLength){
196 *suffixLen = srcLength - i;
206 nfs4_mixed_prepare( const char* src, int32_t srcLength,
224 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0))
    [all...]
nfsprep.h 52 nfs4_prepare(const char* src, int32_t srcLength,
68 nfs4_mixed_prepare( const char* src, int32_t srcLength,
83 nfs4_cis_prepare( const char* src, int32_t srcLength,
98 nfs4_cs_prepare( const char* src, int32_t srcLength,
  /external/icu4c/test/intltest/
idnaref.cpp 47 startsWithPrefix(const UChar* src , int32_t srcLength){
50 if(srcLength < ACE_PREFIX_LENGTH){
129 static int32_t convertToPuny(const UChar* src, int32_t srcLength,
141 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status);
153 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status);
199 static int32_t convertFromPuny( const UChar* src, int32_t srcLength,
206 convertUCharsToASCII(src, b1,srcLength);
211 unsigned char* caseFlags = NULL; //(unsigned char*) uprv_malloc(srcLength * sizeof(unsigned char*));
212 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags);
220 error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags)
    [all...]
nptrans.cpp 139 int32_t NamePrepTransform::map(const UChar* src, int32_t srcLength,
149 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
154 UnicodeString rsource(src,srcLength);
184 int32_t NamePrepTransform::process( const UChar* src, int32_t srcLength,
195 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
208 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
216 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
nptrans.h 72 * @param srcLength Number of characters in the source label
82 int32_t map(const UChar* src, int32_t srcLength,
93 * @param srcLength Number of characters in the source label
103 int32_t process(const UChar* src, int32_t srcLength,
idnaref.h 39 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
62 idnaref_toASCII(const UChar* src, int32_t srcLength,
77 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
100 idnaref_toUnicode(const UChar* src, int32_t srcLength,
120 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
143 idnaref_IDNToASCII( const UChar* src, int32_t srcLength,
159 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
182 idnaref_IDNToUnicode( const UChar* src, int32_t srcLength,
testidna.h 30 (U_EXPORT2 *TestFunc) ( const UChar *src, int32_t srcLength,
79 void debug(const UChar* src, int32_t srcLength, int32_t options);
  /external/webkit/Source/JavaScriptCore/wtf/unicode/glib/
UnicodeGLib.cpp 69 static int convertCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error, UTF8CaseFunction caseFunction)
74 Vector<char> buffer(srcLength * 3);
77 ConversionResult conversionResult = convertUTF16ToUTF8(&utf16Source, utf16Source + srcLength, &utf8Target, utf8Target + buffer.size(), true);
104 int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
106 return convertCase(result, resultLength, src, srcLength, error, g_utf8_casefold);
109 int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
111 return convertCase(result, resultLength, src, srcLength, error, g_utf8_strdown);
114 int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
116 return convertCase(result, resultLength, src, srcLength, error, g_utf8_strup);
UnicodeGLib.h 129 int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error);
131 int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error);
143 int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error);
  /external/icu4c/common/unicode/
unistr.h 303 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>).
308 * @param srcLength the number of characters in <TT>src</TT> to compare
320 int32_t srcLength) const;
324 * <TT>srcLength</TT> characters in <TT>srcChars</TT>.
326 * @param srcLength the number of characters in <TT>srcChars</TT> to compare
335 int32_t srcLength) const;
359 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>).
364 * @param srcLength the number of characters in <TT>srcChars</TT> to compare
376 int32_t srcLength) const;
458 * @param srcLength The number of code units from that string to compare
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/unicode/icu/
UnicodeIcu.h 123 inline int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
126 int realLength = u_strFoldCase(result, resultLength, src, srcLength, U_FOLD_CASE_DEFAULT, &status);
131 inline int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
134 int realLength = u_strToLower(result, resultLength, src, srcLength, "", &status);
149 inline int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
152 int realLength = u_strToUpper(result, resultLength, src, srcLength, "", &status);
  /external/webkit/Source/JavaScriptCore/wtf/unicode/qt4/
UnicodeQt4.h 162 inline int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
164 const UChar *e = src + srcLength;
220 inline int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
222 const UChar *e = src + srcLength;
283 inline int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
287 if (resultLength < srcLength) {
289 return srcLength;
291 for (int i = 0; i < srcLength; ++i)
293 return srcLength;
  /external/openssh/
uuencode.c 37 * Encode binary 'src' of length 'srclength', writing base64-encoded text
43 uuencode(const u_char *src, u_int srclength,
46 return __b64_ntop(src, srclength, target, targsize);

Completed in 381 milliseconds

1 2 3 4