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

12 3 4 5 6 7 8 91011>>

  /art/runtime/
utf.h 48 size_t CountUtf8Bytes(const uint16_t* chars, size_t char_count);
78 int32_t ComputeUtf16Hash(mirror::CharArray* chars, int32_t offset, size_t char_count)
80 int32_t ComputeUtf16Hash(const uint16_t* chars, size_t char_count);
83 int32_t ComputeUtf8Hash(const char* chars);
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
PixelConverter.java 48 public int convertHeightInCharsToPixels(int chars) {
49 return Dialog.convertHeightInCharsToPixels(fFontMetrics, chars);
69 public int convertWidthInCharsToPixels(int chars) {
70 return Dialog.convertWidthInCharsToPixels(fFontMetrics, chars);
  /external/chromium_org/base/android/
jni_string.cc 35 const jchar* chars = env->GetStringChars(str, NULL); local
36 DCHECK(chars);
37 UTF16ToUTF8(chars, env->GetStringLength(str), result);
38 env->ReleaseStringChars(str, chars);
72 const jchar* chars = env->GetStringChars(str, NULL); local
73 DCHECK(chars);
76 result->assign(chars, env->GetStringLength(str));
77 env->ReleaseStringChars(str, chars);
  /external/chromium_org/third_party/WebKit/Source/platform/text/
TextBoundaries.cpp 62 int findNextWordFromIndex(const UChar* chars, int len, int position, bool forward)
64 TextBreakIterator* it = wordBreakIterator(chars, len);
71 if (position < len && isAlphanumeric(chars[position - 1]))
83 if (position > 0 && isAlphanumeric(chars[position]))
93 void findWordBoundary(const UChar* chars, int len, int position, int* start, int* end)
95 TextBreakIterator* it = wordBreakIterator(chars, len);
  /frameworks/base/core/java/android/net/http/
CharArrayBuffers.java 42 char[] chars = buffer.buffer(); local
43 while (beginIndex < len && HTTP.isWhitespace(chars[beginIndex])) {
49 char a = chars[beginIndex+j];
68 char[] chars = buffer.buffer(); local
71 char current = chars[i];
77 chars[i] = current;
  /external/owasp/sanitizer/src/main/org/owasp/html/
Strings.java 115 char[] chars = s.toCharArray(); local
116 chars[i] = LCASE_CHARS[c];
118 c = chars[i];
120 chars[i] = LCASE_CHARS[c];
123 return String.valueOf(chars);
133 char[] chars = s.toCharArray(); local
134 chars[i] = UCASE_CHARS[c];
136 c = chars[i];
138 chars[i] = UCASE_CHARS[c];
141 return String.valueOf(chars);
    [all...]
  /external/icu/icu4c/source/layout/
GXLayoutEngine.cpp 32 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success)
38 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
43 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success);
55 void GXLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/,
62 if (chars == NULL || offset < 0 || count < 0) {
GXLayoutEngine2.cpp 29 le_int32 GXLayoutEngine2::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success)
35 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
40 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success);
51 void GXLayoutEngine2::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/,
58 if (chars == NULL || offset < 0 || count < 0) {
ThaiLayoutEngine.h 99 * @param chars - the input character context
115 virtual le_int32 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft,
128 * @param chars - the input character context
138 virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success);
ArabicLayoutEngine.h 100 * @param chars - the input character context
116 virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft,
125 * @param chars - the input character context
136 virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success);
138 // static void adjustMarkGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success);
208 * @param chars - the input character context
219 virtual void mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, le_bool mirror,
227 * @param chars - the input character context
236 virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success);
  /external/chromium_org/mojo/public/cpp/bindings/
