Home
last modified time | relevance | path

Searched refs:writable_str (Results 1 – 25 of 48) sorted by relevance

12

/external/skia/src/core/
DSkString.cpp49 char* heapBufferDest = heapBuffer->writable_str(); in apply_format_string()
340 char* SkString::writable_str() { in writable_str() function in SkString
357 char* p = this->writable_str(); in resize()
362 char* dest = newString.writable_str(); in resize()
380 char* p = this->writable_str(); in set()
420 char* dst = this->writable_str(); in insert()
434 char* dst = tmp.writable_str(); in insert()
580 char* dst = tmp.writable_str(); in remove()
DSkStringUtils.cpp74 char* out = ret.writable_str(); in SkStringFromUTF16()
78 SkASSERT(out == ret.writable_str() + n); in SkStringFromUTF16()
DSkFontDescriptor.cpp35 if (stream->read(string->writable_str(), length) != length) { return false; } in read_string()
/external/skia/tools/viewer/
DParticlesSlide.cpp62 SkASSERT(data->Buf == s->writable_str()); in InputTextCallback()
65 data->Buf = s->writable_str(); in InputTextCallback()
103 fDirty = ImGui::InputTextMultiline(item(name), s.writable_str(), s.size() + 1, in visit()
107 fDirty = ImGui::InputText(item(name), s.writable_str(), s.size() + 1, flags, in visit()
248 ImGui::InputText("Directory", dirname.writable_str(), dirname.size() + 1, textFlags, in draw()
292 ImGui::InputText("##Name", fLoaded[i].fName.writable_str(), fLoaded[i].fName.size() + 1, in draw()
DSkSLSlide.cpp29 SkASSERT(data->Buf == s->writable_str()); in InputTextCallback()
32 data->Buf = s->writable_str(); in InputTextCallback()
129 if (ImGui::InputTextMultiline("Code", fSkSL.writable_str(), fSkSL.size() + 1, boxSize, flags, in draw()
/external/skqp/src/core/
DSkString.cpp40 std::vsnprintf(heapBuffer->writable_str(), *length + 1, format, argsCopy); in apply_format_string()
346 char* SkString::writable_str() { in writable_str() function in SkString
369 char* p = this->writable_str(); in set()
377 char* p = this->writable_str(); in set()
417 char* dst = this->writable_str(); in insert()
431 char* dst = tmp.writable_str(); in insert()
558 char* dst = tmp.writable_str(); in remove()
DSkStringUtils.cpp74 char* out = ret.writable_str(); in SkStringFromUTF16()
78 SkASSERT(out == ret.writable_str() + n); in SkStringFromUTF16()
DSkFontDescriptor.cpp36 if (stream->read(string->writable_str(), length) != length) { return false; } in read_string()
/external/skia/src/pdf/
DSkPDFMetadata.cpp79 char* out = ret.writable_str(); in to_utf16be()
93 SkASSERT(out == ret.writable_str() + 2 * n); in to_utf16be()
262 char* out = output.writable_str(); in escape_xml()
285 SkASSERT(out == &output.writable_str()[output.size()]); in escape_xml()
/external/skqp/src/pdf/
DSkPDFMetadata.cpp85 char* out = ret.writable_str(); in to_utf16be()
99 SkASSERT(out == ret.writable_str() + 2 * n); in to_utf16be()
278 char* out = output.writable_str(); in escape_xml()
301 SkASSERT(out == &output.writable_str()[output.size()]); in escape_xml()
/external/skqp/tools/gpu/
DMemoryCache.cpp18 SkBase64::Encode(data.data(), data.size(), str.writable_str()); in data_to_str()
/external/skqp/tools/
Dchrome_fuzz.cpp27 (void) fread(testdata->writable_str(), len, file); in read_test_case()
/external/skia/tools/
Dchrome_fuzz.cpp27 (void) fread(testdata->writable_str(), len, file); in read_test_case()
/external/skqp/include/core/
DSkString.h180 char* writable_str();
181 char& operator[](size_t n) { return this->writable_str()[n]; }
/external/skia/include/core/
DSkString.h174 char* writable_str();
175 char& operator[](size_t n) { return this->writable_str()[n]; }
/external/skqp/src/utils/win/
DSkDWrite.cpp83 …len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, skname->writable_str(), len, nullptr, nullptr… in sk_wchar_to_skstring()
/external/skia/src/utils/win/
DSkDWrite.cpp83 …len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, skname->writable_str(), len, nullptr, nullptr… in sk_wchar_to_skstring()
/external/skia/experimental/skrive/src/reader/
DBinaryReader.cpp82 return validateSize(length) && fStream->read(str.writable_str(), length) == length in readString()
/external/skia/tools/gpu/
DMemoryCache.cpp25 SkBase64::Encode(data.data(), data.size(), str.writable_str()); in data_to_str()
/external/skqp/tests/
DTestUtils.cpp179 SkBase64::Encode(pngData->data(), pngData->size(), dst->writable_str()); in bitmap_to_base64_data_uri()
/external/skqp/src/utils/
DSkParsePath.cpp265 stream.copyTo(str->writable_str()); in ToSVGString()
/external/skqp/src/xml/
DSkXMLWriter.cpp138 (void)escape_markup(valueStr.writable_str(), value, length); in addAttributeLen()
/external/skia/src/xml/
DSkXMLWriter.cpp138 (void)escape_markup(valueStr.writable_str(), value, length); in addAttributeLen()
/external/skia/src/utils/
DSkParsePath.cpp278 stream.copyTo(str->writable_str()); in ToSVGString()
/external/skia/tests/
DTestUtils.cpp133 SkBase64::Encode(pngData->data(), pngData->size(), dst->writable_str()); in BipmapToBase64DataURI()

12