Searched refs:chars (Results 1 - 25 of 442) sorted by relevance

1234567891011>>

/external/llvm/lib/Support/
H A Dregcclass.h46 const char *chars; member in struct:cclass
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
H A DDistinguishedNameParser.java37 private char[] chars; field in class:DistinguishedNameParser
49 // skip preceding space chars, they can present after
51 for (; pos < length && chars[pos] == ' '; pos++) {
60 // attribute type chars
62 for (; pos < length && chars[pos] != '=' && chars[pos] != ' '; pos++) {
73 // skip trailing space chars between attribute type and '='
75 if (chars[pos] == ' ') {
76 for (; pos < length && chars[pos] != '=' && chars[po
[all...]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
H A DWriterChain.java34 * write(char[] chars)
35 * write(char[] chars, int start, int count)
36 * write(String chars)
37 * write(String chars, int start, int count)
56 public void write(char[] chars) throws IOException; argument
58 public void write(char[] chars, int start, int count) throws IOException; argument
60 public void write(String chars) throws IOException; argument
62 public void write(String chars, int start, int count) throws IOException; argument
/external/chromium_org/ui/gfx/
H A Dtext_utils.cc18 base::i18n::UTF16CharIterator chars(&s);
22 while (!chars.end()) {
23 int32 c = chars.get();
24 int array_pos = chars.array_pos();
25 chars.Advance();
28 int span = chars.array_pos() - array_pos;
/external/chromium_org/v8/tools/
H A Dshell-utils.h52 byte* chars = new byte[*size + 1]; local
54 int read = static_cast<int>(fread(&chars[i], 1, file_size - i, file));
60 chars[i] = chars[i - file_size];
62 chars[*size] = 0;
64 return chars;
/external/emma/core/java12/com/vladium/util/
H A DWCMatcher.java25 final char [] chars = pattern.toCharArray (); // is this faster than using charAt()?
26 final int charsLength = chars.length;
37 final char ch = chars [c];
44 chars [patternLength ++] = '*';
51 chars [patternLength ++] = ch;
61 else if (chars [0] == '*')
62 return new EndsWithMatcher (chars, patternLength);
63 else if (chars [patternLength - 1] == '*')
64 return new StartsWithMatcher (chars, patternLength);
67 return new PatternMatcher (chars, patternLengt
72 matches(char [] chars) argument
125 matches(final char [] chars) argument
144 matches(final char [] chars) argument
163 matches(final char [] chars) argument
201 matches(final char [] chars) argument
[all...]
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DIndentation.java97 char[] chars = new char[indentation];
98 java.util.Arrays.fill(chars, ' ');
99 return new String(chars);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/
H A DCharCache.java32 char[] chars = str.toCharArray();
34 int toWrite = chars.length < available ? chars.length : available;
35 System.arraycopy(chars, 0, cache, pos, toWrite);
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DTextBoundaries.cpp62 int findNextWordFromIndex(const UChar* chars, int len, int position, bool forward) argument
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) argument
95 TextBreakIterator* it = wordBreakIterator(chars, len);
102 int findWordEndBoundary(const UChar* chars, int len, int position) argument
104 TextBreakIterator* it = wordBreakIterator(chars, len);
/external/clang/test/SemaTemplate/
H A Darray-to-pointer-decay.cpp31 } chars; typedef in typeref:struct:__anon19441
33 chars getChars();
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3string.c55 static pANTLR3_UINT8 set8 (pANTLR3_STRING string, const char * chars);
56 static pANTLR3_UINT8 setUTF16_8 (pANTLR3_STRING string, const char * chars);
57 static pANTLR3_UINT8 setUTF16_UTF16 (pANTLR3_STRING string, const char * chars);
65 static pANTLR3_UINT8 setS (pANTLR3_STRING string, pANTLR3_STRING chars);
243 if (string->chars)
245 ANTLR3_FREE(string->chars);
264 string->chars = NULL;
301 string->chars = NULL;
339 string->chars = NULL;
351 return string->factory->newPtr(string->factory, (pANTLR3_UINT8)(string->chars), strin
873 set8(pANTLR3_STRING string, const char * chars) argument
894 setUTF16_8(pANTLR3_STRING string, const char * chars) argument
919 setUTF16_UTF16(pANTLR3_STRING string, const char * chars) argument
1141 setS(pANTLR3_STRING string, pANTLR3_STRING chars) argument
[all...]
/external/chromium_org/third_party/speex/libspeex/
H A Dbits.c50 bits->chars = (char*)speex_alloc(MAX_CHARS_PER_FRAME);
51 if (!bits->chars)
63 bits->chars = (char*)buff;
73 bits->chars = (char*)buff;
88 speex_free(bits->chars);
95 bits->chars[0]=0;
109 EXPORT void speex_bits_read_from(SpeexBits *bits, char *chars, int len) argument
118 char *tmp = (char*)speex_realloc(bits->chars, nchars);
122 bits->chars=tmp;
139 bits->chars[
156 speex_bits_read_whole_bytes(SpeexBits *bits, char *chars, int nbytes) argument
188 speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes) argument
211 speex_bits_write_whole_bytes(SpeexBits *bits, char *chars, int max_nbytes) argument
309 char *chars; local
[all...]
/external/speex/libspeex/
H A Dbits.c50 bits->chars = (char*)speex_alloc(MAX_CHARS_PER_FRAME);
51 if (!bits->chars)
63 bits->chars = (char*)buff;
73 bits->chars = (char*)buff;
88 speex_free(bits->chars);
95 bits->chars[0]=0;
109 EXPORT void speex_bits_read_from(SpeexBits *bits, char *chars, int len) argument
118 char *tmp = (char*)speex_realloc(bits->chars, nchars);
122 bits->chars=tmp;
139 bits->chars[
156 speex_bits_read_whole_bytes(SpeexBits *bits, char *chars, int nbytes) argument
188 speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes) argument
211 speex_bits_write_whole_bytes(SpeexBits *bits, char *chars, int max_nbytes) argument
309 char *chars; local
[all...]
/external/chromium_org/ui/base/l10n/
H A Dl10n_font_util.cc17 double chars = 0; local
18 base::StringToDouble(l10n_util::GetStringUTF8(col_resource_id), &chars); local
19 int width = font.GetExpectedTextWidth(static_cast<int>(chars));
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DPixelConverter.java48 public int convertHeightInCharsToPixels(int chars) { argument
49 return Dialog.convertHeightInCharsToPixels(fFontMetrics, chars);
69 public int convertWidthInCharsToPixels(int chars) { argument
70 return Dialog.convertWidthInCharsToPixels(fFontMetrics, chars);
/external/chromium_org/base/android/
H A Djni_string.cc35 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/owasp/sanitizer/src/main/org/owasp/html/
H A DStrings.java115 char[] chars = s.toCharArray();
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();
134 chars[i] = UCASE_CHARS[c];
136 c = chars[i];
138 chars[i] = UCASE_CHARS[c];
141 return String.valueOf(chars);
[all...]
/external/chromium_org/third_party/icu/source/extra/scrptrun/
H A Dscrptrun.h38 ScriptRun(const UChar chars[], int32_t length);
40 ScriptRun(const UChar chars[], int32_t start, int32_t length);
46 void reset(const UChar chars[], int32_t start, int32_t length);
105 inline ScriptRun::ScriptRun(const UChar chars[], int32_t length) argument
107 reset(chars, 0, length);
110 inline ScriptRun::ScriptRun(const UChar chars[], int32_t start, int32_t length) argument
112 reset(chars, start, length);
146 inline void ScriptRun::reset(const UChar chars[], int32_t start, int32_t length) argument
148 charArray = chars;
/external/icu/icu4c/source/extra/scrptrun/
H A Dscrptrun.h38 ScriptRun(const UChar chars[], int32_t length);
40 ScriptRun(const UChar chars[], int32_t start, int32_t length);
46 void reset(const UChar chars[], int32_t start, int32_t length);
105 inline ScriptRun::ScriptRun(const UChar chars[], int32_t length) argument
107 reset(chars, 0, length);
110 inline ScriptRun::ScriptRun(const UChar chars[], int32_t start, int32_t length) argument
112 reset(chars, start, length);
146 inline void ScriptRun::reset(const UChar chars[], int32_t start, int32_t length) argument
148 charArray = chars;
/external/chromium_org/third_party/markdown/extensions/
H A Dabbr.py108 chars = list(text)
109 for i in range(len(chars)):
110 chars[i] = r'[%s]' % chars[i]
111 return r'(?P<abbr>\b%s\b)' % (r''.join(chars))
/external/icu/icu4c/source/layout/
H A DGXLayoutEngine.cpp32 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
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*/, argument
62 if (chars == NULL || offset < 0 || count < 0) {
H A DGXLayoutEngine2.cpp29 le_int32 GXLayoutEngine2::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
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*/, argument
58 if (chars == NULL || offset < 0 || count < 0) {
/external/markdown/markdown/extensions/
H A Dabbr.py71 chars = list(text)
72 for i in range(len(chars)):
73 chars[i] = r'[%s]' % chars[i]
74 return r'(?P<abbr>\b%s\b)' % (r''.join(chars))
/external/chromium_org/mojo/public/cpp/bindings/
H A Dstring.h22 String(const char* chars) : is_null_(!chars) { argument
23 if (chars)
24 value_ = chars;
26 String(const char* chars, size_t num_chars) argument
27 : value_(chars, num_chars),
31 String(const char chars[N]) : value_(chars, N-1), is_null_(false) {} argument
48 String& operator=(const char* chars) { argument
49 is_null_ = !chars;
[all...]
/external/chromium_org/third_party/icu/source/test/perf/leperf/
H A Dleperf.cpp19 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;

Completed in 774 milliseconds

1234567891011>>