/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
lbitlib.c | 24 /* macro to trim extra bits */ 25 #define trim(x) ((x) & ALLONES) macro 41 return trim(r); 64 lua_pushunsigned(L, trim(r)); 74 lua_pushunsigned(L, trim(r)); 81 lua_pushunsigned(L, trim(r)); 89 r = trim(r); 96 r = trim(r); 121 r = trim((r >> i) | ~(~(b_uint)0 >> i)); /* add signal bit */ 131 r = trim(r) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
XMLStringDefault.java | 73 * Conditionally trim all leading and trailing whitespace in the specified String. 81 * @param trimHead Trim leading whitespace? 82 * @param trimTail Trim trailing whitespace? 90 return new XMLStringDefault(m_str.trim()); 770 * This method may be used to trim 776 public XMLString trim() method in class:XMLStringDefault 778 return new XMLStringDefault(m_str.trim());
|
/external/eigen/bench/btl/generic_bench/ |
btl.hh | 67 void trim( bool left = true, bool right = true ) function in class:BtlString
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
UnicodeSetSpanner.java | 16 * A helper class used to count, replace, and trim CharSequences based on UnicodeSet matches. 282 * Options for the trim() method 286 * Trim leading spans. 290 * Trim leading and trailing spans. 294 * Trim trailing spans. 306 * new UnicodeSet("[ab]").trim("abacatbab")} 311 * the sequence to trim 314 public CharSequence trim(CharSequence sequence) { method in class:UnicodeSetSpanner 315 return trim(sequence, TrimOption.BOTH, SpanCondition.SIMPLE); 325 * new UnicodeSet("[ab]").trim("abacatbab", TrimOption.LEADING) 336 public CharSequence trim(CharSequence sequence, TrimOption trimOption) { method in class:UnicodeSetSpanner 360 public CharSequence trim(CharSequence sequence, TrimOption trimOption, SpanCondition spanCondition) { method in class:UnicodeSetSpanner [all...] |
/external/icu/icu4c/source/i18n/ |
digitlst.cpp | 210 // trim - remove trailing fraction zero digits. 212 DigitList::trim() { function in class:DigitList [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
UnicodeSetSpanner.java | 15 * A helper class used to count, replace, and trim CharSequences based on UnicodeSet matches. 313 * Options for the trim() method 319 * Trim leading spans. 325 * Trim leading and trailing spans. 331 * Trim trailing spans. 345 * new UnicodeSet("[ab]").trim("abacatbab")} 350 * the sequence to trim 355 public CharSequence trim(CharSequence sequence) { method in class:UnicodeSetSpanner 356 return trim(sequence, TrimOption.BOTH, SpanCondition.SIMPLE); 366 * new UnicodeSet("[ab]").trim("abacatbab", TrimOption.LEADING) 379 public CharSequence trim(CharSequence sequence, TrimOption trimOption) { method in class:UnicodeSetSpanner 405 public CharSequence trim(CharSequence sequence, TrimOption trimOption, SpanCondition spanCondition) { method in class:UnicodeSetSpanner [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Headers.java | 171 namesAndValues[i] = namesAndValues[i].trim(); 201 String name = header.getKey().trim(); 202 String value = header.getValue().trim(); 240 return add(line.substring(0, index).trim(), line.substring(index + 1)); 255 namesAndValues.add(value.trim());
|
/external/skia/src/core/ |
SkImageInfo.cpp | 207 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { function in class:SkReadPixelsRec 243 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { function in class:SkWritePixelsRec
|
/external/skqp/src/core/ |
SkImageInfo.cpp | 167 bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { function in class:SkReadPixelsRec 203 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { function in class:SkWritePixelsRec
|
/external/syslinux/com32/lua/src/ |
lbitlib.c | 24 /* macro to trim extra bits */ 25 #define trim(x) ((x) & ALLONES) macro 41 return trim(r); 64 lua_pushunsigned(L, trim(r)); 74 lua_pushunsigned(L, trim(r)); 81 lua_pushunsigned(L, trim(r)); 89 r = trim(r); 96 r = trim(r); 121 r = trim((r >> i) | ~(~(b_uint)0 >> i)); /* add signal bit */ 131 r = trim(r) [all...] |
/frameworks/base/tools/bit/ |
util.cpp | 180 trim(const string& str) function
|
/frameworks/minikin/tools/ |
mk_hyb_file.py | 120 def trim(pattern): function
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
ScanDetailCache.java | 51 * @param trimSize Size to trim the cache down to once it reaches |maxSize|. 61 // First check if we have reached |maxSize|. if yes, trim it down to |trimSize|. 63 trim(); method 114 private void trim() { method in class:ScanDetailCache 117 return; // Nothing to trim
|
/prebuilts/go/darwin-x86/src/cmd/doc/ |
pkg.go | 66 if p, ok := trim(path, filepath.ToSlash(goroot)); ok { 70 if p, ok := trim(path, filepath.ToSlash(gopath)); ok { 77 // trim trims the directory prefix from the path, paying attention 81 func trim(path, prefix string) (string, bool) { func
|
/prebuilts/go/darwin-x86/src/net/textproto/ |
reader.go | 95 // trim returns s with leading and trailing spaces and tabs removed. 97 func trim(s []byte) []byte { func 138 return trim(line), nil 144 r.buf = append(r.buf[:0], trim(line)...) 153 r.buf = append(r.buf, trim(line)...)
|
/prebuilts/go/linux-x86/src/cmd/doc/ |
pkg.go | 66 if p, ok := trim(path, filepath.ToSlash(goroot)); ok { 70 if p, ok := trim(path, filepath.ToSlash(gopath)); ok { 77 // trim trims the directory prefix from the path, paying attention 81 func trim(path, prefix string) (string, bool) { func
|
/prebuilts/go/linux-x86/src/net/textproto/ |
reader.go | 95 // trim returns s with leading and trailing spaces and tabs removed. 97 func trim(s []byte) []byte { func 138 return trim(line), nil 144 r.buf = append(r.buf[:0], trim(line)...) 153 r.buf = append(r.buf, trim(line)...)
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/ |
ManifestGenerationTest.java | 63 text = text.trim(); 67 assertEquals("Manifest-Version: 1.0", lines[0].trim()); 71 linesSet.add(l.trim()); 99 text = text.trim(); 103 assertEquals("Manifest-Version: 1.0", lines[0].trim()); 107 linesSet.add(l.trim()); 137 text = text.trim(); 141 assertEquals("Manifest-Version: 1.0", lines[0].trim()); 145 linesSet.add(l.trim());
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
AaptParser.java | 80 mNativeCode.add(m.group(i).replace("'", "").trim()); method
|
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/ |
JvmtiHostTest.java | 130 pwd = pwd.trim(); 141 if (attachReply != null && !attachReply.trim().isEmpty()) { 169 if (runAsCp != null && !runAsCp.trim().isEmpty()) { 170 throw new RuntimeException(runAsCp.trim()); 175 if (runAsChmod != null && !runAsChmod.trim().isEmpty()) { 176 throw new RuntimeException(runAsChmod.trim());
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/ |
ConfigParser.java | 358 type = attributes[0].trim(); 361 String attribute = attributes[i].trim(); 397 if (line.length() == 0 || line.trim().length() == 0) { 409 value.append(' ').append(line.trim()); 427 name = line.substring(0, nameEnd).trim(); 429 value.append(line.substring(nameEnd+1).trim()); method
|
/development/tools/idegen/src/com/android/idegen/ |
MakeFileParser.java | 95 String trimmed = line.trim(); 107 String completeLine = lineBuffer.toString().trim(); 131 String key = arr[0].trim(); 153 lineBuffer.append(line.substring(0, line.length() - 1).trim()); method 160 String value = rawValue.trim(); 227 value = value.substring(25).trim(); 229 value = value.substring(4).trim();
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XStringForFSB.java | 823 public XMLString trim() method in class:XStringForFSB 841 * Conditionally trim all leading and trailing whitespace in the specified String. 849 * @param trimHead Trim leading whitespace? 850 * @param trimTail Trim trailing whitespace?
|
/external/clang/lib/StaticAnalyzer/Core/ |
ExplodedGraph.cpp | 348 ExplodedGraph::trim(ArrayRef<const NodeTy *> Sinks, function in class:ExplodedGraph
|
/external/libjpeg-turbo/ |
transupp.h | 48 * The "trim" option causes untransformable partial iMCUs to be dropped; 52 * (For example, -rot 270 -trim trims only the bottom edge, but -rot 90 -trim 53 * followed by -rot 180 -trim trims both edges.) 121 boolean trim; /* if TRUE, trim partial MCUs as needed */ member in struct:__anon25064
|