/third_party/littlefs/scripts/ |
H A D | readmdir.py | 307 def _dump_tags(self, tags, f=sys.stdout, truncate=True): 310 if truncate: 318 if truncate: 332 def dump_tags(self, f=sys.stdout, truncate=True): 333 self._dump_tags(self.tags, f=f, truncate=truncate) 335 def dump_log(self, f=sys.stdout, truncate=True): 336 self._dump_tags(self.log, f=f, truncate=truncate) 338 def dump_all(self, f=sys.stdout, truncate [all...] |
H A D | readtree.py | 135 mdir.dump_log(f, truncate=not args.no_truncate) 137 mdir.dump_all(f, truncate=not args.no_truncate) 139 mdir.dump_tags(f, truncate=not args.no_truncate) 181 parser.add_argument('-T', '--no-truncate', action='store_true',
|
/third_party/node/test/parallel/ |
H A D | test-fs-truncate.js | 29 const filename = path.resolve(tmp, 'truncate-file.txt'); 36 const msg = 'Using fs.truncate with a file descriptor is deprecated.' + 85 fs.truncate(filename, 1024, function(er) { 91 fs.truncate(filename, function(er) { 139 const file1 = path.resolve(tmp, 'truncate-file-1.txt'); 146 const file2 = path.resolve(tmp, 'truncate-file-2.txt'); 155 const file3 = path.resolve(tmp, 'truncate-file-3.txt'); 157 fs.truncate(file3, 4, common.mustSucceed(() => { 163 const file4 = path.resolve(tmp, 'truncate-file-4.txt'); 173 const file5 = path.resolve(tmp, 'truncate [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | truncate.c | 31 * @tc.desc : truncate a file to a specified length 45 int result = truncate(path_n, 0); in truncate_0100() 55 * @tc.desc : truncate a file to a specified length 71 int result = truncate(path, vlen); in truncate_0200() 99 * @tc.desc : truncate a file to a negative length 106 int result = truncate(path, nlen); in truncate_0300() 120 * @tc.desc : truncate a directory 125 int result = truncate("/", 0); in truncate_0400()
|
/third_party/musl/src/unistd/ |
H A D | truncate.c | 4 int truncate(const char *path, off_t length) in truncate() function 9 weak_alias(truncate, truncate64);
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | locdispnames.cpp | 64 result.truncate(0); in getDisplayLanguage() 76 result.truncate(0); in getDisplayLanguage() 104 result.truncate(0); in getDisplayScript() 116 result.truncate(0); in getDisplayScript() 144 result.truncate(0); in getDisplayCountry() 156 result.truncate(0); in getDisplayCountry() 184 result.truncate(0); in getDisplayVariant() 196 result.truncate(0); in getDisplayVariant() 224 result.truncate(0); in getDisplayName() 236 result.truncate( in getDisplayName() [all...] |
/third_party/node/deps/npm/node_modules/cli-table3/src/ |
H A D | cell.js | 59 this.truncate = this.options.truncate || tableOptions.truncate; 136 let content = utils.truncate(this.content, 10, this.truncate); 258 if (forceTruncationSymbol) line += this.truncate || '…'; 259 let content = utils.truncate(line, len, this.truncate);
|
/third_party/rust/crates/cxx/gen/build/src/ |
H A D | deps.rs | 67 k.truncate(k.len() - "_CXXBRIDGE_PREFIX".len()); in direct_dependencies() 73 k.truncate(k.len() - "_CXXBRIDGE_LINKS".len()); in direct_dependencies() 87 k.truncate(k.len() - counter_len - "_CXXBRIDGE_DIR".len()); in direct_dependencies()
|
/third_party/icu/icu4c/source/common/ |
H A D | locdispnames.cpp | 64 result.truncate(0); in getDisplayLanguage() 76 result.truncate(0); in getDisplayLanguage() 104 result.truncate(0); in getDisplayScript() 116 result.truncate(0); in getDisplayScript() 144 result.truncate(0); in getDisplayCountry() 156 result.truncate(0); in getDisplayCountry() 184 result.truncate(0); in getDisplayVariant() 196 result.truncate(0); in getDisplayVariant() 224 result.truncate(0); in getDisplayName() 236 result.truncate( in getDisplayName() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | locdispnames.cpp | 64 result.truncate(0); in getDisplayLanguage() 76 result.truncate(0); in getDisplayLanguage() 104 result.truncate(0); in getDisplayScript() 116 result.truncate(0); in getDisplayScript() 144 result.truncate(0); in getDisplayCountry() 156 result.truncate(0); in getDisplayCountry() 184 result.truncate(0); in getDisplayVariant() 196 result.truncate(0); in getDisplayVariant() 224 result.truncate(0); in getDisplayName() 236 result.truncate( in getDisplayName() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | esctrn.cpp | 149 buf.truncate(0); in handleTransliterate() 157 buf.truncate(0); in handleTransliterate() 161 buf.truncate(prefixLen); in handleTransliterate()
|
H A D | name2uni.cpp | 154 name.truncate(0); in handleTransliterate() 204 str.truncate(0); in handleTransliterate()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | esctrn.cpp | 149 buf.truncate(0); in handleTransliterate() 157 buf.truncate(0); in handleTransliterate() 161 buf.truncate(prefixLen); in handleTransliterate()
|
H A D | name2uni.cpp | 154 name.truncate(0); in handleTransliterate() 204 str.truncate(0); in handleTransliterate()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | esctrn.cpp | 149 buf.truncate(0); in handleTransliterate() 157 buf.truncate(0); in handleTransliterate() 161 buf.truncate(prefixLen); in handleTransliterate()
|
/third_party/python/Lib/test/ |
H A D | test_memoryio.py | 82 self.assertEqual(f.truncate(12), 12) 125 self.assertRaises(ValueError, memio.truncate, -1) 126 self.assertRaises(ValueError, memio.truncate, IntLike(-1)) 128 self.assertEqual(memio.truncate(IntLike(8)), 8) 130 self.assertEqual(memio.truncate(), 6) 132 self.assertEqual(memio.truncate(4), 4) 139 self.assertEqual(memio.truncate(None), pos) 141 self.assertRaises(TypeError, memio.truncate, '0') 143 self.assertRaises(ValueError, memio.truncate, 0) 144 self.assertRaises(ValueError, memio.truncate, IntLik [all...] |
/third_party/node/deps/npm/node_modules/columnify/ |
H A D | columnify.js | 25 truncate: false, 81 column.truncate = !!column.truncate; 171 if (column.truncate && item[columnName].length > 1) {
|
H A D | index.js | 21 truncate: false, 75 column.truncate = !!column.truncate 161 if (column.truncate && item[columnName].length > 1) {
|
/third_party/benchmark/ |
H A D | setup.py | 30 f.truncate() 36 f.truncate()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
H A D | ICUResourceBundleCollationTest.java | 161 boolean truncate, String[] testCases) { in getFunctionalEquivalentTestCases() 175 ULocale equivLocale = ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate); in getFunctionalEquivalentTestCases() 160 getFunctionalEquivalentTestCases(String path, ClassLoader cl, String resName, String keyword, boolean truncate, String[] testCases) getFunctionalEquivalentTestCases() argument
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | ICUResourceBundleCollationTest.java | 164 boolean truncate, String[] testCases) { in getFunctionalEquivalentTestCases() 178 ULocale equivLocale = ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate); in getFunctionalEquivalentTestCases() 163 getFunctionalEquivalentTestCases(String path, ClassLoader cl, String resName, String keyword, boolean truncate, String[] testCases) getFunctionalEquivalentTestCases() argument
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | denseranges.cpp | 52 void truncate(int32_t newLength) { in truncate() function in __anon12076::LargestGaps 150 gaps.truncate(num-1); in uprv_makeDenseRanges()
|
/third_party/node/deps/npm/lib/utils/ |
H A D | format-search-stream.js | 88 truncate: !this.#opts.long, 90 name: { minWidth: 25, maxWidth: 25, truncate: false, truncateMarker: '' },
|
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | denseranges.cpp | 52 void truncate(int32_t newLength) { in truncate() function in __anon3750::LargestGaps 150 gaps.truncate(num-1); in uprv_makeDenseRanges()
|
/third_party/ltp/testcases/kernel/security/tomoyo/ |
H A D | tomoyo_rewrite_test.c | 68 set_profile(3, "file::truncate"); in stage_rewrite_test() 102 show_prompt("truncate()"); in stage_rewrite_test() 103 show_result(truncate(REWRITE_PATH, 0)); in stage_rewrite_test() 116 set_profile(2, "file::truncate"); in stage_rewrite_test() 146 show_prompt("truncate()"); in stage_rewrite_test() 147 show_result(truncate(REWRITE_PATH, 0)); in stage_rewrite_test()
|