Searched defs:dash (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/chrome/browser/chromeos/
H A Dlocale_change_guard_unittest.cc193 const char* const dash = strchr(locale, '-'); local
195 (dash ? std::string(locale, dash - locale) : std::string(locale));
/external/clang/lib/Basic/
H A DObjCRuntime.cpp44 // Look for the last dash.
45 std::size_t dash = input.rfind('-'); local
48 // version to be omitted, so if we see a dash not followed by a
50 if (dash != StringRef::npos && dash + 1 != input.size() &&
51 (input[dash+1] < '0' || input[dash+1] > '9')) {
52 dash = StringRef::npos;
57 StringRef runtimeName = input.substr(0, dash);
80 if (dash !
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dmbo_getopt.c47 static int dash = 0; /* have already seen the - */ local
57 if (!dash)
96 dash = 1;
100 if (!dash)
102 dash = 1;
109 dash = 0;
127 dash = 0;
148 dash = 0;
175 dash = 0;
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtsdcfmsy.cpp159 UnicodeString dash = UnicodeString("-"); local
160 en.setPatternForCurrencySpacing(UNUM_CURRENCY_INSERT, TRUE, dash);
163 if (dash != enCurrencyInsert) {
/external/icu/icu4c/source/test/intltest/
H A Dtsdcfmsy.cpp159 UnicodeString dash = UnicodeString("-"); local
160 en.setPatternForCurrencySpacing(UNUM_CURRENCY_INSERT, TRUE, dash);
163 if (dash != enCurrencyInsert) {
/external/iptables/extensions/
H A Dlibipt_SAME.c42 char *dash, *arg; local
49 dash = strchr(arg, '-');
51 if (dash)
52 *dash = '\0';
60 if (dash) {
61 ip = xtables_numeric_to_ipaddr(dash+1);
64 dash+1);
67 if (dash)
70 arg, dash+1);
H A Dlibip6t_DNAT.c49 char *arg, *start, *end = NULL, *colon = NULL, *dash, *error; local
92 "Invalid port:port syntax - use dash\n");
94 dash = strchr(colon, '-');
95 if (!dash) {
102 maxport = atoi(dash + 1);
105 "Port `%s' not valid\n", dash+1);
122 dash = strchr(start, '-');
123 if (colon && dash && dash > colon)
124 dash
[all...]
H A Dlibip6t_SNAT.c49 char *arg, *start, *end = NULL, *colon = NULL, *dash, *error; local
92 "Invalid port:port syntax - use dash\n");
94 dash = strchr(colon, '-');
95 if (!dash) {
102 maxport = atoi(dash + 1);
105 "Port `%s' not valid\n", dash+1);
122 dash = strchr(start, '-');
123 if (colon && dash && dash > colon)
124 dash
[all...]
H A Dlibipt_DNAT.c70 char *arg, *colon, *dash, *error; local
96 "Invalid port:port syntax - use dash\n");
98 dash = strchr(colon, '-');
99 if (!dash) {
106 maxport = atoi(dash + 1);
109 "Port `%s' not valid\n", dash+1);
126 dash = strchr(arg, '-');
127 if (colon && dash && dash > colon)
128 dash
[all...]
H A Dlibipt_SNAT.c70 char *arg, *colon, *dash, *error; local
96 "Invalid port:port syntax - use dash\n");
98 dash = strchr(colon, '-');
99 if (!dash) {
106 maxport = atoi(dash + 1);
109 "Port `%s' not valid\n", dash+1);
126 dash = strchr(arg, '-');
127 if (colon && dash && dash > colon)
128 dash
[all...]
H A Dlibxt_iprange.c77 char *dash; local
81 dash = strchr(arg, '-');
82 if (dash == NULL) {
88 *dash = '\0';
89 iprange_parse_spec(arg, dash + 1, range, family, optname);
92 "will never match\n", arg, dash + 1);
/external/pdfium/core/include/fpdfdoc/
H A Dfpdf_ap.h21 CPVT_Dash(FX_INT32 dash, FX_INT32 gap, FX_INT32 phase) : nDash(dash), nGap(gap), nPhase(phase) argument
89 FX_INT32 nStyle, const CPVT_Dash & dash);
/external/libunwind/src/
H A Dos-linux.h209 char perm[16], dash = 0, colon = 0, *cp; local
267 cp = scan_char (cp, &dash);
279 if (dash != '-' || colon != ':')
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DStyleBuilderConverter.cpp585 CSSPrimitiveValue* dash = toCSSPrimitiveValue(dashes->item(i)); local
586 array->append(SVGLength::fromCSSPrimitiveValue(dash));
/external/compiler-rt/lib/msan/
H A Dmsan.cc570 static const u32 dash = '-'; local
572 dash + (dash << 8) + (dash << 16) + (dash << 24);
/external/pdfium/core/src/fpdfdoc/
H A Ddoc_ap.cpp714 FX_INT32 nStyle, const CPVT_Dash & dash)
740 sAppStream << fWidth << " w" << " [" << dash.nDash << " " << dash.nGap << "] " << dash.nPhase << " d\n";
712 GenerateBorderAP(const CPDF_Rect & rect, FX_FLOAT fWidth, const CPVT_Color & color, const CPVT_Color & crLeftTop, const CPVT_Color & crRightBottom, FX_INT32 nStyle, const CPVT_Dash & dash) argument
/external/pdfium/fpdfsdk/include/pdfwindow/
H A DPWL_Wnd.h106 CPWL_Dash(FX_INT32 dash, FX_INT32 gap, FX_INT32 phase) : nDash(dash), nGap(gap), nPhase(phase) argument
/external/chromium_org/third_party/skia/tests/
H A DPathOpsSkpClipTest.cpp1063 const char* dash = strchr(range, '-'); local
1064 if (!dash) {
1065 dash = strchr(range, ',');
1068 int last = dash ? atoi(dash + 1) : first;
/external/chromium_org/ui/native_theme/
H A Dnative_theme_base.cc532 // Draw the checkmark / dash.
541 SkPath dash; local
542 dash.moveTo(skrect.x() + skrect.width() * 0.16,
544 dash.rLineTo(skrect.width() * 0.68, 0);
546 canvas->drawPath(dash, paint);
/external/dnsmasq/src/
H A Doption.c2258 char *dash, *a[3] = { NULL, NULL, NULL }; local
2274 dash = split_chr(a[0], '-');
2284 if (dash &&
2285 ((new->end.s_addr = inet_addr(dash)) == (in_addr_t)-1 ||
/external/fio/
H A Dgraph.c320 static double dash[] = { 1.0, 2.0 }; local
353 cairo_set_dash(cr, dash, 2, 0.66);
376 static double dash[] = { 1.0, 2.0 }; local
415 cairo_set_dash(cr, dash, 2, 0.66);
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasRenderingContext2D.cpp624 static bool lineDashSequenceIsValid(const Vector<float>& dash) argument
626 for (size_t i = 0; i < dash.size(); i++) {
627 if (!std::isfinite(dash[i]) || dash[i] < 0)
633 void CanvasRenderingContext2D::setLineDash(const Vector<float>& dash) argument
635 if (!lineDashSequenceIsValid(dash))
639 modifiableState().m_lineDash = dash;
640 // Spec requires the concatenation of two copies the dash list when the
642 if (dash.size() % 2)
643 modifiableState().m_lineDash.appendVector(dash);
[all...]
/external/chromium_org/third_party/skia/experimental/PdfViewer/src/
H A DSkPdfRenderer.cpp1929 1) [ ] 0 No dash; solid, unbroken lines
1955 "dash array size unssuported, cnt > 256", intervals, pdfContext);
1991 static SkPdfResult skpdfGraphicsStateApplyD(SkPdfContext* pdfContext, SkPdfArray* dash) { argument
1992 if (!dash || dash->isArray()) {
1993 SkPdfReportUnexpectedType(kIgnoreError_SkPdfIssueSeverity, NULL, dash,
1998 if (dash->size() != 2) {
2000 "hash array must have 2 elements", dash, pdfContext);
2004 if (!dash->objAtAIndex(0) || !dash
[all...]
/external/skia/experimental/PdfViewer/src/
H A DSkPdfRenderer.cpp1929 1) [ ] 0 No dash; solid, unbroken lines
1955 "dash array size unssuported, cnt > 256", intervals, pdfContext);
1991 static SkPdfResult skpdfGraphicsStateApplyD(SkPdfContext* pdfContext, SkPdfArray* dash) { argument
1992 if (!dash || dash->isArray()) {
1993 SkPdfReportUnexpectedType(kIgnoreError_SkPdfIssueSeverity, NULL, dash,
1998 if (dash->size() != 2) {
2000 "hash array must have 2 elements", dash, pdfContext);
2004 if (!dash->objAtAIndex(0) || !dash
[all...]
/external/chromium_org/third_party/skia/src/device/xps/
H A DSkXPSDevice.cpp1499 XPS_DASH dash; local
1500 dash.length = 1.0;
1501 dash.gap = 0.0;
1502 HRM(dashes->Append(&dash), "Could not add dashes to shaded path.");
1504 "Could not set dash offset for shaded path.");

Completed in 1368 milliseconds

12