string.h 24 String(const char* chars) : is_null_(!chars) {
25 if (chars)
26 value_ = chars;
28 String(const char* chars, size_t num_chars)
29 : value_(chars, num_chars),
33 String(const char chars[N]) : value_(chars, N-1), is_null_(false) {}
50 String& operator=(const char* chars) {
51 is_null_ = !chars;
    [all...]
  /external/chromium_org/ui/base/l10n/
l10n_font_util.cc 17 double chars = 0; local
18 base::StringToDouble(l10n_util::GetStringUTF8(col_resource_id), &chars); local
19 int width = font.GetExpectedTextWidth(static_cast<int>(chars));
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
NullReader.java 52 * protected void processChars(char[] chars, int offset, int length) {
54 * chars[i] = ... // set array value here
178 * @param chars The character array to read into
186 public int read(char[] chars) throws IOException {
187 return read(chars, 0, chars.length);
193 * @param chars The character array to read into.
203 public int read(char[] chars, int offset, int length) throws IOException {
216 processChars(chars, offset, returnLength);
289 * @param chars The character arra
    [all...]
  /art/test/407-arrays/src/
Main.java 32 static void $opt$testReads(boolean[] bools, byte[] bytes, char[] chars, short[] shorts,
40 assertEquals(0, chars[0]);
41 assertEquals(0, chars[index]);
56 static void $opt$testWrites(boolean[] bools, byte[] bytes, char[] chars, short[] shorts,
68 chars[0] = 'c';
69 assertEquals('c', chars[0]);
70 chars[index] = 'd';
71 assertEquals('d', chars[index]);
  /external/icu/icu4c/source/test/perf/leperf/
leperf.cpp 19 LEUnicode *chars; member in class:Params
41 LEUnicode *chars = params->chars; local
42 glyphCount = engine->layoutChars(chars, 0, params->charLen, params->charLen, TRUE, 0.0, 0.0, status);
76 p.chars = ArabChars;
80 p.chars = new LEUnicode[257];
82 p.chars[i] = i+1;
84 p.chars[256] = 0;
  /libcore/luni/src/test/java/libcore/java/io/
OldInputStreamReaderTest.java 118 char[] chars = new char[source.length()]; local
119 assertEquals(0, reader.read(chars, 0, 0));
120 assertEquals(0, chars[0]);
121 assertEquals(3, reader.read(chars, 0, 3));
122 assertEquals(5, reader.read(chars, 3, 5));
123 assertEquals(source.length() - 8, reader.read(chars, 8,
124 chars.length - 8));
125 assertTrue(Arrays.equals(chars, source.toCharArray()));
126 assertEquals(-1, reader.read(chars, 0, chars.length))
131 char[] chars = new char[source.length()]; local
265 char[] chars = new char[8192]; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ArrayTest.java 25 private static char[] chars; field in class:ArrayTest
36 chars = new char[] { '\uffff' };
47 try { Array.getBoolean(chars, 0); fail(); } catch (IllegalArgumentException expected) {}
59 try { Array.getByte(chars, 0); fail(); } catch (IllegalArgumentException expected) {}
71 assertEquals(chars[0], Array.getChar(chars, 0));
83 assertEquals((double) chars[0], Array.getDouble(chars, 0));
95 assertEquals((float) chars[0], Array.getFloat(chars, 0))
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_grp.py 65 chars = list(fakename)
66 for i in xrange(len(chars)):
67 if chars[i] == 'z':
68 chars[i] = 'A'
70 elif chars[i] == 'Z':
73 chars[i] = chr(ord(chars[i]) + 1)
82 fakename = ''.join(chars)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_grp.py 65 chars = list(fakename)
66 for i in xrange(len(chars)):
67 if chars[i] == 'z':
68 chars[i] = 'A'
70 elif chars[i] == 'Z':
73 chars[i] = chr(ord(chars[i]) + 1)
82 fakename = ''.join(chars)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
Strings.java 169 char[] chars = string.toCharArray(); local
171 for (int i = 0; i != chars.length; i++)
173 char ch = chars[i];
177 chars[i] = (char)(ch - 'a' + 'A');
183 return new String(chars);
198 char[] chars = string.toCharArray(); local
200 for (int i = 0; i != chars.length; i++)
202 char ch = chars[i];
206 chars[i] = (char)(ch - 'A' + 'a');
212 return new String(chars);
263 char[] chars = new char[bytes.length]; local
    [all...]
  /external/chromium_org/chrome/test/chromedriver/
keycode_text_conversion_win.cc 26 wchar_t chars[5]; local
27 int code = ::ToUnicode(key_code, scan_code, keyboard_state, chars, 4, 0);
29 // control chars. Filter those out.
30 if (code <= 0 || (code == 1 && iswcntrl(chars[0])))
33 base::WideToUTF8(chars, code, text);
  /external/clang/test/CXX/lex/lex.literal/lex.ext/
p12.cpp 11 check<T, str...> chars; // expected-error {{implicit instantiation of undefined template 'check<char, 't', 'e', 's', 't'>'}} expected-error {{implicit instantiation of undefined template 'check<char32_t, 34, 1090, 1077, 1089, 1090, 95, 65536>'}} local
  /libcore/benchmarks/src/benchmarks/
StringIterationBenchmark.java 49 char[] chars = s.toCharArray(); local
50 for (int i = 0, length = chars.length; i < length; ++i) {
51 ch = chars[i];
58 char[] chars = s.toCharArray(); local
  /packages/apps/Email/tests/src/com/android/email/mail/transport/
DiscourseLoggerTest.java 28 private static byte[] b(String chars) {
29 byte[] ret = new byte[chars.length()];
30 for (int i = 0; i < chars.length(); i++) {
31 ret[i] = (byte) chars.charAt(i);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_libc.py 24 chars = create_string_buffer("spam, spam, and spam")
25 lib.my_qsort(chars, len(chars)-1, sizeof(c_char), comparefunc(sort))
26 self.assertEqual(chars.raw, " ,,aaaadmmmnpppsss\x00")

Completed in 815 milliseconds

12 3 4 5 6 7 8 91011>>