Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 25 of 150) sorted by relevance

123456

/trunk/main/filter/source/t602/
H A Dt602filter.cxx217 void T602ImportFilter::inschr(unsigned char ch) in inschr() argument
223 if(ch==' ') { in inschr()
245 inschrdef(ch); in inschr()
491 void T602ImportFilter::inschrdef(unsigned char ch) in inschrdef() argument
497 if(ch > 127) { in inschrdef()
501 case KOI: ch = koi2lat[ch-128]; break; in inschrdef()
502 case KAM: ch = kam2lat[ch-128]; break; in inschrdef()
503 default : ch = kam2lat[ch-128]; in inschrdef()
507 xch[0] = (rus2UNC[(ch-128)*2] << 8) + rus2UNC[(ch-128)*2+1]; in inschrdef()
509 xch[0] = (lat2UNC[(ch-128)*2] << 8) + lat2UNC[(ch-128)*2+1]; in inschrdef()
[all …]
/trunk/test/testuno/source/api/i18n/
H A DXCollatorTest.java222 for (char ch = 0x0020; ch < 0x007F; ch ++) { in _compareSubstring()
223 chars[0] = ch ; chars[1] = (char) (ch + 1) ; in _compareSubstring()
231 for (char ch = 0x0410; ch < 0x0450; ch ++) { in _compareSubstring()
232 chars[0] = ch ; chars[1] = (char) (ch + 1) ; in _compareSubstring()
240 for (char ch = 0x4E00; ch < 0x4EFD; ch ++) { in _compareSubstring()
241 chars[0] = ch ; chars[1] = (char) (ch + 1) ; in _compareSubstring()
248 for (char ch = 0x4E00; ch < 0x4EFD; ch ++) { in _compareSubstring()
249 chars[0] = ch ; chars[1] = (char) (ch + 1) ; in _compareSubstring()
256 for (char ch = 0x4E00; ch < 0x4EFD; ch ++) { in _compareSubstring()
257 chars[0] = ch ; chars[1] = (char) (ch + 1) ; in _compareSubstring()
[all …]
/trunk/main/i18npool/source/breakiterator/
H A DbreakiteratorImpl.cxx71 #define isZWSP(c) (ch == 0x200B)
75 sal_uInt32 ch=0; in skipSpace() local
80 …while (nPos < len && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, 1)) || isZWSP(ch))) nPos=po… in skipSpace()
82 …while (nPos > 0 && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, -1)) || isZWSP(ch))) nPos=pos; in skipSpace()
86 … while (nPos < len && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, 1)) || isZWSP(ch) || in skipSpace()
87 ! (ch == 0x002E || u_isalnum(ch)))) nPos=pos; in skipSpace()
89 … while (nPos > 0 && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, -1)) || isZWSP(ch) || in skipSpace()
90 ! (ch == 0x002E || u_isalnum(ch)))) nPos=pos; in skipSpace()
94 …while (nPos < len && (u_isUWhiteSpace(ch = Text.iterateCodePoints(&pos, 1)) || isZWSP(ch))) nPos=p… in skipSpace()
96 …while (nPos > 0 && (u_isUWhiteSpace(ch = Text.iterateCodePoints(&pos, -1)) || isZWSP(ch))) nPos=po… in skipSpace()
[all …]
H A Dxdictionary.cxx203 sal_uInt32 ch = rText.iterateCodePoints(&indexUtf16, -1); in seekSegment() local
204 if (u_isWhitespace(ch) || exists(ch)) in seekSegment()
213 sal_uInt32 ch = rText.iterateCodePoints(&indexUtf16, 1); in seekSegment() local
214 if (u_isWhitespace(ch) || exists(ch)) in seekSegment()
325 sal_uInt32 ch = rText.iterateCodePoints(&anyPos, -1); in previousWord() local
327 while (anyPos > 0 && u_isWhitespace(ch)) ch = rText.iterateCodePoints(&anyPos, -1); in previousWord()
338 sal_uInt32 ch = rText.iterateCodePoints(&anyPos, 1); in nextWord() local
339 while (u_isWhitespace(ch)) ch=rText.iterateCodePoints(&anyPos, 1); in nextWord()
363 sal_uInt32 ch = rText.iterateCodePoints(&indexUtf16, 1); in getWordBoundary() local
364 if (u_isWhitespace(ch)) in getWordBoundary()
/trunk/main/i18nutil/source/utility/
H A Dunicode.cxx299 unicode::getUnicodeScriptType( const sal_Unicode ch, ScriptTypeList* typeList, sal_Int16 unknownTyp… in getUnicodeScriptType() argument
307 while (type < UnicodeScript_kScriptCount && ch > UnicodeScriptType[type][UnicodeScriptTypeTo]) { in getUnicodeScriptType()
312 ch >= UnicodeScriptType[typeList[i].from][UnicodeScriptTypeFrom]) ? in getUnicodeScriptType()
317 unicode::isUnicodeScriptType( const sal_Unicode ch, sal_Int16 type) { in isUnicodeScriptType() argument
318 return ch >= UnicodeScriptType[type][UnicodeScriptTypeFrom] && in isUnicodeScriptType()
319 ch <= UnicodeScriptType[type][UnicodeScriptTypeTo]; in isUnicodeScriptType()
333 unicode::getUnicodeType( const sal_Unicode ch ) { in getUnicodeType() argument
337 if (ch == c) return r; in getUnicodeType()
338 else c = ch; in getUnicodeType()
340 sal_Int16 address = UnicodeTypeIndex[ch >> 8]; in getUnicodeType()
[all …]
H A Dcasefolding.cxx47 #define type_i(ch) ((ch) == 0x0069 || (ch) == 0x006a) argument
49 #define cased_letter(ch) (CaseMappingIndex[(ch)>>8] >= 0 && (CaseMappingValue[(CaseMappingIndex[(ch… argument
53 …ne accent_above(ch) (((ch) >= 0x0300 && (ch) <= 0x0314) || ((ch) >= 0x033D && (ch) <= 0x0344) || (… argument
/trunk/main/i18nutil/inc/i18nutil/
H A Dunicode.hxx40 static sal_Int16 SAL_CALL getUnicodeType( const sal_Unicode ch );
41 static sal_Bool SAL_CALL isUnicodeScriptType( const sal_Unicode ch, sal_Int16 type);
42 …static sal_Int16 SAL_CALL getUnicodeScriptType( const sal_Unicode ch, ScriptTypeList *typeList = N…
45 static sal_uInt8 SAL_CALL getUnicodeDirection( const sal_Unicode ch );
46 static sal_Int32 SAL_CALL getCharType( const sal_Unicode ch );
47 static sal_Bool SAL_CALL isUpper( const sal_Unicode ch);
48 static sal_Bool SAL_CALL isLower( const sal_Unicode ch);
49 static sal_Bool SAL_CALL isTitle( const sal_Unicode ch);
50 static sal_Bool SAL_CALL isDigit( const sal_Unicode ch);
51 static sal_Bool SAL_CALL isControl( const sal_Unicode ch);
[all …]
/trunk/extras/l10n/source/vi/
H A Dlocalize.sdf37 …bERR_ALREADY_DIM & ERRCODE_RES_MASK 0 vi Mảng đã được định kích thước. …
41 …D_BASIC_START SbERR_VAR_UNDEFINED & ERRCODE_RES_MASK 0 vi Biến chưa được định nghĩa. …
63 …ART SbERR_ACCESS_DENIED & ERRCODE_RES_MASK 0 vi Truy cập bị từ chối. 20…
64 …g RID_BASIC_START SbERR_NOT_READY & ERRCODE_RES_MASK 0 vi Đĩa chưa sẵn sàng. …
73 …D_BASIC_START SbERR_DDE_WAITINGACK & ERRCODE_RES_MASK 0 vi Đang chờ đáp ứng sự kết nối …
84 …DE_PARTNER_QUIT & ERRCODE_RES_MASK 0 vi Ứng dụng bên ngoài bị chấm dứt. 2…
90 …E_LINK_INV_TOPIC & ERRCODE_RES_MASK 0 vi Không thể đặt chế độ liên kết do chủ để liên k…
96 …ART SbERR_PROP_READONLY & ERRCODE_RES_MASK 0 vi Thuộc tính này chỉ có khả năng đọc. …
97 …ART SbERR_PROP_WRITEONLY & ERRCODE_RES_MASK 0 vi Thuộc tính này chỉ có khả năng ghi. …
111 …T_A_COLL & ERRCODE_RES_MASK 0 vi Đối tượng không phải là danh sách. 202004…
[all …]
/trunk/main/odk/pack/gendocu/
H A Didl_ref_javadoc.patch12 > var ch = url.charAt(i);
13 > if ('a' <= ch && ch <= 'z' ||
14 > 'A' <= ch && ch <= 'Z' ||
15 > ch == '$' ||
16 > ch == '_') {
19 > } else if ('0' <= ch && ch <= '9'
20 > || ch == '-') {
23 > } else if (ch == '/' || ch == '.') {
28 > if (ch == '.')
30 > if (ch == '/' && seenDot)
/trunk/main/sw/source/core/bastyp/
H A Dcalc.cxx837 sal_Unicode ch = aName.GetChar( 0 ); in GetToken() local
838 switch( ch ) in GetToken()
856 case ')': eCurrOper = SwCalcOper(ch); in GetToken()
863 if( '=' == ch ) in GetToken()
930 sal_Unicode ch = aName.GetChar(0); in GetToken() local
933 if ('<' == ch || '>' == ch) in GetToken()
937 SwCalcOper eTmp2 = ('<' == ch) ? CALC_LEQ : CALC_GEQ; in GetToken()
938 eCurrOper = ('<' == ch) ? CALC_LES : CALC_GRE; in GetToken()
968 sal_Unicode ch; in GetToken() local
973 if( 0 == ( ch = NextCh( sCommand, nCommandPos ) ) ) in GetToken()
[all …]
/trunk/main/javaunohelper/com/sun/star/lib/uno/helper/
H A DUnoUrl.java213 private static int hexToInt(int ch) in hexToInt() argument
215 int c = Character.toLowerCase((char) ch); in hexToInt()
223 return isDigit ? ch - '0' : 10 + ((char) c - 'a') & 0xF; in hexToInt()
231 int ch = s.charAt(i); in decodeUTF8() local
233 if (ch == '%') { in decodeUTF8()
236 ch = (hb << 4) | lb; in decodeUTF8()
239 v.add(ch); in decodeUTF8()
336 int ch = identifier.charAt(i); in isValidString() local
339 ('A' <= ch && ch <= 'Z') in isValidString()
340 || ('a' <= ch && ch <= 'z') in isValidString()
[all …]
/trunk/main/basic/source/runtime/
H A Dstep0.cxx1106 char ch = 0; in StepINPUT() local
1111 ch = pIosys->Read(); in StepINPUT()
1112 if( ch != ' ' && ch != '\t' && ch != '\n' ) in StepINPUT()
1118 char sep = ( ch == '"' ) ? ch : 0; in StepINPUT()
1119 if( sep ) ch = pIosys->Read(); in StepINPUT()
1122 if( ch == sep ) in StepINPUT()
1124 ch = pIosys->Read(); in StepINPUT()
1125 if( ch != sep ) in StepINPUT()
1128 else if( !sep && (ch == ',' || ch == '\n') ) in StepINPUT()
1130 s += ch; in StepINPUT()
[all …]
/trunk/main/sal/rtl/source/
H A Dstrimp.c26 sal_Int16 rtl_ImplGetDigit( sal_Unicode ch, sal_Int16 nRadix ) in rtl_ImplGetDigit() argument
29 if ( (ch >= '0') && (ch <= '9') ) in rtl_ImplGetDigit()
30 n = ch-'0'; in rtl_ImplGetDigit()
31 else if ( (ch >= 'a') && (ch <= 'z') ) in rtl_ImplGetDigit()
32 n = ch-'a'+10; in rtl_ImplGetDigit()
33 else if ( (ch >= 'A') && (ch <= 'Z') ) in rtl_ImplGetDigit()
34 n = ch-'A'+10; in rtl_ImplGetDigit()
/trunk/main/bean/java/officebean/src/main/java/com/sun/star/beans/
H A DLocalOfficeConnection.java382 char ch; in parseUnoUrlWithOfficePath() local
386 ch = params.charAt(idx); in parseUnoUrlWithOfficePath()
389 switch(ch) { in parseUnoUrlWithOfficePath()
401 buffer.append(ch); in parseUnoUrlWithOfficePath()
408 switch(ch) { in parseUnoUrlWithOfficePath()
412 state = (ch == ' ')? 2: 3; in parseUnoUrlWithOfficePath()
421 buffer.append(ch); in parseUnoUrlWithOfficePath()
427 switch(ch) { in parseUnoUrlWithOfficePath()
442 switch(ch) { in parseUnoUrlWithOfficePath()
448 buffer.append(ch); in parseUnoUrlWithOfficePath()
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/util/
H A DXMLTools.java401 public void addCharacters(String ch) { in addCharacters() argument
402 chars.put(ch, "") ; in addCharacters()
408 public void addCharactersEnclosed(String ch, String outerTag) { in addCharactersEnclosed() argument
409 chars.put(ch, outerTag) ; in addCharactersEnclosed()
434 public void characters(String ch) { in characters() argument
435 super.characters(ch) ; in characters()
437 if (chars.containsKey(ch)) { in characters()
438 String outerTag = (String) chars.get(ch); in characters()
448 … printError("Required characters '" + ch + "' found, but are not enclosed in tag <" + in characters()
453 chars.remove(ch) ; in characters()
[all …]
/trunk/main/i18npool/source/indexentry/
H A Dindexentrysupplier_asian.cxx62 sal_uInt32 ch = rIndexEntry.iterateCodePoints(&i, 0); in getIndexCharacter() local
73 if (((sal_Int16)(ch >> 8)) <= max_index) { in getIndexCharacter()
74 sal_uInt16 address=idx[0][ch >> 8]; in getIndexCharacter()
76 address=idx[1][address+(ch & 0xFF)]; in getIndexCharacter()
83 return OUString(&idxStr[(ch & 0xFFFFFF00) ? 0 : ch], 1); in getIndexCharacter()
129 sal_uInt32 ch = rIndexEntry.iterateCodePoints(&j, 1); in getPhoneticCandidate() local
130 if (((sal_Int16)(ch>>8)) <= max_index) { in getPhoneticCandidate()
131 sal_uInt16 address = idx[0][ch>>8]; in getPhoneticCandidate()
133 address = idx[1][address + (ch & 0xFF)]; in getPhoneticCandidate()
/trunk/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/
H A DLocalOfficeConnection.java540 char ch; in parseUnoUrlWithOfficePath() local
544 ch = params.charAt(idx); in parseUnoUrlWithOfficePath()
547 switch(ch) { in parseUnoUrlWithOfficePath()
559 buffer.append(ch); in parseUnoUrlWithOfficePath()
566 switch(ch) { in parseUnoUrlWithOfficePath()
570 state = (ch == ' ')? 2: 3; in parseUnoUrlWithOfficePath()
579 buffer.append(ch); in parseUnoUrlWithOfficePath()
585 switch(ch) { in parseUnoUrlWithOfficePath()
600 switch(ch) { in parseUnoUrlWithOfficePath()
606 buffer.append(ch); in parseUnoUrlWithOfficePath()
[all …]
/trunk/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/
H A DTokenEncoder.java192 private int char2int(char ch) { in char2int() argument
193 if(!Character.isLetter(ch)) in char2int()
196 ch = Character.toUpperCase(ch); in char2int()
197 return ch-'A'; in char2int()
237 char ch = parseString.charAt(index); in column() local
241 while(isAlpha(ch)) { in column()
242 columnStr += ch; in column()
244 ch = parseString.charAt(index); in column()
267 char ch = parseString.charAt(index); in row() local
273 rowStr += ch; in row()
[all …]
/trunk/main/connectivity/source/drivers/hsqldb/
H A DHStorageAccess.cxx328 Sequence< sal_Int32 > ch(4); in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_readInt() local
331 ch[i] = aData[i]; in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_readInt()
332 if (ch[i] < 0 ) in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_readInt()
333 ch[i] = 256 + ch[i]; in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_readInt()
336 if ((ch[0] | ch[1] | ch[2] | ch[3]) < 0) in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_readInt()
343 jint nRet = ((ch[0] << 24) + (ch[1] << 16) + (ch[2] << 8) + (ch[3] << 0)); in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_readInt()
/trunk/main/vcl/unx/generic/fontmanager/
H A DparseAFM.cxx272 int ch, idx; in token() local
276 while( is_white_Array[ (ch = stream->getChar()) & 255 ] ) in token()
280 while( ch != -1 && ! is_delimiter_Array[ ch & 255 ] && idx < MAX_NAME-1 ) in token()
282 ident[idx++] = ch; in token()
283 ch = stream->getChar(); in token()
286 if (ch == -1 && idx < 1) return ((char *)NULL); in token()
287 if (idx >= 1 && ch != ':' && ch != -1) stream->ungetChar(); in token()
288 if (idx < 1 ) ident[idx++] = ch; /* single-character token */ in token()
307 int ch, idx; in linetoken() local
309 while ((ch = stream->getChar()) == ' ' || ch == '\t' ) ; in linetoken()
[all …]
/trunk/main/i18npool/source/nativenumber/
H A Dnativenumbersupplier.cxx81 sal_Unicode ch = src[i]; in AsciiToNativeChar() local
82 if (isNumber(ch)) in AsciiToNativeChar()
83 newStr->buffer[i] = NumberChar[number][ ch - NUMBER_ZERO ]; in AsciiToNativeChar()
85 if (i > 0 && isNumber(src[i-1]) && isSeparator(ch)) in AsciiToNativeChar()
86 newStr->buffer[i] = SeparatorChar[number] ? SeparatorChar[number] : ch; in AsciiToNativeChar()
88 … newStr->buffer[i] = isDecimal(ch) ? (DecimalChar[number] ? DecimalChar[number] : ch) : in AsciiToNativeChar()
89 isMinus(ch) ? (MinusChar[number] ? MinusChar[number] : ch) : ch; in AsciiToNativeChar()
92 newStr->buffer[i] = ch; in AsciiToNativeChar()
872 sal_Unicode ch = src[i]; in getHebrewNativeNumberString() local
873 if (isNumber(ch)) { in getHebrewNativeNumberString()
[all …]
/trunk/main/xmerge/source/palmtests/qa/comparator/
H A DPDBUtil.java87 char ch[] = new char[4]; in stringID() local
88 ch[0] = (char) (i >>> 24); in stringID()
89 ch[1] = (char) ((i >> 16) & 0x00ff); in stringID()
90 ch[2] = (char) ((i >> 8) & 0x00ff); in stringID()
91 ch[3] = (char) (i & 0x00ff); in stringID()
93 return new String(ch); in stringID()
/trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/palm/
H A DPdbUtil.java92 char ch[] = new char[4]; in stringID() local
93 ch[0] = (char) (i >>> 24); in stringID()
94 ch[1] = (char) ((i >> 16) & 0x00ff); in stringID()
95 ch[2] = (char) ((i >> 8) & 0x00ff); in stringID()
96 ch[3] = (char) (i & 0x00ff); in stringID()
98 return new String(ch); in stringID()
/trunk/main/svl/source/misc/
H A DPasswordHelper.cxx51 sal_Unicode ch(sPass.GetChar(i)); in GetHashPasswordLittleEndian() local
52 pCharBuffer[2 * i] = static_cast< sal_Char >(ch & 0xFF); in GetHashPasswordLittleEndian()
53 pCharBuffer[2 * i + 1] = static_cast< sal_Char >(ch >> 8); in GetHashPasswordLittleEndian()
68 sal_Unicode ch(sPass.GetChar(i)); in GetHashPasswordBigEndian() local
69 pCharBuffer[2 * i] = static_cast< sal_Char >(ch >> 8); in GetHashPasswordBigEndian()
70 pCharBuffer[2 * i + 1] = static_cast< sal_Char >(ch & 0xFF); in GetHashPasswordBigEndian()
/trunk/main/unotools/source/config/
H A Dconfigpathes.cxx53 sal_Unicode ch = 0; in lcl_resolveCharEntities() local
55 ch = '&'; in lcl_resolveCharEntities()
58 ch = '\''; in lcl_resolveCharEntities()
61 ch = '"'; in lcl_resolveCharEntities()
63 … OSL_ENSURE(ch,"Configuration path contains '&' that is not part of a valid character escape"); in lcl_resolveCharEntities()
64 if (ch) in lcl_resolveCharEntities()
66 aResult.append(aLocalString.copy(nStart,nEscapePos-nStart)).append(ch); in lcl_resolveCharEntities()

123456