/external/tensorflow/tensorflow/python/util/ |
decorator_utils.py | 63 trimmed = [lines[0].strip()] 66 trimmed.append(line[indent:].rstrip()) 68 while trimmed and not trimmed[-1]: 69 trimmed.pop() 70 while trimmed and not trimmed[0]: 71 trimmed.pop(0) 73 return '\n'.join(trimmed)
|
/external/catch2/scripts/ |
fixWhitespace.py | 27 trimmed = line.rstrip() + "\n" 28 trimmed = trimmed.replace('\t', ' ') 29 if trimmed != line: 31 lines.append( trimmed )
|
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/ |
FormattingTuple.java | 59 Object[] trimmed = new Object[trimemdLen]; local 60 System.arraycopy(argArray, 0, trimmed, 0, trimemdLen); 61 return trimmed;
|
/external/icu/icu4c/source/i18n/ |
double-conversion-strtod.cpp | 133 // The input buffer has been trimmed. Therefore the last digit must be 150 Vector<const char>* trimmed, int* updated_exponent) { 159 *trimmed = Vector<const char>(buffer_copy_space, 162 *trimmed = right_trimmed; 212 static bool DoubleStrtod(Vector<const char> trimmed, 224 if (trimmed.length() <= kMaxExactDoubleIntegerDecimalDigits) { 226 // The trimmed input fits into a double. 234 *result = static_cast<double>(ReadUint64(trimmed, &read_digits)); 235 ASSERT(read_digits == trimmed.length()); 241 *result = static_cast<double>(ReadUint64(trimmed, &read_digits)) [all...] |
/external/v8/src/ |
strtod.cc | 100 // The input buffer has been trimmed. Therefore the last digit must be 155 static bool DoubleStrtod(Vector<const char> trimmed, 171 if (trimmed.length() <= kMaxExactDoubleIntegerDecimalDigits) { 173 // The trimmed input fits into a double. 181 *result = static_cast<double>(ReadUint64(trimmed, &read_digits)); 182 DCHECK(read_digits == trimmed.length()); 188 *result = static_cast<double>(ReadUint64(trimmed, &read_digits)); 189 DCHECK(read_digits == trimmed.length()); 194 kMaxExactDoubleIntegerDecimalDigits - trimmed.length(); 197 // The trimmed string was short and we can multiply it wit 408 Vector<const char> trimmed = TrimTrailingZeros(left_trimmed); local [all...] |
/external/libvpx/libvpx/build/make/ |
ads2gas_apple.pl | 175 $trimmed = trim($_); 178 $trimmed =~ s/,//g; 181 @incoming_array = split(/\s+/, $trimmed);
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
AppDataDirGuesser.java | 103 String trimmed = input.substring(start); local 104 int end = trimmed.indexOf(']'); 105 if (trimmed.charAt(0) == '[' && trimmed.charAt(1) == '[' && end >= 0) { 106 trimmed = trimmed.substring(2, end); 108 String split[] = trimmed.split(","); 174 String trimmed = input; local 179 trimmed = (end == -1) ? input.substring(start) : input.substring(start, end); 182 return trimmed.split(":") [all...] |
/external/llvm/utils/ |
findmisopt | 152 trimmed=`echo "$switches" | sed -e 's/^ *\(-[^ ]*\).*/\1/'` 154 echo "Trimmed $trimmed from left" 160 echo "Found required early pass: $trimmed" 161 final="$final $trimmed"
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/ |
findmisopt | 152 trimmed=`echo "$switches" | sed -e 's/^ *\(-[^ ]*\).*/\1/'` 154 echo "Trimmed $trimmed from left" 160 echo "Found required early pass: $trimmed" 161 final="$final $trimmed"
|
/development/tools/idegen/src/ |
Configuration.java | 207 String trimmed = line.trim(); local 208 if (trimmed.startsWith("package")) { 212 return trimmed.substring(8, trimmed.length() - 1); 257 String trimmed = line.trim(); local 258 if (trimmed.length() > 0 && !trimmed.startsWith("#")) { 259 patterns.add(Pattern.compile(trimmed));
|
Eclipse.java | 89 .append(trimmed(sourceRoot)).append("\"/>\n"); 97 .append(trimmed(jar)).append("\"/>\n"); 166 * Returns the trimmed path. 168 private static String trimmed(File file) { method in class:Eclipse
|
/external/swiftshader/third_party/LLVM/utils/ |
findmisopt | 153 trimmed=`echo "$switches" | sed -e 's/^ *\(-[^ ]*\).*/\1/'`
155 echo "Trimmed $trimmed from left"
161 echo "Found required early pass: $trimmed"
162 final="$final $trimmed"
|
/development/tools/idegen/src/com/android/idegen/ |
MakeFileParser.java | 95 String trimmed = line.trim(); local 97 if (!trimmed.isEmpty() && trimmed.charAt(0) == '#') { 100 appendPartialLine(trimmed); 102 if (!trimmed.isEmpty() && trimmed.charAt(trimmed.length() - 1) == '\\') {
|
/external/catch2/include/internal/ |
catch_message.cpp | 70 auto trimmed = [&] (size_t start, size_t end) { local 102 m_messages.back().message = trimmed(start, pos); 110 m_messages.back().message = trimmed(start, names.size() - 1);
|
/external/mockito/subprojects/android/src/main/java/org/mockito/android/internal/creation/ |
AndroidTempFileLocator.java | 79 String trimmed = input; local 84 trimmed = (end == -1) ? input.substring(start) : input.substring(start, end); 87 return trimmed.split(":");
|
/external/google-breakpad/src/tools/windows/dump_syms/ |
dump_syms_unittest.cc | 65 std::wstring* trimmed,
77 if (trimmed != NULL)
78 trimmed->assign(path.c_str(), len);
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
VettingAdder.java | 199 String trimmed = line.trim(); local 202 haveLanguages = fixItem(out, haveLanguages, trimmed, "<language ", "languages"); 203 haveScripts = fixItem(out, haveScripts, trimmed, "<script ", "scripts"); 204 haveTerritories = fixItem(out, haveTerritories, trimmed, "<territory ", "territories"); 205 haveVariants = fixItem(out, haveVariants, trimmed, "<variant ", "variants"); 206 haveKeys = fixItem(out, haveKeys, trimmed, "<key ", "keys"); 207 haveTypes = fixItem(out, haveTypes, trimmed, "<type ", "types"); 210 if (trimmed.startsWith("<localeDisplayNames")) 212 else if (trimmed.startsWith("</localeDisplayNames")) inLocaleDisplayNames = 2; 223 private int fixItem(PrintWriter out, int haveLanguages, String trimmed, String item, String fix) [all...] |
/art/tools/ahat/src/main/com/android/ahat/proguard/ |
ProguardMap.java | 237 String trimmed = line.trim(); local 238 int ws = trimmed.indexOf(' '); 239 sep = trimmed.indexOf(" -> "); 244 String type = trimmed.substring(0, ws); 245 String clearName = trimmed.substring(ws + 1, sep); 246 String obfuscatedName = trimmed.substring(sep + 4, trimmed.length());
|
/external/f2fs-tools/mkfs/ |
f2fs_format_utils.c | 120 c.trimmed = 1;
|
/external/libchrome/third_party/jinja2/ |
ext.py | 228 trimmed = None 247 elif trimmed is None and name.value in ('trimmed', 'notrimmed'): 248 trimmed = name.value == 'trimmed' 306 if trimmed is None: 307 trimmed = self.environment.policies['ext.i18n.trimmed'] 308 if trimmed: 602 if getbool(options, 'trimmed') [all...] |
/external/skia/tools/skdiff/ |
skdiff_main.cpp | 42 const char* trimmed = strrchr(src, SkOSPath::SEPARATOR); local 43 if (trimmed) { 44 trimmed += 1; // skip the separator 46 trimmed = src; 48 const char* end = strrchr(trimmed, '.'); 50 end = trimmed + strlen(trimmed); 52 SkString result(trimmed, end - trimmed);
|
/external/skqp/tools/skdiff/ |
skdiff_main.cpp | 42 const char* trimmed = strrchr(src, SkOSPath::SEPARATOR); local 43 if (trimmed) { 44 trimmed += 1; // skip the separator 46 trimmed = src; 48 const char* end = strrchr(trimmed, '.'); 50 end = trimmed + strlen(trimmed); 52 SkString result(trimmed, end - trimmed);
|
/external/pdfium/fxjs/ |
cjs_publicmethods.cpp | 1604 WideString trimmed = pFormField->GetValue(); local 1619 WideString trimmed = pFormCtrl->GetExportValue(); local 1628 WideString trimmed = pFormField->GetValue(); local [all...] |
/external/skia/tools/bookmaker/ |
textParser.h | 670 string trimmed; 675 trimmed += ' '; 681 trimmed += c; 683 return trimmed;
|
/external/skqp/tools/bookmaker/ |
textParser.h | 670 string trimmed; 675 trimmed += ' '; 681 trimmed += c; 683 return trimmed;
|