/external/pdfium/core/fxcrt/ |
D | widestring.cpp | 64 for (const wchar_t* pStr = pFormat; *pStr != 0; pStr++) { in GuessSizeForVSWPrintf() local 65 if (*pStr != '%' || *(pStr = pStr + 1) == '%') { in GuessSizeForVSWPrintf() 70 for (; *pStr != 0; pStr++) { in GuessSizeForVSWPrintf() 71 if (*pStr == '#') { in GuessSizeForVSWPrintf() 73 } else if (*pStr == '*') { in GuessSizeForVSWPrintf() 75 } else if (*pStr != '-' && *pStr != '+' && *pStr != '0' && *pStr != ' ') { in GuessSizeForVSWPrintf() 80 iWidth = FXSYS_wtoi(pStr); in GuessSizeForVSWPrintf() 81 while (FXSYS_IsDecimalDigit(*pStr)) in GuessSizeForVSWPrintf() 82 ++pStr; in GuessSizeForVSWPrintf() 88 if (*pStr == '.') { in GuessSizeForVSWPrintf() [all …]
|
D | cfx_seekablestreamproxy.cpp | 87 void SwapByteOrder(uint16_t* pStr, size_t iLength) { in SwapByteOrder() argument 89 uint16_t wch = *pStr; in SwapByteOrder() 90 *pStr++ = (wch >> 8) | (wch << 8); in SwapByteOrder() 187 size_t CFX_SeekableStreamProxy::ReadBlock(wchar_t* pStr, size_t size) { in ReadBlock() argument 188 if (!pStr || size == 0) in ReadBlock() 194 size_t iLen = ReadData(reinterpret_cast<uint8_t*>(pStr), iBytes); in ReadBlock() 197 SwapByteOrder(reinterpret_cast<uint16_t*>(pStr), size); in ReadBlock() 201 UTF16ToWChar(pStr, size); in ReadBlock() 217 std::tie(iSrc, size) = UTF8Decode({buf.data(), iLen}, {pStr, size}); in ReadBlock()
|
D | string_data_template.cpp | 50 const CharType* pStr, in Create() argument 53 result->CopyContents(pStr, nLen); in Create() 72 void StringDataTemplate<CharType>::CopyContents(const CharType* pStr, in CopyContents() argument 76 memcpy(m_String, pStr, nLen * sizeof(CharType)); in CopyContents() 82 const CharType* pStr, in CopyContentsAt() argument 87 memcpy(m_String + offset, pStr, nLen * sizeof(CharType)); in CopyContentsAt()
|
D | string_data_template.h | 19 static StringDataTemplate* Create(const CharType* pStr, size_t nLen); 29 void CopyContents(const CharType* pStr, size_t nLen); 30 void CopyContentsAt(size_t offset, const CharType* pStr, size_t nLen);
|
D | bytestring.cpp | 117 ByteString::ByteString(const char* pStr, size_t nLen) { in ByteString() argument 119 m_pData.Reset(StringData::Create(pStr, nLen)); in ByteString() 122 ByteString::ByteString(const uint8_t* pStr, size_t nLen) { in ByteString() argument 125 StringData::Create(reinterpret_cast<const char*>(pStr), nLen)); in ByteString() 552 const char* pStr = static_cast<const char*>( in Find() local 554 return pStr ? absl::optional<size_t>( in Find() 555 static_cast<size_t>(pStr - m_pData->m_String)) in Find() 567 const char* pStr = in Find() local 570 return pStr ? absl::optional<size_t>( in Find() 571 static_cast<size_t>(pStr - m_pData->m_String)) in Find()
|
D | cfx_seekablestreamproxy.h | 26 size_t ReadBlock(wchar_t* pStr, size_t size);
|
D | bytestring.h | 60 ByteString(const char* pStr, size_t len); 61 ByteString(const uint8_t* pStr, size_t len);
|
D | widestring.h | 61 WideString(const wchar_t* pStr, size_t len);
|
/external/skia/tools/ |
D | win_lcid.cpp | 11 BOOL CALLBACK MyFuncLocaleEx(LPWSTR pStr, DWORD dwFlags, LPARAM lparam) { in MyFuncLocaleEx() argument 15 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE); in MyFuncLocaleEx() 17 wprintf(L"Locale %s had error %d\n", pStr, GetLastError()); in MyFuncLocaleEx() 21 LCID lcid = LocaleNameToLCID(pStr, nullptr); in MyFuncLocaleEx() 30 wprintf(L" { 0x%.4x, \"%s\" }, //%s\n", lcid, pStr, wcBuffer); in MyFuncLocaleEx()
|
/external/nanopb-c/tests/regression/issue_504/ |
D | test.c | 18 char *pStr, *pStrAligned; in main() local 22 pStr = malloc(sizeof(STR) + ALIGN); in main() 23 pStrAligned = (char*)((uintptr_t)(pStr + ALIGN) & ~(ALIGN - 1)); in main() 34 free(pStr); in main()
|
/external/icu/icu4c/source/common/ |
D | uniset_closure.cpp | 223 const UnicodeString *pStr; in closeOver() local 226 pStr = (const UnicodeString *) strings->elementAt(j); in closeOver() 227 (str = *pStr).toLower(root); in closeOver() 230 (str = *pStr).toTitle(bi, root); in closeOver() 233 (str = *pStr).toUpper(root); in closeOver() 235 (str = *pStr).foldCase(); in closeOver()
|
/external/cronet/third_party/icu/source/common/ |
D | uniset_closure.cpp | 223 const UnicodeString *pStr; in closeOver() local 226 pStr = (const UnicodeString *) strings->elementAt(j); in closeOver() 227 (str = *pStr).toLower(root); in closeOver() 230 (str = *pStr).toTitle(bi, root); in closeOver() 233 (str = *pStr).toUpper(root); in closeOver() 235 (str = *pStr).foldCase(); in closeOver()
|
/external/pdfium/fxjs/ |
D | cjs_event_context.h | 139 void SetValueForTest(WideString* pStr) { m_pValue = pStr; } in SetValueForTest() argument
|
D | cjs_object.h | 22 const char* pStr; member
|
D | cjs_object.cpp | 20 : pEngine->NewString(item.pStr).As<v8::Value>()); in DefineConsts()
|
/external/pdfium/xfa/fgas/layout/ |
D | cfgas_txtbreak.cpp | 637 const wchar_t* pStr = run.wsStr.c_str(); in GetDisplayPos() local 674 wch = *pStr++; in GetDisplayPos() 707 wNext = pStr[j]; in GetDisplayPos() 736 wNext = *pStr; in GetDisplayPos() 884 const wchar_t* pStr = run.wsStr.c_str(); in GetCharRects() local 902 wch = *pStr++; in GetCharRects()
|
/external/vulkan-validation-layers/layers/ |
D | vk_mem_alloc.h | 3564 static inline bool VmaStrIsEmpty(const char* pStr) in VmaStrIsEmpty() argument 3566 return pStr == VMA_NULL || *pStr == '\0'; in VmaStrIsEmpty() 6829 void Add(const char* pStr); 6839 void VmaStringBuilder::Add(const char* pStr) in Add() argument 6841 const size_t strLen = strlen(pStr); in Add() 6846 memcpy(m_Data.data() + oldCount, pStr, strLen); in Add() 6891 void WriteString(const char* pStr); 6892 void BeginString(const char* pStr = VMA_NULL); 6893 void ContinueString(const char* pStr); 6897 void EndString(const char* pStr = VMA_NULL); [all …]
|
/external/python/cpython2/Mac/Modules/cf/ |
D | _CFmodule.c | 2629 Str255 pStr; in CFMutableStringRefObj_CFStringAppendPascalString() local 2635 PyMac_GetStr255, pStr, in CFMutableStringRefObj_CFStringAppendPascalString() 2639 pStr, in CFMutableStringRefObj_CFStringAppendPascalString() 4193 Str255 pStr; in CF_CFStringCreateWithPascalString() local 4199 PyMac_GetStr255, pStr, in CF_CFStringCreateWithPascalString() 4203 pStr, in CF_CFStringCreateWithPascalString() 4256 Str255 pStr; in CF_CFStringCreateWithPascalStringNoCopy() local 4262 PyMac_GetStr255, pStr, in CF_CFStringCreateWithPascalStringNoCopy() 4266 pStr, in CF_CFStringCreateWithPascalStringNoCopy()
|
/external/skia/vma_android/include/ |
D | vk_mem_alloc.h | 3375 static inline bool VmaStrIsEmpty(const char* pStr) in VmaStrIsEmpty() argument 3377 return pStr == VMA_NULL || *pStr == '\0'; in VmaStrIsEmpty() 5389 void Add(const char* pStr); 5399 void VmaStringBuilder::Add(const char* pStr) in Add() argument 5401 const size_t strLen = strlen(pStr); in Add() 5406 memcpy(m_Data.data() + oldCount, pStr, strLen); in Add() 5474 void WriteString(const char* pStr); 5480 void BeginString(const char* pStr = VMA_NULL); 5482 void ContinueString(const char* pStr); 5491 void EndString(const char* pStr = VMA_NULL); [all …]
|
/external/angle/third_party/vulkan_memory_allocator/include/ |
D | vk_mem_alloc.h | 2927 static inline bool VmaStrIsEmpty(const char* pStr) in VmaStrIsEmpty() argument 2929 return pStr == VMA_NULL || *pStr == '\0'; in VmaStrIsEmpty() 7058 void Add(const char* pStr); 7068 void VmaStringBuilder::Add(const char* pStr) in Add() argument 7070 const size_t strLen = strlen(pStr); in Add() 7075 memcpy(m_Data.data() + oldCount, pStr, strLen); in Add() 7134 void WriteString(const char* pStr); 7135 void BeginString(const char* pStr = VMA_NULL); 7136 void ContinueString(const char* pStr); 7140 void EndString(const char* pStr = VMA_NULL); [all …]
|
/external/tensorflow/tensorflow/compiler/xla/stream_executor/cuda/ |
D | cuda_9_0.inc | 5 CUresult CUDAAPI cuGetErrorString(CUresult error, const char **pStr) { 9 return func_ptr(error, pStr); 12 CUresult CUDAAPI cuGetErrorName(CUresult error, const char **pStr) { 16 return func_ptr(error, pStr);
|
D | cuda_10_0.inc | 5 CUresult CUDAAPI cuGetErrorString(CUresult error, const char **pStr) { 9 return func_ptr(error, pStr); 12 CUresult CUDAAPI cuGetErrorName(CUresult error, const char **pStr) { 16 return func_ptr(error, pStr);
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 22860 SQLITE_PRIVATE void sqlite3VdbeMemPrettyPrint(Mem *pMem, StrAccum *pStr); 31742 sqlite3_str *pStr = sqlite3_str_new(0); 31744 sqlite3_str_appendf(pStr, "IN flags=0x%x", pExpr->flags); 31745 if( pExpr->iTable ) sqlite3_str_appendf(pStr, " iTable=%d",pExpr->iTable); 31747 sqlite3_str_appendf(pStr, " subrtn(%d,%d)", 31750 z = sqlite3_str_finish(pStr); 80741 DblquoteStr *pStr = sqlite3DbMallocRawNN(db, 80742 sizeof(*pStr)+n+1-sizeof(pStr->z)); 80743 if( pStr ){ 80744 pStr->pNextStr = p->pDblStr; [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 22860 SQLITE_PRIVATE void sqlite3VdbeMemPrettyPrint(Mem *pMem, StrAccum *pStr); 31742 sqlite3_str *pStr = sqlite3_str_new(0); 31744 sqlite3_str_appendf(pStr, "IN flags=0x%x", pExpr->flags); 31745 if( pExpr->iTable ) sqlite3_str_appendf(pStr, " iTable=%d",pExpr->iTable); 31747 sqlite3_str_appendf(pStr, " subrtn(%d,%d)", 31750 z = sqlite3_str_finish(pStr); 80757 DblquoteStr *pStr = sqlite3DbMallocRawNN(db, 80758 sizeof(*pStr)+n+1-sizeof(pStr->z)); 80759 if( pStr ){ 80760 pStr->pNextStr = p->pDblStr; [all …]
|
/external/rust/crates/libsqlite3-sys/sqlite3/ |
D | sqlite3.c | 21595 SQLITE_PRIVATE void sqlite3VdbeMemPrettyPrint(Mem *pMem, StrAccum *pStr); 78464 DblquoteStr *pStr = sqlite3DbMallocRawNN(db, 78465 sizeof(*pStr)+n+1-sizeof(pStr->z)); 78466 if( pStr ){ 78467 pStr->pNextStr = p->pDblStr; 78468 p->pDblStr = pStr; 78469 memcpy(pStr->z, z, n+1); 78484 DblquoteStr *pStr; 78487 for(pStr=pVdbe->pDblStr; pStr; pStr=pStr->pNextStr){ 78488 if( strcmp(zId, pStr->z)==0 ) return 1; [all …]
|