Home
last modified time | relevance | path

Searched refs:pStr (Results 1 – 25 of 37) sorted by relevance

12

/external/ltp/testcases/kernel/io/disktest/
Dsfunc.c101 OFF_T my_strtofft(const char *pStr) in my_strtofft() argument
108 for (;; pStr++) { in my_strtofft()
109 switch (*pStr) { in my_strtofft()
123 pStr++; in my_strtofft()
128 while (*pStr >= '0' && *pStr <= '9') { in my_strtofft()
129 value = (value * 10) + (*pStr++ - '0'); in my_strtofft()
132 while ((*pStr >= '0' && *pStr <= '9') || in my_strtofft()
133 (*pStr >= 'A' && *pStr <= 'F') || in my_strtofft()
134 (*pStr >= 'a' && *pStr <= 'f')) { in my_strtofft()
135 if (*pStr >= '0' && *pStr <= '9') in my_strtofft()
[all …]
Dsfunc.h120 OFF_T my_strtofft(const char *pStr);
/external/pdfium/core/fxcrt/
Dwidestring.cpp62 for (const wchar_t* pStr = pFormat; *pStr != 0; pStr++) { in GuessSizeForVSWPrintf() local
63 if (*pStr != '%' || *(pStr = pStr + 1) == '%') { in GuessSizeForVSWPrintf()
69 for (; *pStr != 0; pStr++) { in GuessSizeForVSWPrintf()
70 if (*pStr == '#') { in GuessSizeForVSWPrintf()
72 } else if (*pStr == '*') { in GuessSizeForVSWPrintf()
74 } else if (*pStr != '-' && *pStr != '+' && *pStr != '0' && *pStr != ' ') { in GuessSizeForVSWPrintf()
79 nWidth = FXSYS_wtoi(pStr); in GuessSizeForVSWPrintf()
80 while (FXSYS_IsDecimalDigit(*pStr)) in GuessSizeForVSWPrintf()
81 ++pStr; in GuessSizeForVSWPrintf()
86 if (*pStr == '.') { in GuessSizeForVSWPrintf()
[all …]
Dcfx_seekablestreamproxy.cpp98 void SwapByteOrder(uint16_t* pStr, size_t iLength) { in SwapByteOrder() argument
100 uint16_t wch = *pStr; in SwapByteOrder()
101 *pStr++ = (wch >> 8) | (wch << 8); in SwapByteOrder()
201 size_t CFX_SeekableStreamProxy::ReadBlock(wchar_t* pStr, size_t size) { in ReadBlock() argument
202 if (!pStr || size == 0) in ReadBlock()
208 size_t iLen = ReadData(reinterpret_cast<uint8_t*>(pStr), iBytes); in ReadBlock()
211 SwapByteOrder(reinterpret_cast<uint16_t*>(pStr), size); in ReadBlock()
215 UTF16ToWChar(pStr, size); in ReadBlock()
231 static_cast<wchar_t*>(pStr), size); in ReadBlock()
Dstring_data_template.h44 static StringDataTemplate* Create(const CharType* pStr, size_t nLen) { in Create() argument
46 result->CopyContents(pStr, nLen); in Create()
66 void CopyContents(const CharType* pStr, size_t nLen) { in CopyContents() argument
70 memcpy(m_String, pStr, nLen * sizeof(CharType)); in CopyContents()
74 void CopyContentsAt(size_t offset, const CharType* pStr, size_t nLen) { in CopyContentsAt() argument
79 memcpy(m_String + offset, pStr, nLen * sizeof(CharType)); in CopyContentsAt()
Dbytestring.cpp118 ByteString::ByteString(const char* pStr, size_t nLen) { in ByteString() argument
120 m_pData.Reset(StringData::Create(pStr, nLen)); in ByteString()
123 ByteString::ByteString(const uint8_t* pStr, size_t nLen) { in ByteString() argument
126 StringData::Create(reinterpret_cast<const char*>(pStr), nLen)); in ByteString()
543 const char* pStr = static_cast<const char*>( in Find() local
545 return pStr ? Optional<size_t>(static_cast<size_t>(pStr - m_pData->m_String)) in Find()
556 const char* pStr = in Find() local
559 return pStr ? Optional<size_t>(static_cast<size_t>(pStr - m_pData->m_String)) in Find()
Dcfx_seekablestreamproxy.h23 size_t ReadBlock(wchar_t* pStr, size_t size);
Dbytestring.h56 ByteString(const char* pStr, size_t len);
57 ByteString(const uint8_t* pStr, size_t len);
Dwidestring.h55 WideString(const wchar_t* pStr, size_t len);
/external/skia/tools/
Dwin_lcid.cpp11 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/skqp/tools/
Dwin_lcid.cpp11 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/pdfium/fxjs/
Dcjs_globalconsts.cpp12 const char* pStr = (value); \
14 v8::String::NewFromUtf8(info.GetIsolate(), pStr, \
15 v8::NewStringType::kNormal, strlen(pStr)) \
Dcjs_eventrecorder.h166 void SetValueForTest(WideString* pStr) { m_pValue = pStr; } in SetValueForTest() argument
Dcjs_object.cpp20 : pEngine->NewString(item.pStr).As<v8::Value>()); in DefineConsts()
Dcjs_object.h22 const char* pStr; member
/external/icu/icu4c/source/common/
Duniset_closure.cpp223 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/core/fxge/android/
Dcfpf_skiafontmgr.cpp68 uint32_t FPF_GetHashCode_StringA(const char* pStr, int32_t iLength) { in FPF_GetHashCode_StringA() argument
69 if (!pStr) in FPF_GetHashCode_StringA()
72 iLength = strlen(pStr); in FPF_GetHashCode_StringA()
73 const char* pStrEnd = pStr + iLength; in FPF_GetHashCode_StringA()
75 while (pStr < pStrEnd) in FPF_GetHashCode_StringA()
76 uHashCode = 31 * uHashCode + tolower(*pStr++); in FPF_GetHashCode_StringA()
/external/pdfium/xfa/fgas/layout/
Dcfx_txtbreak.cpp667 const wchar_t* pStr = pTxtRun->wsStr.c_str(); in GetDisplayPos() local
712 wch = *pStr++; in GetDisplayPos()
744 wNext = pStr[j]; in GetDisplayPos()
771 wNext = *pStr; in GetDisplayPos()
920 const wchar_t* pStr = pTxtRun->wsStr.c_str(); in GetCharRects() local
951 wch = *pStr++; in GetCharRects()
/external/skqp/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h4595 void Add(const char* pStr);
4605 void VmaStringBuilder::Add(const char* pStr) in Add() argument
4607 const size_t strLen = strlen(pStr); in Add()
4612 memcpy(m_Data.data() + oldCount, pStr, strLen); in Add()
4656 void WriteString(const char* pStr);
4657 void BeginString(const char* pStr = VMA_NULL);
4658 void ContinueString(const char* pStr);
4662 void EndString(const char* pStr = VMA_NULL);
4757 void VmaJsonWriter::WriteString(const char* pStr) in WriteString() argument
4759 BeginString(pStr); in WriteString()
[all …]
/external/pdfium/fxjs/xfa/
Dcjx_object.cpp507 WideString* pStr = nullptr; in TryCData() local
510 pStr = reinterpret_cast<WideString*>(pData); in TryCData()
512 if (pStr) in TryCData()
513 return *pStr; in TryCData()
/external/vulkan-validation-layers/layers/
Dvk_mem_alloc.h3564 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.c2629 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/angle/third_party/vulkan_memory_allocator/src/
Dvk_mem_alloc.h4343 static inline bool VmaStrIsEmpty(const char* pStr) in VmaStrIsEmpty() argument
4345 return pStr == VMA_NULL || *pStr == '\0'; in VmaStrIsEmpty()
8046 void Add(const char* pStr);
8056 void VmaStringBuilder::Add(const char* pStr) in Add() argument
8058 const size_t strLen = strlen(pStr); in Add()
8063 memcpy(m_Data.data() + oldCount, pStr, strLen); in Add()
8122 void WriteString(const char* pStr);
8123 void BeginString(const char* pStr = VMA_NULL);
8124 void ContinueString(const char* pStr);
8128 void EndString(const char* pStr = VMA_NULL);
[all …]
/external/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h4324 static inline bool VmaStrIsEmpty(const char* pStr) in VmaStrIsEmpty() argument
4326 return pStr == VMA_NULL || *pStr == '\0'; in VmaStrIsEmpty()
8027 void Add(const char* pStr);
8037 void VmaStringBuilder::Add(const char* pStr) in Add() argument
8039 const size_t strLen = strlen(pStr); in Add()
8044 memcpy(m_Data.data() + oldCount, pStr, strLen); in Add()
8103 void WriteString(const char* pStr);
8104 void BeginString(const char* pStr = VMA_NULL);
8105 void ContinueString(const char* pStr);
8109 void EndString(const char* pStr = VMA_NULL);
[all …]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_9_0.inc5 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);

12