HomeSort by relevance Sort by last modified time
    Searched refs:chars (Results 126 - 150 of 912) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/icu/icu4c/source/common/
ustrenum.cpp 26 : chars(charsBuffer), charsCapacity(sizeof(charsBuffer)) {
30 if (chars != NULL && chars != charsBuffer) {
31 uprv_free(chars);
51 unistr.extract(0, INT32_MAX, chars, charsCapacity, US_INV);
52 return chars;
87 if(chars!=charsBuffer) {
88 uprv_free(chars);
90 chars=(char *)uprv_malloc(capacity);
91 if(chars==NULL)
    [all...]
uniset_props.cpp 384 RuleCharacterIterator chars(pattern, symbols, pos);
385 applyPattern(chars, symbols, rebuiltPat, USET_IGNORE_SPACE, NULL, status);
387 if (chars.inVariable()) {
388 // syntaxError(chars, "Extra chars in variable value");
430 * @param chars iterator over the pattern characters. Upon return
441 void UnicodeSet::applyPattern(RuleCharacterIterator& chars,
451 // Recognized special forms for chars, sets: c-c s-s s&s
474 while (mode != 2 && !chars.atEnd()) {
488 if (resemblesPropertyPattern(chars, opts))
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldBufferedReaderTest.java 108 char[] chars = new char[256]; local
110 chars[i] = (char) i;
112 chars)), 12);
118 assertTrue("Wrong chars", in.read() == (char) 6
124 in = new BufferedReader(new Support_StringReader(new String(chars)), 12);
130 assertTrue("Wrong chars 2", in.read() == (char) 6
156 char[] chars = new char[256]; local
158 chars[i] = (char) i;
160 chars)), 12);
167 .equals(new String(chars, 1, 14)))
356 char[] chars = new char[1]; local
    [all...]
  /bionic/tests/
wchar_test.cpp 114 const wchar_t chars[] = { L'h', L'e', L'l', L'l', L'o', 0 }; local
120 EXPECT_EQ(5U, wcstombs(NULL, chars, 0));
121 EXPECT_EQ(5U, wcstombs(NULL, chars, 4));
122 EXPECT_EQ(5U, wcstombs(NULL, chars, 256));
123 src = chars;
125 EXPECT_EQ(&chars[0], src);
126 src = chars;
128 EXPECT_EQ(&chars[0], src);
129 src = chars;
131 EXPECT_EQ(&chars[0], src)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
WriterToASCI.java 59 * @param chars Array of characters
67 public void write(char chars[], int start, int length)
75 m_os.write(chars[i]);
  /external/chromium_org/net/cert/
x509_cert_types_mac.cc 125 bool UTF16BigEndianToUTF8(base::char16* chars, size_t length,
128 chars[i] = EndianU16_BtoN(chars[i]);
129 return base::UTF16ToUTF8(chars, length, out_string);
134 bool UTF32BigEndianToUTF8(int32_t* chars, size_t length,
137 chars[i] = EndianS32_BtoN(chars[i]);
139 return base::WideToUTF8(reinterpret_cast<const wchar_t*>(chars),
  /external/chromium_org/third_party/skia/bench/
PathUtilsBench.cpp 20 static void fillRandomBits( int chars, char* bits ){
23 for (int i = 0; i < chars; ++i){
  /external/icu/icu4c/source/layout/
HanLayoutEngine.cpp 54 le_int32 HanOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/,
61 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
LEFontInstance.cpp 33 const LEFontInstance *LEFontInstance::getSubFont(const LEUnicode chars[], le_int32 *offset, le_int32 limit,
40 if (chars == NULL || *offset < 0 || limit < 0 || *offset >= limit || script < 0 || script >= scriptCodeCount) {
49 void LEFontInstance::mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count,
60 LEUnicode16 high = chars[i];
64 LEUnicode16 low = chars[i + 1];
LayoutEngine.cpp 198 le_int32 LayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft,
222 const LEUnicode *inChars = &chars[offset];
245 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, reordered, fakeGlyphStorage);
305 le_int32 LayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft,
312 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
318 le_int32 outCharCount = characterProcessing(chars, offset, count, max, rightToLeft, outChars, glyphStorage, success);
324 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success);
359 void LayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse,
366 if (chars == NULL || offset < 0 || count < 0) {
375 adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success)
    [all...]
  /external/skia/bench/
PathUtilsBench.cpp 20 static void fillRandomBits( int chars, char* bits ){
23 for (int i = 0; i < chars; ++i){
  /external/stlport/test/unit/
equal_test.cpp 92 char chars[] = "aabbccddggghhklllmqqqqssyyzz"; local
94 const unsigned count = sizeof(chars) - 1;
95 pair<char*, char*> range = equal_range((char*)chars, (char*)chars + count, 'q', less<char>());
96 CPPUNIT_ASSERT( (range.first - chars) == 18 );
97 CPPUNIT_ASSERT( (range.second - chars) == 22 );
101 range = equal_range((char*)chars, (char*)chars + count, 'm', less<char>());
  /frameworks/base/core/jni/
android_view_KeyCharacterMap.cpp 146 jchar* chars = static_cast<jchar*>(env->GetPrimitiveArrayCritical(charsArray, NULL)); local
147 if (!chars) {
151 char16_t result = map->getMap()->getMatch(keyCode, chars, size_t(numChars), metaState);
153 env->ReleasePrimitiveArrayCritical(charsArray, chars, JNI_ABORT);
171 jchar* chars = env->GetCharArrayElements(charsArray, NULL); local
172 if (!chars) {
179 if (map->getMap()->getEvents(map->getDeviceId(), chars, size_t(numChars), events)) {
191 env->ReleaseCharArrayElements(charsArray, chars, JNI_ABORT);
  /libcore/luni/src/main/java/java/lang/
StringBuffer.java 250 * @param chars
254 * if {@code chars} is {@code null}.
256 public synchronized StringBuffer append(char[] chars) {
257 append0(chars);
264 * @param chars
273 * length > chars.length}.
275 * if {@code chars} is {@code null}.
277 public synchronized StringBuffer append(char[] chars, int start, int length) {
278 append0(chars, start, length);
567 * @param chars
    [all...]
  /ndk/tests/device/test-gnustl-full/unit/
equal_test.cpp 92 char chars[] = "aabbccddggghhklllmqqqqssyyzz"; local
94 const unsigned count = sizeof(chars) - 1;
95 pair<char*, char*> range = equal_range((char*)chars, (char*)chars + count, 'q', less<char>());
96 CPPUNIT_ASSERT( (range.first - chars) == 18 );
97 CPPUNIT_ASSERT( (range.second - chars) == 22 );
101 range = equal_range((char*)chars, (char*)chars + count, 'm', less<char>());
  /ndk/tests/device/test-stlport/unit/
equal_test.cpp 92 char chars[] = "aabbccddggghhklllmqqqqssyyzz"; local
94 const unsigned count = sizeof(chars) - 1;
95 pair<char*, char*> range = equal_range((char*)chars, (char*)chars + count, 'q', less<char>());
96 CPPUNIT_ASSERT( (range.first - chars) == 18 );
97 CPPUNIT_ASSERT( (range.second - chars) == 22 );
101 range = equal_range((char*)chars, (char*)chars + count, 'm', less<char>());
  /external/emma/core/java12/com/vladium/util/
Descriptors.java 119 final char [] chars = descriptor.toCharArray (); local
124 for (end = chars.length; chars [-- end] != ')'; );
129 start = typeDescriptorToJavaName (chars, start, shortTypeNames, out);
137 typeDescriptorToJavaName (chars, end + 1, shortTypeNames, out);
  /external/jarjar/src/main/com/tonicsystems/jarjar/
Wildcard.java 54 char[] chars = result.toCharArray(); local
56 for (int i = 0, mark = 0, state = 0, len = chars.length; i < len + 1; i++) {
57 char ch = (i == len) ? '@' : chars[i];
60 parts.add(new String(chars, mark, i - mark));
72 int n = Integer.parseInt(new String(chars, mark, i - mark));
  /system/core/toolbox/
readtty.c 12 char *chars; member in struct:__anon81281
32 next = strchr(map[i].chars, current);
35 return map[i].chars[1];
47 next = strchr(map[i].chars+1, current);
50 return map[i].chars[1];
112 ttyarg.c_cc[VMIN] = (timeout > 0 || nonblock) ? 0 : 1; /* minimum of 0 chars */
  /external/harfbuzz_ng/test/api/
test-buffer.c 374 unsigned int bytes, chars, i, j, len; local
389 for (chars = 0; test->codepoints[chars]; chars++)
396 g_assert_cmpint (len, ==, chars);
397 for (j = 0; j < chars; j++)
728 unsigned int u_len, chars, j, len; local
735 for (chars = 0; test->codepoints[chars]; chars++
782 unsigned int u_len, chars, j, len; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
SVGGlyph.cpp 113 static inline bool isCompatibleArabicForm(const SVGGlyph& identifier, const Vector<SVGGlyph::ArabicForm>& chars, unsigned startPosition, unsigned endPosition)
115 if (chars.isEmpty())
118 Vector<SVGGlyph::ArabicForm>::const_iterator realEnd = chars.end();
119 Vector<SVGGlyph::ArabicForm>::const_iterator it = chars.begin() + startPosition;
123 Vector<SVGGlyph::ArabicForm>::const_iterator end = chars.begin() + endPosition;
136 const Vector<SVGGlyph::ArabicForm>& chars, unsigned startPosition, unsigned endPosition)
186 return isCompatibleArabicForm(identifier, chars, startPosition, endPosition);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
PushbackReaderTest.java 120 assertTrue("Failed to read chars", new String(c).equals(pbString
210 assertTrue("Failed to unread chars", new String(c).equals(pbString
221 char chars[] = new char[] { 'h', 'e', 'l', 'l', 'o' }; local
226 reader = new StringReader(new String(chars));
227 reader2 = new StringReader(new String(chars));
230 reader = new FilterReader(new StringReader(new String(chars))) {
232 reader2 = new FilterReader(new StringReader(new String(chars))) {
236 reader = new CharArrayReader(chars);
237 reader2 = new CharArrayReader(chars);
292 assertTrue("Failed to unread chars", new String(c).equals(pbStrin
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
StringUtil.java 132 * @param chars a non-null character sequence containing the set of characters
146 CharSequence string, CharSequence chars, int fromIndex) {
158 for (int i = 0; i < chars.length(); i++) {
159 char c = chars.charAt(i);
673 * in 'chars' (similar to ANSI string.find_last_not_of).
678 * instead for this: {@code CharMatcher.noneOf(chars).lastIndexIn(str)}.
682 public static int lastIndexNotOf(String str, String chars, int fromIndex) {
686 if (chars.indexOf(str.charAt(pos)) < 0) {
695 * Like String.replace() except that it accepts any number of old chars.
765 throw new IllegalArgumentException("string contains non-hex chars");
932 char chars[] = s.toCharArray(); local
1309 char[] chars = s.toCharArray(); local
    [all...]
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
StringUtil.java 133 * @param chars a non-null character sequence containing the set of characters
147 CharSequence string, CharSequence chars, int fromIndex) {
159 for (int i = 0; i < chars.length(); i++) {
160 char c = chars.charAt(i);
674 * in 'chars' (similar to ANSI string.find_last_not_of).
679 * instead for this: {@code CharMatcher.noneOf(chars).lastIndexIn(str)}.
683 public static int lastIndexNotOf(String str, String chars, int fromIndex) {
687 if (chars.indexOf(str.charAt(pos)) < 0) {
696 * Like String.replace() except that it accepts any number of old chars.
766 throw new IllegalArgumentException("string contains non-hex chars");
933 char chars[] = s.toCharArray(); local
1310 char[] chars = s.toCharArray(); local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/processor/
ProcessorCharacters.java 80 char[] chars = new char[nChars]; local
82 m_accumulator.getChars(0, nChars, chars, 0);
83 elem.setChars(chars);

Completed in 1348 milliseconds

1 2 3 4 56 7 8 91011>>