Home
last modified time | relevance | path

Searched refs:truncate (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/external/icu4c/common/
Dlocdispnames.cpp59 result.truncate(0); in getDisplayLanguage()
71 result.truncate(0); in getDisplayLanguage()
99 result.truncate(0); in getDisplayScript()
111 result.truncate(0); in getDisplayScript()
139 result.truncate(0); in getDisplayCountry()
151 result.truncate(0); in getDisplayCountry()
179 result.truncate(0); in getDisplayVariant()
191 result.truncate(0); in getDisplayVariant()
219 result.truncate(0); in getDisplayName()
231 result.truncate(0); in getDisplayName()
Dutil.cpp329 quoteBuf.truncate(quoteBuf.length()-2); in appendToRule()
336 quoteBuf.truncate(0); in appendToRule()
/external/chromium/net/disk_cache/
Dentry_impl.cc253 bool truncate) { in WriteData() argument
277 if (!PrepareTarget(index, offset, buf_len, truncate)) in WriteData()
285 truncate = true; // Force file extension. in WriteData()
286 } else if (truncate) { in WriteData()
296 truncate = false; in WriteData()
324 } else if (truncate) { in WriteData()
707 bool truncate) { in PrepareTarget() argument
711 return GrowUserBuffer(index, offset, buf_len, truncate); in PrepareTarget()
731 bool truncate) { in GrowUserBuffer() argument
747 if (truncate) in GrowUserBuffer()
[all …]
Dentry_impl.h45 bool truncate);
144 bool PrepareTarget(int index, int offset, int buf_len, bool truncate);
147 bool GrowUserBuffer(int index, int offset, int buf_len, bool truncate);
/external/chromium/third_party/icu/source/common/
Dlocid.cpp778 result.truncate(0); in getDisplayLanguage()
790 result.truncate(0); in getDisplayLanguage()
818 result.truncate(0); in getDisplayScript()
830 result.truncate(0); in getDisplayScript()
858 result.truncate(0); in getDisplayCountry()
870 result.truncate(0); in getDisplayCountry()
898 result.truncate(0); in getDisplayVariant()
910 result.truncate(0); in getDisplayVariant()
938 result.truncate(0); in getDisplayName()
950 result.truncate(0); in getDisplayName()
Dutil.cpp329 quoteBuf.truncate(quoteBuf.length()-2); in appendToRule()
336 quoteBuf.truncate(0); in appendToRule()
/external/chromium/third_party/icu/source/i18n/
Desctrn.cpp147 buf.truncate(0); in handleTransliterate()
155 buf.truncate(0); in handleTransliterate()
159 buf.truncate(prefixLen); in handleTransliterate()
Dtransreg.cpp307 nextSpec.truncate(i); in setupNext()
314 nextSpec.truncate(0); in setupNext()
738 result.truncate(0); in getAvailableSource()
755 result.truncate(0); // invalid source in getAvailableTarget()
767 result.truncate(0); // invalid index in getAvailableTarget()
791 result.truncate(0); // invalid source in getAvailableVariant()
796 result.truncate(0); // invalid target in getAvailableVariant()
801 result.truncate(0); // invalid index in getAvailableVariant()
1069 utag.truncate(0); in findInBundle()
1090 s.truncate(0); in findInBundle()
Dname2uni.cpp150 name.truncate(0); in handleTransliterate()
199 str.truncate(0); in handleTransliterate()
Dtridpars.cpp363 canonID.truncate(0); in parseCompoundID()
371 canonID.truncate(0); in parseCompoundID()
551 target.truncate(0); in IDtoSTV()
552 variant.truncate(0); in IDtoSTV()
608 id.truncate(id.length()-1); in STVtoID()
Dstrmatch.cpp158 result.truncate(0); in toPattern()
242 rule.truncate(0); in toReplacerPattern()
Dstrrepl.cpp174 buf.truncate(0); in replace()
243 rule.truncate(0); in toReplacerPattern()
/external/icu4c/i18n/
Desctrn.cpp147 buf.truncate(0); in handleTransliterate()
155 buf.truncate(0); in handleTransliterate()
159 buf.truncate(prefixLen); in handleTransliterate()
Dtransreg.cpp307 nextSpec.truncate(i); in setupNext()
314 nextSpec.truncate(0); in setupNext()
738 result.truncate(0); in getAvailableSource()
755 result.truncate(0); // invalid source in getAvailableTarget()
767 result.truncate(0); // invalid index in getAvailableTarget()
791 result.truncate(0); // invalid source in getAvailableVariant()
796 result.truncate(0); // invalid target in getAvailableVariant()
801 result.truncate(0); // invalid index in getAvailableVariant()
1069 utag.truncate(0); in findInBundle()
1090 s.truncate(0); in findInBundle()
Dname2uni.cpp150 name.truncate(0); in handleTransliterate()
199 str.truncate(0); in handleTransliterate()
Dtridpars.cpp363 canonID.truncate(0); in parseCompoundID()
371 canonID.truncate(0); in parseCompoundID()
551 target.truncate(0); in IDtoSTV()
552 variant.truncate(0); in IDtoSTV()
608 id.truncate(id.length()-1); in STVtoID()
Dstrmatch.cpp158 result.truncate(0); in toPattern()
242 rule.truncate(0); in toReplacerPattern()
Dstrrepl.cpp174 buf.truncate(0); in replace()
243 rule.truncate(0); in toReplacerPattern()
/external/qemu/distrib/sdl-1.2.12/src/file/
DSDL_rwops.c55 DWORD must_exist, truncate; in win32_file_open() local
74 truncate = ( SDL_strchr(mode,'w') != NULL ) ? CREATE_ALWAYS : 0; in win32_file_open()
77 w_right = ( a_mode || SDL_strchr(mode,'+') || truncate ) ? GENERIC_WRITE : 0; in win32_file_open()
101 NULL, (must_exist|truncate|a_mode), FILE_ATTRIBUTE_NORMAL,NULL); in win32_file_open()
109 NULL, (must_exist|truncate|a_mode), FILE_ATTRIBUTE_NORMAL,NULL); in win32_file_open()
/external/emma/core/java12/com/vladium/emma/data/
DDataFactory.java523 boolean truncate = false; in persist()
541 truncate = (length > 0); in persist()
556 truncate = true; in persist()
668 if (truncate) raf.seek (0); in persist()
/external/icu4c/test/intltest/
Dustrtest.cpp337 test2.truncate(1); // change only the length, not the buffer in TestCompare()
908 returnVal = test1.truncate(15); in TestSpacePadding()
913 returnVal = test2.truncate(15); in TestSpacePadding()
918 returnVal = test3.truncate(15); in TestSpacePadding()
1127 test1.truncate(36); // ensure length()<getCapacity() in TestMiscellaneous()
1129 test1.truncate(5); in TestMiscellaneous()
1138 test1.truncate(36); // ensure length()<getCapacity() in TestMiscellaneous()
1473 if(test3.truncate(1) || !test3.isBogus() || !test3.isEmpty()) { in TestBogus()
1551 if(test3.truncate(0) || test3.isBogus() || !test3.isEmpty()) { in TestBogus()
1915 alias.truncate(1); in TestReadOnlyAlias()
Dtchcfmt.cpp482 str.truncate(0); in TestClosures()
541 str.truncate(0); in TestClosures()
577 out.truncate(0); in _testPattern()
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui-qt4/
Dwpagui.cpp839 lastmsg.truncate(40); in processMsg()
963 cmd.truncate(pos); in selectNetwork()
985 cmd.truncate(pos); in enableNetwork()
1006 cmd.truncate(pos); in disableNetwork()
1026 cmd.truncate(pos); in editNetwork()
1106 cmd.truncate(pos); in removeNetwork()
1171 cmd.truncate(pos); in getNetworkDisabled()
/external/webkit/WebCore/loader/
DFTPDirectoryParser.h134 fileSize.truncate(0); in clear()
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui/
Dwpagui.ui.h613 lastmsg.truncate(40); in processMsg()
677 cmd.truncate(pos); in selectNetwork()
691 sel.truncate(pos); in editNetwork()

12345678910>>...12