Home
last modified time | relevance | path

Searched refs:localeCompare (Results 1 – 20 of 20) sorted by relevance

/external/v8/test/mjsunit/
Dstring-localecompare.js34 assertTrue("asdf".localeCompare("asdf") == 0);
35 assertTrue("asd".localeCompare("asdf") < 0);
36 assertTrue("asdff".localeCompare("asdf") > 0);
39 assertTrue("asdf".localeCompare("asdq") < 0);
40 assertTrue("asdq".localeCompare("asdf") > 0);
Ddeep-recursion.js49 assertEquals(-1, cmp1.localeCompare(cmp2), "ab");
52 assertTrue(cmp2empty.localeCompare("") > 0, "c");
55 assertTrue("".localeCompare(cmp3empty) < 0), "d";
Dfunction-call.js59 String.prototype.localeCompare,
/external/webkit/Source/WebCore/inspector/front-end/
DCookiesTable.js144 function localeCompare(field, cookie1, cookie2) function
146 return sortDirection * (cookie1[field] + "").localeCompare(cookie2[field] + "")
167 case 0: comparator = localeCompare.bind(this, "name"); break;
168 case 1: comparator = localeCompare.bind(this, "value"); break;
169 case 2: comparator = localeCompare.bind(this, "domain"); break;
170 case 3: comparator = localeCompare.bind(this, "path"); break;
173 case 6: comparator = localeCompare.bind(this, "httpOnly"); break;
174 case 7: comparator = localeCompare.bind(this, "secure"); break;
175 default: localeCompare.bind(this, "name");
DApplicationCacheItemsView.js204 function localeCompare(field, resource1, resource2) function
206 return sortDirection * (resource1[field] + "").localeCompare(resource2[field] + "")
211 case 0: comparator = localeCompare.bind(this, "name"); break;
212 case 1: comparator = localeCompare.bind(this, "type"); break;
214 default: localeCompare.bind(this, "resource"); // FIXME: comparator = ?
DAuditResultView.js37 return (a.title || "").localeCompare(b.title || "");
61 result = (a.value || "").localeCompare(b.value || "");
DResource.js454 this._sortedRequestHeaders.sort(function(a,b) { return a.header.localeCompare(b.header) });
530 this._sortedResponseHeaders.sort(function(a,b) { return a.header.localeCompare(b.header) });
DAuditLauncherView.js101 return aTitle.localeCompare(bTitle);
DResourcesPanel.js1032 result = title1.localeCompare(title2);
DStylesSidebarPane.js1014 return a.name.localeCompare(b.name);
/external/chromium/chrome/browser/resources/net_internals/
Deventsview.js165 var compareResult = source1Text.localeCompare(source2Text);
203 var compareResult = source1Text.localeCompare(source2Text);
/external/chromium-trace/src/tracing/
Dtimeline_model.js228 var tmp = x.name.localeCompare(y.name);
317 var tmp = x.name.localeCompare(y.name);
591 var tmp = x.name.localeCompare(y.name);
/external/webkit/Tools/CSSTestSuiteHarness/harness/
Dharness.js528 return a.id.localeCompare(b.id);
1152 return a.test.localeCompare(b.test);
/external/webkit/Source/JavaScriptCore/runtime/
DStringPrototype.cpp230 static inline int localeCompare(const UString& a, const UString& b) in localeCompare() function
941 return JSValue::encode(jsNumber(localeCompare(s, a0.toString(exec)))); in stringProtoFuncLocaleCompare()
/external/chromium-trace/
Dscript.js32 …turn a.compare(b.parent,d.parent.pid);if(b.name&&d.name){var c=b.name.localeCompare(d.name);return…
34 …id!=d.parent.pid)return a.compare(b.parent,d.parent.pid);var c=b.name.localeCompare(d.name);return…
40 var c=b.name.localeCompare(d.name);return 0==c?b.tid-d.tid:c};var o=[{r:138,g:113,b:152},{r:175,g:1…
/external/webkit/Source/JavaScriptCore/
DChangeLog-2007-10-142255 (KJS::localeCompare):
2285 - special case calling String.localeCompare() with no parameters to return 0.
5899 (localeCompare):
5905 (localeCompare):
5914 support String.localeCompare.
5916 Implement localeCompare.
5920 (localeCompare):
DChangeLog-2011-02-1616897 (JSC::localeCompare):
DChangeLog-2008-08-1019588 * kjs/string_object.cpp: (KJS::localeCompare): Changed to use Collator.
/external/webkit/Source/WebCore/
DChangeLog-2010-05-2451543 (WebInspector.CookieItemsView.prototype._sortData.localeCompare):
DChangeLog-2010-12-066528 (WebInspector.CookiesTable.prototype._sortCookies.localeCompare):
107129 (WebInspector.ApplicationCacheItemsView.prototype._populateDataGrid.localeCompare):