/external/lua/src/ |
D | lbitlib.c | 41 #define trim(x) ((x) & ALLONES) macro 54 return trim(r); in andaux() 77 pushunsigned(L, trim(r)); in b_or() 87 pushunsigned(L, trim(r)); in b_xor() 94 pushunsigned(L, trim(r)); in b_not() 102 r = trim(r); in b_shift() 109 r = trim(r); in b_shift() 134 r = trim((r >> i) | ~(trim(~(lua_Unsigned)0) >> i)); /* add signal bit */ in b_arshift() 144 r = trim(r); in b_rot() 147 pushunsigned(L, trim(r)); in b_rot() [all …]
|
/external/sfntly/cpp/src/test/ |
D | font_data_test.cc | 256 for (int32_t trim = 0; trim < (rfd->Length() / 2) + 1; in SlicingReadTest() local 257 trim += (rfd->Length() / 21) + 1) { in SlicingReadTest() 258 fprintf(stderr, "%d ", trim); in SlicingReadTest() 259 int32_t length = rfd->Length() - 2 * trim; in SlicingReadTest() 261 slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); in SlicingReadTest() 262 EXPECT_TRUE(ReadComparison(trim, length, rfd, slice)); in SlicingReadTest() 269 for (int32_t trim = 0; trim < (rfd->Length() / 2) + 1; in SlicingWriteTest() local 270 trim += (rfd->Length() / 21) + 1) { in SlicingWriteTest() 271 fprintf(stderr, "%d ", trim); in SlicingWriteTest() 272 int32_t length = rfd->Length() - 2 * trim; in SlicingWriteTest() [all …]
|
/external/proguard/src/proguard/obfuscate/ |
D | MappingReader.java | 66 line = line.trim(); in pump() 126 String className = line.substring(0, arrowIndex).trim(); in processClassMapping() 127 String newClassName = line.substring(arrowIndex + 2, colonIndex).trim(); in processClassMapping() 162 String type = line.substring(colonIndex2 + 1, spaceIndex).trim(); in processClassMemberMapping() 163 …name = line.substring(spaceIndex + 1, argumentIndex1 >= 0 ? argumentIndex1 : arrowIndex).trim(); in processClassMemberMapping() 164 String newName = line.substring(arrowIndex + 2).trim(); in processClassMemberMapping() 183 firstLineNumber = Integer.parseInt(line.substring(0, colonIndex1).trim()); in processClassMemberMapping() 184 … lastLineNumber = Integer.parseInt(line.substring(colonIndex1 + 1, colonIndex2).trim()); in processClassMemberMapping() 187 String arguments = line.substring(argumentIndex1 + 1, argumentIndex2).trim(); in processClassMemberMapping()
|
/external/autotest/frontend/client/src/autotest/moblab/rpc/ |
D | VersionInfo.java | 67 NO_MILESTONE_FOUND).trim(); in fromJson() 69 NO_VERSION_FOUND).trim(); in fromJson() 71 NO_TRACK_FOUND).trim(); in fromJson() 73 NO_DESCRIPTION_FOUND).trim(); in fromJson() 75 NO_ID_FOUND).trim(); in fromJson() 77 NO_SERIAL_NUMBER_FOUND).trim(); in fromJson() 79 object, "MOBLAB_UPDATE_VERSION", NO_UPDATE_VERSION_FOUND).trim(); in fromJson() 83 object, "MOBLAB_UPDATE_PROGRESS", "0.0").trim(); in fromJson() 94 object, "MOBLAB_UPDATE_STATUS", "").trim(); in getUpdateStatus()
|
D | CloudStorageInfo.java | 56 this.botoKey = botoKey.trim(); in setBotoKey() 60 this.botoSecret = botoSecret.trim(); in setBotoSecret() 64 this.imageStorageServer = imageStorageServer.trim(); in setImageStorageServer() 68 this.resultStorageServer = resultStorageServer.trim(); in setResultStorageServer()
|
/external/curl/scripts/ |
D | completion.pl | 72 $option .= " --short-option '" . strip_dash(trim($short)) . "'" 74 $option .= " --long-option '" . strip_dash(trim($long)) . "'" 76 $option .= " --description '" . strip_dash(trim($desc)) . "'" 79 $option .= '{' . trim($short) . ',' if defined $short; 80 $option .= trim($long) if defined $long; 82 $option .= '\'[' . trim($desc) . ']\'' if defined $desc; 106 sub trim { my $s = shift; $s =~ s/^\s+|\s+$//g; return $s }; subroutine
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
D | SrtParser.java | 37 while (!((s = r.readLine()) == null || s.trim().equals(""))) { in parse() 51 long hours = Long.parseLong(in.split(":")[0].trim()); in parse() 52 long minutes = Long.parseLong(in.split(":")[1].trim()); in parse() 53 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); in parse() 54 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim()); in parse()
|
/external/doclava/src/com/google/doclava/ |
D | SampleTagInfo.java | 85 boolean trim = "@sample".equals(name); in SampleTagInfo() 88 mIncluded = readFile(position, filename, id, trim, true, false, false); in SampleTagInfo() 90 mIncluded = loadInclude(position, filename, id, trim); in SampleTagInfo() 122 static String loadInclude(SourcePositionInfo pos, String filename, String id, boolean trim) { in loadInclude() argument 154 boolean empty = "".equals(line.trim()); in loadInclude() 155 if (trim) { in loadInclude() 211 static String readFile(SourcePositionInfo pos, String filename, String id, boolean trim, in readFile() argument 231 if (trim) { in readFile() 235 if (!"".equals(line.trim())) { in readFile()
|
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
D | MessageDigestAlgorithm.java | 63 if (qop_value == null || qop_value.trim().length() == 0 in calculateResponse() 64 || qop_value.trim().equalsIgnoreCase("auth")) { in calculateResponse() 121 + (passwd != null && passwd.trim().length() > 0) + ", " + nonce_value + ", " in calculateResponse() 135 if (algorithm == null || algorithm.trim().length() == 0 in calculateResponse() 136 || algorithm.trim().equalsIgnoreCase("MD5")) { in calculateResponse() 148 if (qop_value == null || qop_value.trim().length() == 0 in calculateResponse() 149 || qop_value.trim().equalsIgnoreCase("auth")) { in calculateResponse()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue10/ |
D | BasicDumpTest.java | 45 assertEquals(etalon.trim(), output.trim()); in testTag() 69 assertEquals(etalon.trim(), output.trim()); in testTag2() 91 assertEquals(etalon.trim(), output.trim()); in testTag3()
|
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | FakeTsiTest.java | 95 FakeTsiHandshaker.State.CLIENT_INIT.toString().trim(), in handshakeStateOrderTest() 96 new String(transportBufferBytes, 4, transportBuffer.remaining(), UTF_8).trim()); in handshakeStateOrderTest() 111 FakeTsiHandshaker.State.SERVER_INIT.toString().trim(), in handshakeStateOrderTest() 112 new String(transportBufferBytes, 4, transportBuffer.remaining(), UTF_8).trim()); in handshakeStateOrderTest() 127 FakeTsiHandshaker.State.CLIENT_FINISHED.toString().trim(), in handshakeStateOrderTest() 128 new String(transportBufferBytes, 4, transportBuffer.remaining(), UTF_8).trim()); in handshakeStateOrderTest() 143 FakeTsiHandshaker.State.SERVER_FINISHED.toString().trim(), in handshakeStateOrderTest() 144 new String(transportBufferBytes, 4, transportBuffer.remaining(), UTF_8).trim()); in handshakeStateOrderTest()
|
/external/nist-pkits/ |
D | extract-pkits-tests.pl | 47 sub trim($) { subroutine 200 if (trim($_) =~ /^[0-9]+$/) { 213 $pathEntry = trim($1); 216 $pathEntry = trim($1); 218 $pathEntry .= trim($_);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | FormatVariadic.cpp | 59 StringRef RepString = Spec.trim("{}"); in parseReplacementItem() 68 RepString = RepString.trim(); in parseReplacementItem() 73 RepString = RepString.trim(); in parseReplacementItem() 79 RepString = RepString.trim(); in parseReplacementItem() 81 Options = RepString.drop_front().trim(); in parseReplacementItem() 84 RepString = RepString.trim(); in parseReplacementItem()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | JavadocParser.java | 85 line = line.trim().substring(1); in parseBlockTag() 87 String rest = line.substring(tagName.length()).trim(); in parseBlockTag() 92 return line.trim().startsWith(BLOCK_TAG_PREFIX); in isABlockLine() 122 …cleanedLines = cleanedLines.stream().map(l -> l.trim().isEmpty() ? "" : l).collect(Collectors.toLi… in cleanLines() 128 while (cleanedLines.size() > 0 && cleanedLines.get(0).trim().isEmpty()) { in cleanLines() 131 … while (cleanedLines.size() > 0 && cleanedLines.get(cleanedLines.size() - 1).trim().isEmpty()) { in cleanLines()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CountryCodeConverter.java | 27 String trial = display.trim().toLowerCase(Locale.ENGLISH); in getCodeFromName() 63 trial = display.substring(comma + 1).trim() + " " + display.substring(0, comma).trim(); in reverseComma() 101 if (line.trim().length() == 0) { in handle() 105 String country = pieces[0].trim(); in handle() 109 addName(pieces[2].trim(), country); in handle()
|
/external/emma/ant/ant14/com/vladium/emma/ant/ |
D | VerbosityCfg.java | 76 if ((m_verbosity != null) && (m_verbosity.trim ().length () > 0)) in getSettings() 77 settings.setProperty (AppLoggers.PROPERTY_VERBOSITY_LEVEL, m_verbosity.trim ()); in getSettings() 79 if ((m_verbosityFilter != null) && (m_verbosityFilter.trim ().length () > 0)) in getSettings() 80 … settings.setProperty (AppLoggers.PROPERTY_VERBOSITY_FILTER, m_verbosityFilter.trim ()); in getSettings()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_mac.cc | 86 char *trim; in ParseCommandOutput() local 87 ExtractTokenUpToDelimiter(str, "\n", &trim); in ParseCommandOutput() 98 const char *rest = trim; in ParseCommandOutput() 103 InternalFree(trim); in ParseCommandOutput() 128 InternalFree(trim); in ParseCommandOutput()
|
/external/libvpx/libvpx/build/make/ |
D | ads2gas_apple.pl | 38 sub trim($) subroutine 131 $function = trim($1); 175 $trimmed = trim($_);
|
/external/icu/icu4c/source/data/locales/ |
D | ro_MD.txt | 108 "trim. 1", 109 "trim. 2", 110 "trim. 3", 111 "trim. 4",
|
/external/skia/gn/ |
D | BUILDCONFIG.gn | 151 "trim string")) { 156 "trim string")) { 161 "trim string")) { 166 "trim string")) { 171 "trim string")) { 180 exec_script("//gn/checkdir.py", [ "$win_vc/Tools" ], "trim string")) { 195 "trim string") 203 "trim string")
|
/external/skqp/gn/ |
D | BUILDCONFIG.gn | 151 "trim string")) { 156 "trim string")) { 161 "trim string")) { 166 "trim string")) { 171 "trim string")) { 180 exec_script("//gn/checkdir.py", [ "$win_vc/Tools" ], "trim string")) { 195 "trim string") 203 "trim string")
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | RegexTransformBuilder.java | 34 ruleString = ruleString.trim(); in createFromRules() 42 final String body = ruleString.substring(2).trim(); in createFromRules() 51 final Transliterator translit = Transliterator.getInstance(body.trim()); in createFromRules() 79 String result = m.group(4).trim(); in createFromRules() 116 pattern = pattern.trim(); in fix()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/ |
D | PrettyPrintingSteps.java | 50 this.sourceUnderTest = classSrc.trim(); in givenTheClass() 56 sourceUnderTest = readerToString(new FileReader(new File(url.toURI()))).trim(); in givenTheClassInTheFile() 112 assertEquals(src.trim(), resultNode.toString().trim()); in isPrintedAs()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UnicodeSetSpanner.java | 355 public CharSequence trim(CharSequence sequence) { in trim() method in UnicodeSetSpanner 356 return trim(sequence, TrimOption.BOTH, SpanCondition.SIMPLE); in trim() 379 public CharSequence trim(CharSequence sequence, TrimOption trimOption) { in trim() method in UnicodeSetSpanner 380 return trim(sequence, trimOption, SpanCondition.SIMPLE); in trim() 405 …public CharSequence trim(CharSequence sequence, TrimOption trimOption, SpanCondition spanCondition… in trim() method in UnicodeSetSpanner
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | ResName.java | 24 this.type = type.trim(); in ResName() 25 this.name = name.trim(); in ResName() 31 Matcher matcher = FQN_PATTERN.matcher(fullyQualifiedName.trim()); in ResName() 36 type = matcher.group(TYPE).trim(); in ResName() 37 name = matcher.group(NAME).trim(); in ResName()
|