Home
last modified time | relevance | path

Searched refs:getBuffer (Results 1 – 25 of 186) sorted by relevance

12345678

/external/icu4c/common/
Dschriter.cpp33 : UCharCharacterIterator(textStr.getBuffer(), textStr.length()), in StringCharacterIterator()
37 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
42 : UCharCharacterIterator(textStr.getBuffer(), textStr.length(), textPos), in StringCharacterIterator()
46 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
53 : UCharCharacterIterator(textStr.getBuffer(), textStr.length(), textBegin, textEnd, textPos), in StringCharacterIterator()
57 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
65 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator()
76 UCharCharacterIterator::text = this->text.getBuffer(); in operator =()
110 UCharCharacterIterator::setText(text.getBuffer(), text.length()); in setText()
Dlocdispnames.cpp57 buffer=result.getBuffer(ULOC_FULLNAME_CAPACITY); in getDisplayLanguage()
69 buffer=result.getBuffer(length); in getDisplayLanguage()
97 buffer=result.getBuffer(ULOC_FULLNAME_CAPACITY); in getDisplayScript()
109 buffer=result.getBuffer(length); in getDisplayScript()
137 buffer=result.getBuffer(ULOC_FULLNAME_CAPACITY); in getDisplayCountry()
149 buffer=result.getBuffer(length); in getDisplayCountry()
177 buffer=result.getBuffer(ULOC_FULLNAME_CAPACITY); in getDisplayVariant()
189 buffer=result.getBuffer(length); in getDisplayVariant()
217 buffer=result.getBuffer(ULOC_FULLNAME_CAPACITY); in getDisplayName()
229 buffer=result.getBuffer(length); in getDisplayName()
Duts46.cpp49 const UChar *s=dest.getBuffer(); in isASCIIString()
307 const UChar *srcArray=src.getBuffer(); in process()
323 UChar *destArray=dest.getBuffer(srcLength); in process()
396 (!info.isOkBiDi || (labelStart>0 && !isASCIIOkBiDi(dest.getBuffer(), labelStart))) in process()
545 const UChar *destArray=dest.getBuffer(); in processUnicode()
559 destArray=dest.getBuffer(); in processUnicode()
569 destArray=dest.getBuffer(); in processUnicode()
595 UChar *s=dest.getBuffer(dest[mappingStart]==0xdf ? length+1 : length); in mapDevChars()
614 s=dest.getBuffer(length+1); in mapDevChars()
686 const UChar *label=dest.getBuffer()+labelStart; in processLabel()
[all …]
Dunormcmp.cpp618 fcd1.setTo(FALSE, str1.getBuffer(), spanQCYes1); in unorm_compare()
620 s1=fcd1.getBuffer(); in unorm_compare()
625 fcd2.setTo(FALSE, str2.getBuffer(), spanQCYes2); in unorm_compare()
627 s2=fcd2.getBuffer(); in unorm_compare()
/external/icu4c/i18n/
Dstsearch.cpp38 m_strsrch_ = usearch_open(m_pattern_.getBuffer(), m_pattern_.length(), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
39 m_text_.getBuffer(), m_text_.length(), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
81 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in StringSearch()
83 m_text_.getBuffer(), in StringSearch()
111 m_strsrch_ = usearch_open(m_pattern_.getBuffer(), m_pattern_.length(), in StringSearch()
112 m_text_.getBuffer(), m_text_.length(), in StringSearch()
144 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in StringSearch()
146 m_text_.getBuffer(), in StringSearch()
178 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in StringSearch()
180 m_text_.getBuffer(), in StringSearch()
[all …]
Dtblcoll.cpp162 ucollator = ucol_openRules(rules.getBuffer(), rules.length(), in construct()
340 …return getEComparisonResult(compare(source.getBuffer(), uprv_min(length,source.length()), target.g… in compare()
349 …return compare(source.getBuffer(), uprv_min(length,source.length()), target.getBuffer(), uprv_min(… in compare()
382 return getEComparisonResult(ucol_strcoll(ucollator, source.getBuffer(), source.length(), in compare()
383 target.getBuffer(), target.length())); in compare()
392 return ucol_strcoll(ucollator, source.getBuffer(), source.length(), in compare()
393 target.getBuffer(), target.length()); in compare()
447 return getCollationKey(source.getBuffer(), source.length(), sortkey, status); in getCollationKey()
526 return ucol_setVariableTop(ucollator, varTop.getBuffer(), varTop.length(), &status); in setVariableTop()
565 return ucol_getSortKey(ucollator, source.getBuffer(), source.length(), result, resultLength); in getSortKey()
Dcoleitr.cpp125 - m_data_->iteratordata_.writableBuffer.getBuffer() in operator ==()
127 - that.m_data_->iteratordata_.writableBuffer.getBuffer()) { in operator ==()
189 u_memcpy(string, source.getBuffer(), length); in setText()
240 u_memcpy(buffer, string.getBuffer(), length); in setText()
298 u_memcpy(string, sourceText.getBuffer(), length); in CollationElementIterator()
365 const UChar *temp = string.getBuffer(); in CollationElementIterator()
439 (othercoliter->pos - othercoliter->writableBuffer.getBuffer()); in operator =()
Dudatpg.cpp158 return result.getBuffer(); in udatpg_getAppendItemFormat()
177 return result.getBuffer(); in udatpg_getAppendItemName()
194 return result.getBuffer(); in udatpg_getDateTimeFormat()
211 return result.getBuffer(); in udatpg_getDecimal()
268 return result.getBuffer(); in udatpg_getPatternForSkeleton()
Dvzone.cpp59 memcpy(url,s.getBuffer(),urlLength); in vzone_getTZURL()
87 memcpy(result,s.getBuffer(),resultLength); in vzone_write()
99 memcpy(result,s.getBuffer(),resultLength); in vzone_writeFromStart()
111 memcpy(result,s.getBuffer(),resultLength); in vzone_writeSimple()
Dutrans.cpp112 (*func->replace)(rep, start, limit, text.getBuffer(), text.length()); in handleReplaceBetween()
118 (*func->extract)(rep, start, limit, target.getBuffer(limit-start)); in extractBetween()
187 return utrans_openU(ID.getBuffer(), ID.length(), dir, in utrans_open()
235 return ID.getBuffer(); in utrans_getUnicodeID()
335 return ID.getBuffer(); in utrans_enum_unext()
/external/llvm/lib/Object/
DMachOObject.cpp64 memcpy(&Header, Buffer->getBuffer().data(), sizeof(Header)); in MachOObject()
76 memcpy(&Header64Ext, Buffer->getBuffer().data() + sizeof(Header), in MachOObject()
96 StringRef Magic = Buffer->getBuffer().slice(0, 4); in LoadFromBuffer()
131 return Buffer->getBuffer().substr(Offset,Size); in getData()
136 StringTable = Buffer->getBuffer().substr(SLC.StringTableOffset, in RegisterStringTable()
155 memcpy(&Info.Command, Buffer->getBuffer().data() + Offset, in getLoadCommandInfo()
183 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSegmentLoadCommand()
201 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSegment64LoadCommand()
215 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSymtabLoadCommand()
243 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadDysymtabLoadCommand()
[all …]
/external/icu4c/test/intltest/
Dustrtest.cpp371 …pareCodePointOrder(u[i+1])>=0 || u[i].compareCodePointOrder(0, INT32_MAX, u[i+1].getBuffer())>=0) { in TestCompare()
936 test1.startsWith(test3.getBuffer(), test3.length()) || in TestPrefixAndSuffix()
953 if(!test1.endsWith(test3.getBuffer(), test3.length())) { in TestPrefixAndSuffix()
1030 UChar *p=test1.getBuffer(20); in TestMiscellaneous()
1040 test1.getBuffer(10)!=0 || test1.getBuffer()!=0 in TestMiscellaneous()
1062 const UChar *q=test1.getBuffer(), *r=test1.getBuffer(); in TestMiscellaneous()
1071 test1.getBuffer(20)[2]=0; in TestMiscellaneous()
1078 p=test1.getBuffer(256); in TestMiscellaneous()
1428 test3.setTo(FALSE, test1.getBuffer(), -2); in TestBogus()
1435 if(test3.getBuffer()!=0 || test3.getBuffer(20)!=0 || test3.getTerminatedBuffer()!=0) { in TestBogus()
[all …]
Dtestidna.cpp806 const UChar* src = source.getBuffer(); in testCompare()
816 testCompare(src,srcLen,uni1.getBuffer(),uni1.length()-1,testName, func,FALSE); in testCompare()
818 testCompare(src,srcLen,uni0.getBuffer(),uni0.length()-1,testName, func,FALSE); in testCompare()
822 testCompare(src,srcLen,ascii1.getBuffer(),ascii1.length()-1,testName, func,FALSE); in testCompare()
824 testCompare(src,srcLen,ascii0.getBuffer(),ascii0.length()-1,testName, func,FALSE); in testCompare()
1205 const UChar* src = source.getBuffer(); in testRootLabelSeparator()
1222 testCompare(src,srcLen,uni1.getBuffer(),uni1.length()-1,testName, func,FALSE); in testRootLabelSeparator()
1224 testCompare(src,srcLen,uni0.getBuffer(),uni0.length()-1,testName, func,FALSE); in testRootLabelSeparator()
1228 testCompare(src,srcLen,ascii1.getBuffer(),ascii1.length()-1,testName, func,FALSE); in testRootLabelSeparator()
1230 testCompare(src,srcLen,ascii0.getBuffer(),ascii0.length()-1,testName, func,FALSE); in testRootLabelSeparator()
[all …]
Ditutil.cpp326 umsg_open(hello.getBuffer(), hello.length(), "root", NULL, errorCode)); in TestLocalXyzPointer()
363 uregex_open(pattern.getBuffer(), pattern.length(), 0, NULL, errorCode)); in TestLocalXyzPointer()
376 utrans_openU(id.getBuffer(), id.length(), UTRANS_FORWARD, NULL, 0, NULL, errorCode)); in TestLocalXyzPointer()
419 umsg_open(hello.getBuffer(), hello.length(), "root", NULL, errorCode)); in TestLocalXyzPointerNull()
430 uregex_open(pattern.getBuffer(), pattern.length(), 0, NULL, errorCode)); in TestLocalXyzPointerNull()
443 utrans_openU(id.getBuffer(), id.length(), UTRANS_FORWARD, NULL, 0, NULL, errorCode)); in TestLocalXyzPointerNull()
Dssearch.cpp296 … LocalUStringSearchPointer uss(usearch_openFromCollator(pattern.getBuffer(), pattern.length(), in searchTest()
297 target.getBuffer(), target.length(), in searchTest()
334 uss.adoptInstead(usearch_openFromCollator(pattern.getBuffer(), pattern.length(), in searchTest()
335 target.getBuffer(), target.length(), in searchTest()
635 …BMS *bms = bms_open(ucd, pattern.getBuffer(), pattern.length(), target.getBuffer(), target.length(… in bmSearchTest()
714 … UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); in OrderList()
1115 … UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); in PCEList()
1401 longPattern = bms_open(data, lpu.getBuffer(), lpu.length(), NULL, 0, &status); in bmsTest()
1402 shortPattern = bms_open(data, spu.getBuffer(), spu.length(), NULL, 0, &status); in bmsTest()
1411 bms_setTargetString(longPattern, target.getBuffer(), target.length(), &status); in bmsTest()
[all …]
/external/icu4c/test/perf/utrie2perf/
Dutrie2perf.cpp56 UPerfTest::getBuffer(inputLength, status); in UTrie2PerfTest()
84 const UChar *getBuffer() const { return buffer; } in getBuffer() function in UTrie2PerfTest
124 qcResult=unorm_quickCheck(testcase.getBuffer(), testcase.getBufferLen(), in call()
144 qcResult=unorm_quickCheck(testcase.getBuffer(), testcase.getBufferLen(),
177 destCapacity=unorm_normalize(testcase.getBuffer(), testcase.getBufferLen(), in ToNFC()
192 int32_t destLength=unorm_normalize(testcase.getBuffer(), testcase.getBufferLen(), in call()
215 const UChar *buffer=testcase.getBuffer(); in call()
/external/nist-sip/java/gov/nist/core/
DHostNameParser.java163 lexer.getBuffer() + ": Illegal Host name ", in ipv6Reference()
189 lexer.getBuffer().substring(startPtr, lexer.getPtr())) in host()
196 hostname = lexer.getBuffer().substring(startPtr, lexer.getPtr()); in host()
201 lexer.getBuffer() + ": Missing host name", in host()
282 lexer.getBuffer() + " :Error parsing port ", in hostPort()
306 throw new ParseException( lexer.getBuffer() + in hostPort()
/external/clang/lib/Basic/
DSourceLocation.cpp123 const llvm::MemoryBuffer* FullSourceLoc::getBuffer(bool *Invalid) const { in getBuffer() function in FullSourceLoc
125 return SrcMgr->getBuffer(SrcMgr->getFileID(*this), Invalid); in getBuffer()
129 return getBuffer(Invalid)->getBuffer(); in getBufferData()
DSourceManager.cpp81 const llvm::MemoryBuffer *ContentCache::getBuffer(Diagnostic &Diag, in getBuffer() function in ContentCache
146 llvm::StringRef BufStr = Buffer.getPointer()->getBuffer(); in getBuffer()
568 return IR->getBuffer(Diag, *this, SourceLocation(), Invalid); in getMemoryBufferForFile()
601 = SLoc.getFile().getContentCache()->getBuffer(Diag, *this, SourceLocation(), in getBufferData()
609 return Buf->getBuffer(); in getBufferData()
920 ->getBuffer(Diag, *this, SourceLocation(), &CharDataInvalid); in getCharacterData()
932 const char *Buf = getBuffer(FID, &MyInvalid)->getBufferStart(); in getColumnNumber()
982 const MemoryBuffer *Buffer = FI->getBuffer(Diag, SM, SourceLocation(), in ComputeLineNumbers()
1211 return getBuffer(getFileID(Loc), Invalid)->getBufferIdentifier(); in getBufferName()
1243 Filename = C->getBuffer(Diag, *this)->getBufferIdentifier(); in getPresumedLoc()
[all …]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DMemoryHandlerTest.java104 writer.getBuffer().setLength(0); in testClose()
119 writer.getBuffer().setLength(0); in testFlush()
299 writer.getBuffer().setLength(0); in testSetPushLevel()
305 writer.getBuffer().setLength(0); in testSetPushLevel()
313 writer.getBuffer().setLength(0); in testPushPublic()
320 writer.getBuffer().setLength(0); in testPushPublic()
326 writer.getBuffer().setLength(0); in testPushPublic()
351 writer.getBuffer().setLength(0); in testPushPublic()
/external/webkit/Source/WebCore/fileapi/
DWebKitBlobBuilder.cpp53 Vector<char>& WebKitBlobBuilder::getBuffer() in getBuffer() function in WebCore::WebKitBlobBuilder
73 Vector<char>& buffer = getBuffer(); in append()
93 Vector<char>& buffer = getBuffer(); in append()
/external/guava/src/com/google/common/io/
DFileBackedOutputStream.java51 byte[] getBuffer() { in getBuffer() method in FileBackedOutputStream.MemoryOutput
129 memory.getBuffer(), 0, memory.getCount()); in openStream()
195 transfer.write(memory.getBuffer(), 0, memory.getCount()); in update()
/external/icu4c/test/perf/unisetperf/
Dunisetperf.cpp60 UPerfTest::getBuffer(inputLength, status); in UnicodeSetPerformanceTest()
96 const UChar *s=getBuffer(); in countSpans()
118 const UChar *getBuffer() const { return buffer; } in getBuffer() function in UnicodeSetPerformanceTest
177 const UChar *s=testcase.getBuffer(); in call()
239 const UChar *s=testcase.getBuffer(); in call()
290 const UChar *s=testcase.getBuffer(); in call()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp110 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID); in EscapeText()
230 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID); in AddLineNumbers()
275 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID); in AddHeaderFooterInternalBuiltinCSS()
362 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in SyntaxHighlight()
456 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in HighlightMacros()
/external/icu4c/extra/uconv/
Duconv.cpp447 const UChar *u = s.getBuffer(), *limit = u + s.length(); in getChunkLimit()
465 return (int32_t)(u - s.getBuffer()); in getChunkLimit()
628 u_wmsg(stderr, "cantOpenInputF", str1.getBuffer(), str2.getBuffer()); in convertFile()
765 unibuf = unibufp = u.getBuffer((int32_t)bufsz); in convertFile()
918 unibuf = unibufbp = u.getBuffer(); in convertFile()
1075 res = u_wmsg(fp, "usage", mname.getBuffer(), upname.getBuffer()); in usage()
1329 str1.getBuffer(), str2.getBuffer()); in main()

12345678