/external/chromium_org/mojo/examples/sample_app/ |
DEPS | 3 "+ui/gfx", # TODO(beng): trim the size of this dep.
|
/external/chromium_org/v8/test/webkit/ |
string-trim-expected.txt | 24 This test checks String.trim(), String.trimLeft() and String.trimRight() methods. 29 PASS whitespace[0].s.trim() is '' 32 PASS whitespace[1].s.trim() is '' 35 PASS whitespace[2].s.trim() is '' 38 PASS whitespace[3].s.trim() is '' 41 PASS whitespace[4].s.trim() is '' 44 PASS whitespace[5].s.trim() is '' 47 PASS whitespace[6].s.trim() is '' 50 PASS whitespace[7].s.trim() is '' 53 PASS whitespace[8].s.trim() is ' [all...] |
string-trim.js | 24 description("This test checks String.trim(), String.trimLeft() and String.trimRight() methods."); 26 //references to trim(), trimLeft() and trimRight() functions for testing Function's *.call() and *.apply() methods 27 var trim = String.prototype.trim; variable 63 shouldBe("whitespace["+i+"].s.trim()", "''"); 73 shouldBe("wsString.trim()", "''"); 77 shouldBe("trimString.trim()", "testString"); 81 shouldBe("leftTrimString.trim()", "testString"); 85 shouldBe("rightTrimString.trim()", "testString"); 91 shouldBe("trim.call("+testValues[i]+")", "'"+eval(testValues[i])+"'") [all...] |
/dalvik/vm/mterp/armv5te/ |
stub.S | 7 GET_INST_OPCODE(ip) @ ...trim down to just the opcode
|
/dalvik/vm/mterp/mips/ |
stub.S | 9 GET_INST_OPCODE(t0) # ...trim down to just the opcode
|
/external/chromium_org/media/mp4/ |
offset_byte_queue_unittest.cc | 60 TEST_F(OffsetByteQueueTest, Trim) { 61 EXPECT_TRUE(queue_->Trim(128)); 62 EXPECT_TRUE(queue_->Trim(384)); 66 EXPECT_TRUE(queue_->Trim(400)); 78 EXPECT_TRUE(queue_->Trim(512)); 85 EXPECT_FALSE(queue_->Trim(513)); 89 EXPECT_TRUE(queue_->Trim(512));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
SrtParser.java | 37 while (!((s = r.readLine()) == null || s.trim().equals(""))) { 51 long hours = Long.parseLong(in.split(":")[0].trim()); 52 long minutes = Long.parseLong(in.split(":")[1].trim()); 53 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); 54 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim());
|
/external/chromium_org/tools/android/ |
mempressure.py | 43 '--trim', 62 if options.low and options.trim: 63 option_parser.error('options --low and --trim are mutually exclusive') 65 if not options.low and not options.trim: 72 elif options.trim in ACTION_TRIM.keys(): 73 action = ACTION_TRIM[options.trim]
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
font_data_test.cc | 255 fprintf(stderr, "read - trim = "); 256 for (int32_t trim = 0; trim < (rfd->Length() / 2) + 1; 257 trim += (rfd->Length() / 21) + 1) { 258 fprintf(stderr, "%d ", trim); 259 int32_t length = rfd->Length() - 2 * trim; 261 slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); 262 EXPECT_TRUE(ReadComparison(trim, length, rfd, slice)); 268 fprintf(stderr, "write - trim = "); 269 for (int32_t trim = 0; trim < (rfd->Length() / 2) + 1 [all...] |
/external/sfntly/cpp/src/test/ |
font_data_test.cc | 255 fprintf(stderr, "read - trim = "); 256 for (int32_t trim = 0; trim < (rfd->Length() / 2) + 1; 257 trim += (rfd->Length() / 21) + 1) { 258 fprintf(stderr, "%d ", trim); 259 int32_t length = rfd->Length() - 2 * trim; 261 slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); 262 EXPECT_TRUE(ReadComparison(trim, length, rfd, slice)); 268 fprintf(stderr, "write - trim = "); 269 for (int32_t trim = 0; trim < (rfd->Length() / 2) + 1 [all...] |
/external/doclava/ |
build.gradle | 21 return os.toString().trim()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/cla/ |
id_policy.ipp | 51 tr.trim( p_prefix->size() ); 63 tr.trim( p_name->size() ); 76 tr.trim( 1 ); 87 tr.trim( p_separator->size() );
|
/external/chromium_org/v8/test/mjsunit/third_party/ |
string-trim.js | 32 // Based on LayoutTests/fast/js/script-tests/string-trim.js 34 // References to trim(), trimLeft() and trimRight() functions for 37 var trim = String.prototype.trim; variable 73 assertEquals(whitespace[i].s.trim(), ''); 83 assertEquals(wsString.trim(), ''); 87 assertEquals(trimString.trim(), testString); 91 assertEquals(leftTrimString.trim(), testString); 95 assertEquals(rightTrimString.trim(), testString); 104 assertEquals(trim.call(testValues[i]), String(testValues[i])) [all...] |
/external/v8/test/mjsunit/third_party/ |
string-trim.js | 32 // Based on LayoutTests/fast/js/script-tests/string-trim.js 34 // References to trim(), trimLeft() and trimRight() functions for 37 var trim = String.prototype.trim; variable 73 assertEquals(whitespace[i].s.trim(), ''); 83 assertEquals(wsString.trim(), ''); 87 assertEquals(trimString.trim(), testString); 91 assertEquals(leftTrimString.trim(), testString); 95 assertEquals(rightTrimString.trim(), testString); 104 assertEquals(trim.call(testValues[i]), String(testValues[i])) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
BodyDescriptor.java | 73 name = name.trim().toLowerCase();
78 value = value.trim().toLowerCase();
86 value = value.trim();
104 main = main.toLowerCase().trim();
108 String type = main.substring(0, index).trim();
109 String subtype = main.substring(index + 1).trim();
135 c = c.trim();
244 paramName.toString().trim().toLowerCase(),
245 paramValue.toString().trim());
278 // don't trim quoted strings; the spaces could be intentional. [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
textfile.h | 43 * '#'. Trim leading white space. 44 * @param trim if TRUE then remove leading rule white space 49 UBool trim = FALSE);
|
/external/icu4c/test/intltest/ |
textfile.h | 43 * '#'. Trim leading white space. 44 * @param trim if TRUE then remove leading Pattern_White_Space 49 UBool trim = FALSE);
|
/external/valgrind/main/VEX/orig_amd64/ |
Compare.hs | 40 summary = grok ("REF: " ++ trim ref_clean) 41 ++ " " ++ grok ("TEST: " ++ trim test) 47 trim = reverse . dropWhile isSpace . reverse . dropWhile isSpace
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
ProviderTest.java | 63 if (!"value 1".equals(p.getProperty("Property 1").trim()) || 64 !"className".equals(p.getProperty("serviceName.algName").trim()) || 65 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || 66 !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || 67 !String.valueOf(p.getName()).equals(p.getProperty("Provider.id name").trim()) || 68 !String.valueOf(p.getVersion()).equals(p.getProperty("Provider.id version").trim()) || 69 !String.valueOf(p.getInfo()).equals(p.getProperty("Provider.id info").trim()) || 70 !p.getClass().getName().equals(p.getProperty("Provider.id className").trim()) || 71 !"SomeClassName".equals(p.getProperty("MessageDigest.SHA-1").trim()) ) {
|
/external/proguard/src/proguard/obfuscate/ |
MappingReader.java | 66 line = line.trim(); 126 String className = line.substring(0, arrowIndex).trim(); 127 String newClassName = line.substring(arrowIndex + 2, colonIndex).trim(); 162 String type = line.substring(colonIndex2 + 1, spaceIndex).trim(); 163 String name = line.substring(spaceIndex + 1, argumentIndex1 >= 0 ? argumentIndex1 : arrowIndex).trim(); 164 String newName = line.substring(arrowIndex + 2).trim(); 183 firstLineNumber = Integer.parseInt(line.substring(0, colonIndex1).trim()); 184 lastLineNumber = Integer.parseInt(line.substring(colonIndex1 + 1, colonIndex2).trim()); 187 String arguments = line.substring(argumentIndex1 + 1, argumentIndex2).trim();
|
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
TestHelper.java | 30 String en = expected.replaceAll("[\\s]+", " ").trim(); 31 String an = actual.replaceAll( "[\\s]+", " ").trim();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
PemReader.java | 61 String value = line.substring(index + 1).trim(); 73 buf.append(line.trim());
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/mappy/ |
mappy_content_script.js | 39 var trim = /\s{2,}/g; 40 return match[0].replace(trim, " ");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/ |
GLAPISpec.java | 73 String header = reader.readLine().trim(); 83 line = line.trim(); 110 String retType = words.get(0).trim(); 111 String func = words.get(1).trim(); 117 argDefn = argDefn.trim();
|
/external/doclava/src/com/google/doclava/ |
SampleTagInfo.java | 79 boolean trim = "@sample".equals(name); 82 mIncluded = readFile(position, filename, id, trim, true, false, false); 84 mIncluded = loadInclude(position, filename, id, trim); 116 static String loadInclude(SourcePositionInfo pos, String filename, String id, boolean trim) { 148 boolean empty = "".equals(line.trim()); 149 if (trim) { 205 static String readFile(SourcePositionInfo pos, String filename, String id, boolean trim, 225 if (trim) { 229 if (!"".equals(line.trim())) {
|