Searched refs:delims (Results 1 - 25 of 42) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DStringTokenizer.cs51 char[] delims = separator.ToCharArray();
56 if (EnumerableExtensions.Contains(delims, str[str.Length - 1]))
63 if (EnumerableExtensions.Contains(delims, str[0]))
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DStringTokenizer.cs52 char[] delims = separator.ToCharArray();
57 if ( delims.Contains( str[str.Length - 1] ) )
64 if ( delims.Contains( str[0] ) )
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DStringTokenizer.java316 boolean contains = delims == null
318 : c < delims.length && delims[c];
488 boolean contains = delims == null
490 : c < delims.length && delims[c];
601 if (delims == null) {
612 if (c < delims.length && delims[c]) {
637 if (delims
676 private boolean[] delims; field in class:StringTokenizer
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DStringTokenizer.java322 boolean contains = delims == null
324 : c < delims.length && delims[c];
499 boolean contains = delims == null
501 : c < delims.length && delims[c];
612 if (delims == null) {
623 if (c < delims.length && delims[c]) {
648 if (delims
687 private boolean[] delims; field in class:StringTokenizer
[all...]
/external/libchrome/base/strings/
H A Dstring_tokenizer.h105 const str& delims) {
106 Init(string.begin(), string.end(), delims);
111 const str& delims) {
112 Init(string_begin, string_end, delims);
158 const str& delims) {
163 delims_ = delims;
104 StringTokenizerT(const str& string, const str& delims) argument
109 StringTokenizerT(const_iterator string_begin, const_iterator string_end, const str& delims) argument
156 Init(const_iterator string_begin, const_iterator string_end, const str& delims) argument
/external/python/cpython2/Lib/
H A Dcsv.py231 delims = {}
244 delims[key] = delims.get(key, 0) + 1
255 if delims:
256 delim = reduce(lambda a, b, delims = delims:
257 (delims[a] > delims[b]) and a or b, delims.keys())
258 skipinitialspace = delims[deli
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_internal.h25 const char *ExtractToken(const char *str, const char *delims, char **result);
26 const char *ExtractInt(const char *str, const char *delims, int *result);
27 const char *ExtractUptr(const char *str, const char *delims, uptr *result);
H A Dsanitizer_symbolizer_libcdep.cc20 const char *ExtractToken(const char *str, const char *delims, char **result) { argument
21 uptr prefix_len = internal_strcspn(str, delims);
30 const char *ExtractInt(const char *str, const char *delims, int *result) { argument
32 const char *ret = ExtractToken(str, delims, &buff);
40 const char *ExtractUptr(const char *str, const char *delims, uptr *result) { argument
42 const char *ret = ExtractToken(str, delims, &buff);
/external/python/cpython3/Lib/
H A Dcsv.py231 delims = {}
245 delims[key] = delims.get(key, 0) + 1
255 if delims:
256 delim = max(delims, key=delims.get)
257 skipinitialspace = delims[delim] == spaces
309 delims = {}
344 while len(delims) == 0 and consistency >= threshold:
349 delims[
[all...]
/external/tensorflow/tensorflow/core/lib/strings/
H A Dstr_util.h129 std::vector<string> Split(StringPiece text, StringPiece delims);
132 std::vector<string> Split(StringPiece text, StringPiece delims, Predicate p);
181 inline std::vector<string> Split(StringPiece text, StringPiece delims) { argument
182 return Split(text, delims, AllowEmpty());
186 std::vector<string> Split(StringPiece text, StringPiece delims, Predicate p) { argument
191 if ((i == text.size()) || (delims.find(text[i]) != StringPiece::npos)) {
208 std::vector<string> Split(StringPiece text, char delims, Predicate p) { argument
209 return Split(text, StringPiece(&delims, 1), p);
/external/curl/projects/
H A Dchecksrc.bat98 for /f "delims=" %%i in ('dir "%SRC_DIR%\src\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\src" -Wtool_hugehelp.c "%%i"
99 for /f "delims=" %%i in ('dir "%SRC_DIR%\src\*.h.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\src" "%%i"
106 for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib" "%%i"
107 for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\*.h.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib" -Wcurl_config.h.cmake -Wcurl_config.h.in -Wcurl_config.h "%%i"
112 for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vauth\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vauth" "%%i"
113 for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vauth\*.h.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vauth" "%%i"
118 for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vtls\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vtls" "%%i"
119 for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vtls\*.h.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vtls" "%%i"
126 for /f "delims=" %%i in ('dir "%SRC_DIR%\tests\libtest\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\tests\libtest" "%%i"
127 for /f "delims
[all...]
H A Dgenerate.bat272 for /f "usebackq delims=" %%i in (`"findstr /n ^^ %2"`) do (
278 for /f "delims=" %%c in ('dir /b ..\src\*.c') do call :element %1 src "%%c" %3
280 for /f "delims=" %%h in ('dir /b ..\src\*.h') do call :element %1 src "%%h" %3
282 for /f "delims=" %%r in ('dir /b ..\src\*.rc') do call :element %1 src "%%r" %3
294 for /f "delims=" %%c in ('dir /b ..\lib\*.c') do call :element %1 lib "%%c" %3
296 for /f "delims=" %%h in ('dir /b ..\include\curl\*.h') do call :element %1 include\curl "%%h" %3
297 for /f "delims=" %%h in ('dir /b ..\lib\*.h') do call :element %1 lib "%%h" %3
299 for /f "delims=" %%r in ('dir /b ..\lib\*.rc') do call :element %1 lib "%%r" %3
301 for /f "delims=" %%c in ('dir /b ..\lib\vauth\*.c') do call :element %1 lib\vauth "%%c" %3
303 for /f "delims
[all...]
/external/libopus/win32/
H A Dgenversion.bat19 for /f "delims== tokens=2" %%v in (%~dps0..\package_version) do set version=%%v
/external/syslinux/com32/lib/pci/
H A Dscan.c71 char delims[]=" "; // colums are separated by spaces local
114 result = strtok(line, delims);
133 result = strtok( NULL, delims );
599 char delims[]="*"; // colums are separated by spaces local
650 result = strtok(line+strlen("alias pci:v"), delims);
690 result = strtok( NULL, delims );
/external/eigen/bench/btl/generic_bench/
H A Dbtl.hh81 std::vector<BtlString> split( const BtlString& delims = "\t\n ") const
89 pos = find_first_of(delims, start);
102 //start = find_first_not_of(delims, start);
/external/libmicrohttpd/src/testspdy/
H A Dtest_notls.c692 const char delims[] = ":/?#"; local
694 if(strchr(delims, uri[i]) != NULL) {
709 const char delims[] = "/?#"; local
713 if(strchr(delims, uri[i]) != NULL) {
H A Dtest_new_connection.c757 const char delims[] = ":/?#"; local
759 if(strchr(delims, uri[i]) != NULL) {
774 const char delims[] = "/?#"; local
778 if(strchr(delims, uri[i]) != NULL) {
H A Dtest_request_response.c745 const char delims[] = ":/?#"; local
747 if(strchr(delims, uri[i]) != NULL) {
762 const char delims[] = "/?#"; local
766 if(strchr(delims, uri[i]) != NULL) {
/external/swiftshader/third_party/LLVM/utils/TableGen/
H A DCodeGenInstruction.cpp254 const std::string delims(",");
257 bidx = CStr.find_first_not_of(delims);
259 eidx = CStr.find_first_of(delims, bidx);
264 bidx = CStr.find_first_not_of(delims, eidx);
/external/vulkan-validation-layers/tests/
H A Dvktestframework.cpp363 const char *delims = " \t\n\r"; local
364 const char *token = strtok(config, delims);
366 const char *valueStr = strtok(0, delims);
561 token = strtok(0, delims);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DStringTokenizerTest.java311 String delims = " \t\n\r\f\ud800\udc00";
313 java.util.StringTokenizer jt = new java.util.StringTokenizer(str, delims, true);
314 android.icu.util.StringTokenizer it = new android.icu.util.StringTokenizer(str, delims, true);
323 it = new android.icu.util.StringTokenizer(sur, delims, true); // no coalesce
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DStringTokenizerTest.java308 String delims = " \t\n\r\f\ud800\udc00";
310 java.util.StringTokenizer jt = new java.util.StringTokenizer(str, delims, true);
311 com.ibm.icu.util.StringTokenizer it = new com.ibm.icu.util.StringTokenizer(str, delims, true);
320 it = new com.ibm.icu.util.StringTokenizer(sur, delims, true); // no coalesce
/external/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp262 const std::string delims(",");
265 bidx = CStr.find_first_not_of(delims);
267 eidx = CStr.find_first_of(delims, bidx);
272 bidx = CStr.find_first_not_of(delims, eidx);
/external/snakeyaml/
H A Dmvnw.bat144 for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
/external/libevent/
H A Devdns.c3530 static const char *const delims = " \t"; local
3531 #define NEXT_TOKEN strtok_r(NULL, delims, &strtok_state)
3534 char *const first_token = strtok_r(start, delims, &strtok_state);
4123 static const char *const delims = " \t"; local
4124 char *const addr = strtok_r(line, delims, &strtok_state);
4130 #define NEXT_TOKEN strtok_r(NULL, delims, &strtok_state)

Completed in 1474 milliseconds

12