Home
last modified time | relevance | path

Searched refs:dash (Results 1 – 25 of 146) sorted by relevance

123456

/external/clang/lib/Basic/
DObjCRuntime.cpp46 std::size_t dash = input.rfind('-'); in tryParse() local
51 if (dash != StringRef::npos && dash + 1 != input.size() && in tryParse()
52 (input[dash+1] < '0' || input[dash+1] > '9')) { in tryParse()
53 dash = StringRef::npos; in tryParse()
58 StringRef runtimeName = input.substr(0, dash); in tryParse()
83 if (dash != StringRef::npos) { in tryParse()
84 StringRef verString = input.substr(dash + 1); in tryParse()
/external/iptables/extensions/
Dlibip6t_DNAT.c49 char *arg, *start, *end = NULL, *colon = NULL, *dash, *error; in parse_to() local
94 dash = strchr(colon, '-'); in parse_to()
95 if (!dash) { in parse_to()
102 maxport = atoi(dash + 1); in parse_to()
105 "Port `%s' not valid\n", dash+1); in parse_to()
122 dash = strchr(start, '-'); in parse_to()
123 if (colon && dash && dash > colon) in parse_to()
124 dash = NULL; in parse_to()
126 if (dash) in parse_to()
127 *dash = '\0'; in parse_to()
[all …]
Dlibip6t_SNAT.c52 char *arg, *start, *end = NULL, *colon = NULL, *dash, *error; in parse_to() local
97 dash = strchr(colon, '-'); in parse_to()
98 if (!dash) { in parse_to()
105 maxport = atoi(dash + 1); in parse_to()
108 "Port `%s' not valid\n", dash+1); in parse_to()
125 dash = strchr(start, '-'); in parse_to()
126 if (colon && dash && dash > colon) in parse_to()
127 dash = NULL; in parse_to()
129 if (dash) in parse_to()
130 *dash = '\0'; in parse_to()
[all …]
Dlibipt_DNAT.c70 char *arg, *colon, *dash, *error; in parse_to() local
98 dash = strchr(colon, '-'); in parse_to()
99 if (!dash) { in parse_to()
106 maxport = atoi(dash + 1); in parse_to()
109 "Port `%s' not valid\n", dash+1); in parse_to()
126 dash = strchr(arg, '-'); in parse_to()
127 if (colon && dash && dash > colon) in parse_to()
128 dash = NULL; in parse_to()
130 if (dash) in parse_to()
131 *dash = '\0'; in parse_to()
[all …]
Dlibipt_SNAT.c73 char *arg, *colon, *dash, *error; in parse_to() local
101 dash = strchr(colon, '-'); in parse_to()
102 if (!dash) { in parse_to()
109 maxport = atoi(dash + 1); in parse_to()
112 "Port `%s' not valid\n", dash+1); in parse_to()
129 dash = strchr(arg, '-'); in parse_to()
130 if (colon && dash && dash > colon) in parse_to()
131 dash = NULL; in parse_to()
133 if (dash) in parse_to()
134 *dash = '\0'; in parse_to()
[all …]
Dlibxt_iprange.c77 char *dash; in iprange_parse_range() local
81 dash = strchr(arg, '-'); in iprange_parse_range()
82 if (dash == NULL) { in iprange_parse_range()
88 *dash = '\0'; in iprange_parse_range()
89 iprange_parse_spec(arg, dash + 1, range, family, optname); in iprange_parse_range()
92 "will never match\n", arg, dash + 1); in iprange_parse_range()
/external/skia/tests/
DDashPathEffectTest.cpp23 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, count, phase)); in DEF_TEST() local
25 REPORTER_ASSERT(r, dash == nullptr); in DEF_TEST()
33 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, count, 0.0f)); in DEF_TEST() local
76 bool actualResult = dash->asPoints(&results, src, rec, mats[i], &cull); in DEF_TEST()
95 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, 2, 0)); in DEF_TEST() local
99 paint.setPathEffect(dash); in DEF_TEST()
DDrawPathTest.cpp283 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, 2, 0)); in test_infinite_dash() local
288 paint.setPathEffect(dash); in test_infinite_dash()
303 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, 2, 0)); in test_crbug_165432() local
307 paint.setPathEffect(dash); in test_crbug_165432()
311 REPORTER_ASSERT(reporter, !dash->filterPath(&filteredPath, path, &rec, nullptr)); in test_crbug_165432()
DGrShapeTest.cpp958 SkPaint dash; in test_null_dash() local
959 dash.setStyle(SkPaint::kStroke_Style); in test_null_dash()
960 dash.setStrokeWidth(1.f); in test_null_dash()
961 dash.setPathEffect(make_dash()); in test_null_dash()
969 TestCase dashCase(geo, dash, reporter); in test_null_dash()
1394 bool dash) -> int { in test_rrect() argument
1399 dash; in test_rrect()
1408 for (bool dash : {false, true}) { in test_rrect()
1409 sk_sp<SkPathEffect> pe = dash ? dashEffect : nullptr; in test_rrect()
1410 shapes[index(inverted, dir, start, style, dash)] = in test_rrect()
[all …]
/external/toybox/toys/other/
Dfactor.c26 int dash = 0; in factor() local
29 if (*s=='-') dash = *s++; in factor()
40 printf("-%llu:"+!dash, l); in factor()
43 if (dash) printf(" -1"); in factor()
/external/nist-sip/java/gov/nist/javax/sip/header/
DAcceptLanguage.java170 int dash = languageRange.indexOf('-'); in getAcceptLanguage() local
171 if (dash>=0) { in getAcceptLanguage()
172 … return new Locale( languageRange.substring(0,dash), languageRange.substring(dash+1) ); in getAcceptLanguage()
/external/pdfium/core/fpdfdoc/
Dcpvt_dash.h13 CPVT_Dash(int32_t dash, int32_t gap, int32_t phase) in CPVT_Dash()
14 : nDash(dash), nGap(gap), nPhase(phase) {} in CPVT_Dash()
/external/mockito/subprojects/android/src/main/java/org/mockito/android/internal/creation/
DAndroidTempFileLocator.java56 int dash = potential.indexOf("-"); in guessPath() local
57 if (dash != -1) { in guessPath()
58 end = dash; in guessPath()
/external/python/cpython2/Tools/bgen/bgen/
DbgenOutput.py129 def OutHeader(text, dash): argument
133 Output("/* %s %s %s */", dash * (n/2), text, dash * (n - n/2))
/external/icu/icu4c/source/i18n/
Dregexcst.txt327 '-' n set-start-dash
331 # set-start-dash Turn "[--" into a syntax error.
334 set-start-dash:
352 '-' n set-lit-dash
361 '-' n set-set-dash
370 '-' n set-range-dash
409 # set-set-dash
414 set-set-dash:
421 # set-range-dash
426 set-range-dash:
[all …]
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DAppDataDirGuesser.java144 int dash = potential.indexOf("-"); in guessPath() local
145 if (dash != -1) { in guessPath()
146 end = dash; in guessPath()
/external/skia/samplecode/
DSampleDash.cpp72 SkDashPathEffect dash(interval, len, 0); in onDrawContent() local
73 paint.setPathEffect(&dash); in onDrawContent()
/external/valgrind/none/tests/scripts/
DMakefile.am13 shell shell.vgtest shell.stderr.exp shell.stderr.exp-dash \
32 shell_zerolength.stderr.exp-dash
/external/libunwind/src/
Dos-linux.h209 char perm[16], dash = 0, colon = 0, *cp; in maps_next() local
267 cp = scan_char (cp, &dash); in maps_next()
279 if (dash != '-' || colon != ':') in maps_next()
/external/shflags/test_results/1.2.0/
DFreeBSD-9.1.txt6 shells="/bin/sh /bin/bash /bin/dash /bin/ksh /bin/pdksh /bin/zsh"
95 # Running the test suite with /bin/dash
/external/python/cpython2/Lib/plat-riscos/
Driscospath.py60 dash= _allowMOSFSNames and p[:1]=='-'
61 if dash:
72 for c in p[dash:s]:
/external/toybox/toys/posix/
Dgrep.c80 static void outline(char *line, char dash, char *name, long lcount, long bcount,
83 if (name && (toys.optflags&FLAG_H)) printf("%s%c", name, dash);
85 printf("%ld%c", lcount, line ? dash : TT.outdelim);
86 if (bcount && (toys.optflags&FLAG_b)) printf("%ld%c", bcount-1, dash);
/external/compiler-rt/lib/msan/
Dmsan.cc531 static const u32 dash = '-'; in __msan_set_alloca_origin4() local
533 dash + (dash << 8) + (dash << 16) + (dash << 24); in __msan_set_alloca_origin4()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatSymbols.java240 String dash = "-"; in TestSymbols() local
241 en.setPatternForCurrencySpacing(DecimalFormatSymbols.CURRENCY_SPC_INSERT, true, dash); in TestSymbols()
242 … if (dash != en.getPatternForCurrencySpacing(DecimalFormatSymbols.CURRENCY_SPC_INSERT, true)) { in TestSymbols()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatSymbols.java239 String dash = "-"; in TestSymbols() local
240 en.setPatternForCurrencySpacing(DecimalFormatSymbols.CURRENCY_SPC_INSERT, true, dash); in TestSymbols()
241 … if (dash != en.getPatternForCurrencySpacing(DecimalFormatSymbols.CURRENCY_SPC_INSERT, true)) { in TestSymbols()

123456