Home
last modified time | relevance | path

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

12345678910>>...16

/external/icu/icu4c/source/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()
/external/chromium_org/third_party/icu/source/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()
/external/icu/icu4c/source/i18n/
Dstsearch.cpp37 m_strsrch_ = usearch_open(m_pattern_.getBuffer(), m_pattern_.length(), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
38 m_text_.getBuffer(), m_text_.length(), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
67 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in StringSearch()
69 m_text_.getBuffer(), in StringSearch()
94 m_strsrch_ = usearch_open(m_pattern_.getBuffer(), m_pattern_.length(), in StringSearch()
95 m_text_.getBuffer(), m_text_.length(), in StringSearch()
124 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in StringSearch()
126 m_text_.getBuffer(), in StringSearch()
155 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in StringSearch()
157 m_text_.getBuffer(), in StringSearch()
[all …]
/external/chromium_org/third_party/icu/source/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 …]
Dcoleitr.cpp126 - m_data_->iteratordata_.writableBuffer.getBuffer() in operator ==()
128 - that.m_data_->iteratordata_.writableBuffer.getBuffer()) { in operator ==()
190 u_memcpy(string, source.getBuffer(), length); in setText()
241 u_memcpy(buffer, string.getBuffer(), length); in setText()
299 u_memcpy(string, sourceText.getBuffer(), length); in CollationElementIterator()
366 const UChar *temp = string.getBuffer(); in CollationElementIterator()
441 (othercoliter->pos - othercoliter->writableBuffer.getBuffer()); in operator =()
Dtblcoll.cpp161 ucollator = ucol_openRules(rules.getBuffer(), rules.length(), in construct()
329 …return compare(source.getBuffer(), uprv_min(length,source.length()), target.getBuffer(), uprv_min(… in compare()
351 return ucol_strcoll(ucollator, source.getBuffer(), source.length(), in compare()
352 target.getBuffer(), target.length()); in compare()
406 return getCollationKey(source.getBuffer(), source.length(), sortkey, status); in getCollationKey()
508 return ucol_setVariableTop(ucollator, varTop.getBuffer(), varTop.length(), &status); in setVariableTop()
524 return ucol_getSortKey(ucollator, source.getBuffer(), source.length(), result, resultLength); in getSortKey()
/external/llvm/include/llvm/Support/
DGCOV.h62 StringRef File = Buffer->getBuffer().slice(0, 4); in readGCNOFormat()
73 StringRef File = Buffer->getBuffer().slice(0, 4); in readGCDAFormat()
84 StringRef VersionStr = Buffer->getBuffer().slice(Cursor, Cursor+4); in readGCOVVersion()
102 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readFunctionTag()
115 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readBlockTag()
128 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readEdgeTag()
141 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readLineTag()
154 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readArcTag()
167 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readObjectTag()
180 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); in readProgramTag()
[all …]
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp373 …pareCodePointOrder(u[i+1])>=0 || u[i].compareCodePointOrder(0, INT32_MAX, u[i+1].getBuffer())>=0) { in TestCompare()
945 test1.startsWith(test3.getBuffer(), test3.length()) || in TestPrefixAndSuffix()
962 if(!test1.endsWith(test3.getBuffer(), test3.length())) { in TestPrefixAndSuffix()
1050 UChar *p=test1.getBuffer(20); in TestMiscellaneous()
1060 test1.getBuffer(10)!=0 || test1.getBuffer()!=0 in TestMiscellaneous()
1082 const UChar *q=test1.getBuffer(), *r=test1.getBuffer(); in TestMiscellaneous()
1091 test1.getBuffer(20)[2]=0; in TestMiscellaneous()
1098 p=test1.getBuffer(256); in TestMiscellaneous()
1456 test3.setTo(FALSE, test1.getBuffer(), -2); in TestBogus()
1463 if(test3.getBuffer()!=0 || test3.getBuffer(20)!=0 || test3.getTerminatedBuffer()!=0) { in TestBogus()
[all …]
Dssearch.cpp262 … LocalUStringSearchPointer uss(usearch_openFromCollator(pattern.getBuffer(), pattern.length(), in searchTest()
263 target.getBuffer(), target.length(), in searchTest()
300 uss.adoptInstead(usearch_openFromCollator(pattern.getBuffer(), pattern.length(), in searchTest()
301 target.getBuffer(), target.length(), in searchTest()
363 … UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); in OrderList()
739 …LocalUStringSearchPointer ussLong(usearch_openFromCollator(lpUnescaped.getBuffer(), lpUnescaped.le… in sharpSTest()
740 … lpUnescaped.getBuffer(), lpUnescaped.length(), // actual test data will be set later in sharpSTest()
745 …LocalUStringSearchPointer ussShort(usearch_openFromCollator(spUnescaped.getBuffer(), spUnescaped.l… in sharpSTest()
746 … spUnescaped.getBuffer(), spUnescaped.length(), // actual test data will be set later in sharpSTest()
757 usearch_setText(ussLong.getAlias(), target.getBuffer(), target.length(), &status); in sharpSTest()
[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 …]
/external/chromium_org/third_party/icu/source/test/intltest/
Dustrtest.cpp373 …pareCodePointOrder(u[i+1])>=0 || u[i].compareCodePointOrder(0, INT32_MAX, u[i+1].getBuffer())>=0) { in TestCompare()
945 test1.startsWith(test3.getBuffer(), test3.length()) || in TestPrefixAndSuffix()
962 if(!test1.endsWith(test3.getBuffer(), test3.length())) { in TestPrefixAndSuffix()
1050 UChar *p=test1.getBuffer(20); in TestMiscellaneous()
1060 test1.getBuffer(10)!=0 || test1.getBuffer()!=0 in TestMiscellaneous()
1082 const UChar *q=test1.getBuffer(), *r=test1.getBuffer(); in TestMiscellaneous()
1091 test1.getBuffer(20)[2]=0; in TestMiscellaneous()
1098 p=test1.getBuffer(256); in TestMiscellaneous()
1456 test3.setTo(FALSE, test1.getBuffer(), -2); in TestBogus()
1463 if(test3.getBuffer()!=0 || test3.getBuffer(20)!=0 || test3.getTerminatedBuffer()!=0) { in TestBogus()
[all …]
Dssearch.cpp262 … LocalUStringSearchPointer uss(usearch_openFromCollator(pattern.getBuffer(), pattern.length(), in searchTest()
263 target.getBuffer(), target.length(), in searchTest()
300 uss.adoptInstead(usearch_openFromCollator(pattern.getBuffer(), pattern.length(), in searchTest()
301 target.getBuffer(), target.length(), in searchTest()
363 … UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); in OrderList()
742 …LocalUStringSearchPointer ussLong(usearch_openFromCollator(lpUnescaped.getBuffer(), lpUnescaped.le… in sharpSTest()
743 … lpUnescaped.getBuffer(), lpUnescaped.length(), // actual test data will be set later in sharpSTest()
748 …LocalUStringSearchPointer ussShort(usearch_openFromCollator(spUnescaped.getBuffer(), spUnescaped.l… in sharpSTest()
749 … spUnescaped.getBuffer(), spUnescaped.length(), // actual test data will be set later in sharpSTest()
760 usearch_setText(ussLong.getAlias(), target.getBuffer(), target.length(), &status); in sharpSTest()
[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 …]
/external/chromium_org/third_party/icu/source/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/icu/icu4c/source/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/arduino/hardware/arduino/cores/arduino/
DWString.cpp29 getBuffer( _length = strlen( value ) ); in String()
36 getBuffer( _length = value._length ); in String()
44 getBuffer(1); in String()
54 getBuffer(1); in String()
65 getBuffer( _length = strlen(buf) ); in String()
74 getBuffer( _length = strlen(buf) ); in String()
83 getBuffer( _length = strlen(buf) ); in String()
92 getBuffer( _length = strlen(buf) ); in String()
128 getBuffer( rhs._length ); in operator =()
/external/llvm/include/llvm/ExecutionEngine/
DObjectBuffer.h42 return MemoryBuffer::getMemBuffer(Buffer->getBuffer(), in getMemBuffer()
48 StringRef getBuffer() const { return Buffer->getBuffer(); } in getBuffer() function
/external/clang/lib/Basic/
DSourceLocation.cpp135 const llvm::MemoryBuffer* FullSourceLoc::getBuffer(bool *Invalid) const { in getBuffer() function in FullSourceLoc
137 return SrcMgr->getBuffer(SrcMgr->getFileID(*this), Invalid); in getBuffer()
141 return getBuffer(Invalid)->getBuffer(); in getBufferData()
/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/chromium_org/base/i18n/
Dcase_conversion.cc16 return string16(unicode_string.getBuffer(), unicode_string.length()); in ToLower()
22 return string16(unicode_string.getBuffer(), unicode_string.length()); in ToUpper()
/external/llvm/lib/Object/
DArchive.cpp170 getBuffer(), in getMemoryBuffer()
331 return Parent->SymbolTable->getBuffer().begin() + StringIndex; in getName()
335 const char *Buf = Parent->SymbolTable->getBuffer().begin(); in getMember()
401 const char *Buf = Parent->SymbolTable->getBuffer().begin(); in getNext()
422 Parent->SymbolTable->getBuffer().find('\0', t.StringIndex) + 1; in getNext()
432 const char *buf = SymbolTable->getBuffer().begin(); in symbol_begin()
462 uint32_t string_start_offset = buf - SymbolTable->getBuffer().begin(); in symbol_begin()
470 const char *buf = SymbolTable->getBuffer().begin(); in symbol_end()
/external/guava/guava/src/com/google/common/io/
DFileBackedOutputStream.java53 byte[] getBuffer() { in getBuffer() method in FileBackedOutputStream.MemoryOutput
134 memory.getBuffer(), 0, memory.getCount()); in openStream()
201 transfer.write(memory.getBuffer(), 0, memory.getCount()); in update()

12345678910>>...16