Searched refs:chars (Results 1 – 25 of 26) sorted by relevance
12
147 CharSequence string, CharSequence chars, int fromIndex) { in indexOfChars() argument159 for (int i = 0; i < chars.length(); i++) { in indexOfChars()160 char c = chars.charAt(i); in indexOfChars()683 public static int lastIndexNotOf(String str, String chars, int fromIndex) { in lastIndexNotOf() argument687 if (chars.indexOf(str.charAt(pos)) < 0) { in lastIndexNotOf()933 char chars[] = s.toCharArray(); in unescapeMySQLString() local936 if (chars.length < 2 || chars[0] != chars[chars.length - 1] || in unescapeMySQLString()937 (chars[0] != '\'' && chars[0] != '"')) { in unescapeMySQLString()945 for (int i = 1; i < chars.length - 1; i++) { in unescapeMySQLString()947 if (chars[i] == '\\') { in unescapeMySQLString()[all …]
458 final char[] chars = sequence.toString().toCharArray();459 Arrays.sort(chars); // not worth collapsing duplicates463 return Arrays.binarySearch(chars, c) >= 0;466 for (char c : chars) {848 char[] chars = string.toCharArray();856 if (pos == chars.length) {859 if (matches(chars[pos])) {862 chars[pos - spread] = chars[pos];867 return new String(chars, 0, pos - spread);906 char[] chars = string.toCharArray();[all …]
349 private void outputChars(char[] chars) throws IOException { in escape() argument350 for (int n = 0; n < chars.length; n++) { in escape()351 out.append(chars[n]); in escape()
186 public int read(char[] chars) throws IOException { in read() argument187 return read(chars, 0, chars.length); in read()203 public int read(char[] chars, int offset, int length) throws IOException { in read() argument216 processChars(chars, offset, returnLength); in read()293 protected void processChars(char[] chars, int offset, int length) { in processChars() argument
102 final char[] chars = seq.toCharArray(); in tokenize() local107 while (pos < len && (chars[pos] == ' ' || chars[pos] == '\t')) { in tokenize()111 while (pos < len && !(chars[pos] == ' ' || chars[pos] == '\t')) { in tokenize()116 tokens[tokenCount++] = new Token(chars, start, end); in tokenize()
28 private static byte[] b(String chars) { in b() argument29 byte[] ret = new byte[chars.length()]; in b()30 for (int i = 0; i < chars.length(); i++) { in b()31 ret[i] = (byte) chars.charAt(i); in b()
73 int chars; in readTemplate() local75 while ((chars=in.read(buf)) > 0) { in readTemplate()76 out.append(buf, 0, chars); in readTemplate()
258 final int chars = (TextUtils.isEmpty(format) ? 0 : format.length());259 dos.writeInt(chars);260 if (chars > 0) {294 final int chars = dis.readInt();295 if (chars > 0) {
197 String chars = keyToChars[keyIndex]; in getCharToKeyMap() local199 for (int j = 0; j < chars.length(); j++) { in getCharToKeyMap()200 char c = chars.charAt(j); in getCharToKeyMap()
161 char[] chars = new char[BUFFER_SIZE]; in getResponseFrom() local163 while ((bytes = reader.read(chars)) != -1) { in getResponseFrom()164 string.append(chars, 0, bytes); in getResponseFrom()
339 char[] chars = new char[length * 2]; in bytesToString() local343 chars[j * 2] = hexChars[byteValue >>> 4]; in bytesToString()344 chars[j * 2 + 1] = hexChars[byteValue & 0x0F]; in bytesToString()346 return new String(chars); in bytesToString()
535 char[] chars = new char[length * 2]; in bytesToString() local539 chars[j * 2] = hexChars[byteValue >>> 4]; in bytesToString()540 chars[j * 2 + 1] = hexChars[byteValue & 0x0F]; in bytesToString()542 return new String(chars); in bytesToString()
167 char[] chars = rest.toCharArray(); in getHeaderParams() local181 for (int i = 0; i < chars.length; i++) { in getHeaderParams()182 char c = chars[i]; in getHeaderParams()
102 public PtNode(final int[] chars, final ArrayList<WeightedString> bigrams, in PtNode() argument105 mChars = chars; in PtNode()114 public PtNode(final int[] chars, final ArrayList<WeightedString> bigrams, in PtNode() argument117 mChars = chars; in PtNode()
161 static int getCharArraySize(final int[] chars, in getCharArraySize() argument164 for (int character : chars) size += getCharSize(character, codePointToOneByteCodeMap); in getCharArraySize()
279 char[] chars = allowedSymbols.toCharArray(); in generateRandomString() local281 sb.append(chars[r.nextInt(chars.length)]); in generateRandomString()
467 cells[col].chars[0] = 0; in onPopline()503 cell->chars[0] = ' '; in getCellLocked()619 uint32_t rawCell = cell.chars[0]; in com_android_terminal_Terminal_nativeGetCellRun()
123 CharSequence chars = view.getText(); in isPortFieldValid() local124 if (TextUtils.isEmpty(chars)) return false; in isPortFieldValid()129 port = Integer.parseInt(chars.toString()); in isPortFieldValid()
28 string.chars().forEach(arrayList::add); in stringsToIntArray()
1294 public void onPostDialCharWait(String callId, String chars) { in onPostDialCharWait() argument1303 inCallActivity.showDialogForPostCharWait(callId, chars); in onPostDialCharWait()1309 intent.putExtra(PostCharDialogActivity.EXTRA_POST_DIAL_STRING, chars); in onPostDialCharWait()
971 public void showDialogForPostCharWait(String callId, String chars) { in showDialogForPostCharWait() argument972 PostCharDialogFragment fragment = new PostCharDialogFragment(callId, chars); in showDialogForPostCharWait()
2604 List<BluetoothGattCharacteristic> chars = svc.getCharacteristics(); in onServiceAdded() local2605 chars.get(chars.size() - 1) in onServiceAdded()
1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...