Home
last modified time | relevance | path

Searched refs:pFormat (Results 1 – 20 of 20) sorted by relevance

/external/pdfium/xfa/fxfa/parser/
Dcxfa_localevalue.cpp145 auto pFormat = std::make_unique<CFGAS_StringFormatter>(wsFormat); in ValidateValue() local
146 switch (ValueCategory(pFormat->GetCategory(), m_eType)) { in ValidateValue()
148 bRet = pFormat->ParseNull(wsValue); in ValidateValue()
153 bRet = pFormat->ParseZero(wsValue); in ValidateValue()
159 bRet = pFormat->ParseNum(m_pLocaleMgr, wsValue, &fNum); in ValidateValue()
161 bRet = pFormat->FormatNum(m_pLocaleMgr, wsValue, &wsOutput); in ValidateValue()
165 bRet = pFormat->ParseText(wsValue, &wsOutput); in ValidateValue()
168 bRet = pFormat->FormatText(wsValue, &wsOutput); in ValidateValue()
174 bRet = pFormat->ParseDateTime( in ValidateValue()
178 bRet = pFormat->FormatDateTime( in ValidateValue()
[all …]
Dcxfa_node.cpp4739 auto* pFormat = GetChild<CXFA_Format>(0, XFA_Element::Format, false); in GetPictureContent() local
4740 if (pFormat) { in GetPictureContent()
4742 pFormat->GetChild<CXFA_Picture>(0, XFA_Element::Picture, false); in GetPictureContent()
/external/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.cpp397 …rties(const AHardwareBuffer_Desc &ahbDesc, VkAndroidHardwareBufferFormatPropertiesANDROID *pFormat) in GetAndroidHardwareBufferFormatProperties() argument
399 pFormat->sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID; in GetAndroidHardwareBufferFormatProperties()
400 pFormat->pNext = nullptr; in GetAndroidHardwareBufferFormatProperties()
401 pFormat->format = GetVkFormatFromAHBFormat(ahbDesc.format); in GetAndroidHardwareBufferFormatProperties()
402 pFormat->externalFormat = ahbDesc.format; in GetAndroidHardwareBufferFormatProperties()
403 pFormat->formatFeatures = GetVkFormatFeaturesFromAHBFormat(ahbDesc.format); in GetAndroidHardwareBufferFormatProperties()
404pFormat->samplerYcbcrConversionComponents = { VK_COMPONENT_SWIZZLE_IDENTITY, VK_COMPONENT_SWIZZLE_… in GetAndroidHardwareBufferFormatProperties()
405 pFormat->suggestedYcbcrModel = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601; in GetAndroidHardwareBufferFormatProperties()
406 pFormat->suggestedYcbcrRange = VK_SAMPLER_YCBCR_RANGE_ITU_NARROW; in GetAndroidHardwareBufferFormatProperties()
407 pFormat->suggestedXChromaOffset = VK_CHROMA_LOCATION_COSITED_EVEN; in GetAndroidHardwareBufferFormatProperties()
[all …]
DVkDeviceMemoryExternalAndroid.hpp64 …ties(const AHardwareBuffer_Desc &ahbDesc, VkAndroidHardwareBufferFormatPropertiesANDROID *pFormat);
/external/mesa3d/src/mesa/state_tracker/
Dst_format.c1246 enum pipe_format pFormat; in st_ChooseTextureFormat() local
1308 pFormat = st_choose_matching_format(st, bindings, format, type, in st_ChooseTextureFormat()
1311 if (pFormat != PIPE_FORMAT_NONE) in st_ChooseTextureFormat()
1312 return st_pipe_format_to_mesa_format(pFormat); in st_ChooseTextureFormat()
1318 pFormat = st_choose_matching_format(st, PIPE_BIND_SAMPLER_VIEW, in st_ChooseTextureFormat()
1321 if (pFormat != PIPE_FORMAT_NONE) in st_ChooseTextureFormat()
1322 return st_pipe_format_to_mesa_format(pFormat); in st_ChooseTextureFormat()
1327 pFormat = st_choose_format(st, internalFormat, format, type, in st_ChooseTextureFormat()
1331 if (pFormat == PIPE_FORMAT_NONE && !is_renderbuffer) { in st_ChooseTextureFormat()
1333 pFormat = st_choose_format(st, internalFormat, format, type, in st_ChooseTextureFormat()
[all …]
/external/pdfium/core/fxcrt/
Dbytestring.cpp82 ByteString ByteString::FormatV(const char* pFormat, va_list argList) { in FormatV() argument
85 int nMaxLen = vsnprintf(nullptr, 0, pFormat, argListCopy); in FormatV()
100 vsnprintf(buf.data(), nMaxLen + 1, pFormat, argListCopy); in FormatV()
108 ByteString ByteString::Format(const char* pFormat, ...) { in Format() argument
110 va_start(argList, pFormat); in Format()
111 ByteString ret = FormatV(pFormat, argList); in Format()
Dwidestring.cpp61 absl::optional<size_t> GuessSizeForVSWPrintf(const wchar_t* pFormat, in GuessSizeForVSWPrintf() argument
64 for (const wchar_t* pStr = pFormat; *pStr != 0; pStr++) { in GuessSizeForVSWPrintf()
256 const wchar_t* pFormat, in TryVSWPrintf() argument
273 int ret = vswprintf(buffer.data(), size + 1, pFormat, argList); in TryVSWPrintf()
323 WideString WideString::Format(const wchar_t* pFormat, ...) { in Format() argument
325 va_start(argList, pFormat); in Format()
326 WideString ret = FormatV(pFormat, argList); in Format()
Dbytestring.h40 [[nodiscard]] static ByteString Format(const char* pFormat, ...);
41 [[nodiscard]] static ByteString FormatV(const char* pFormat, va_list argList);
Dwidestring.h40 [[nodiscard]] static WideString Format(const wchar_t* pFormat, ...);
/external/walt/android/WALT/app/src/main/jni/
Dplayer.c265 audio_source.pFormat = &format_pcm; in Java_org_chromium_latency_walt_AudioTest_createBufferQueueAudioPlayer()
275 audio_sink.pFormat = NULL; in Java_org_chromium_latency_walt_AudioTest_createBufferQueueAudioPlayer()
/external/oboe/src/opensles/
DAudioInputStreamOpenSLES.cpp132 audioSink.pFormat = &format_pcm_ex; in open()
DAudioOutputStreamOpenSLES.cpp173 audioSrc.pFormat = &format_pcm_ex; in open()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp1249 NumberFormat *pFormat = NumberFormat::createPercentInstance(en_US, status); in TestLenientParse() local
1251 if (pFormat == NULL || U_FAILURE(status)) { in TestLenientParse()
1254 pFormat->setLenient(true); in TestLenientParse()
1258 pFormat->parse(testCase, n, status); in TestLenientParse()
1273 pFormat->parse(testCase, n, status); in TestLenientParse()
1285 delete pFormat; in TestLenientParse()
9182 LocalPointer<NumberFormat>pFormat(NumberFormat::createPercentInstance("en_US", status)); in Test13055_PercentageRounding() local
9187 pFormat->setMaximumFractionDigits(0); in Test13055_PercentageRounding()
9188 pFormat->setRoundingMode(DecimalFormat::kRoundHalfEven); in Test13055_PercentageRounding()
9189 pFormat->format(2.155, actual); in Test13055_PercentageRounding()
/external/cronet/third_party/icu/source/test/intltest/
Dnumfmtst.cpp1249 NumberFormat *pFormat = NumberFormat::createPercentInstance(en_US, status); in TestLenientParse() local
1251 if (pFormat == NULL || U_FAILURE(status)) { in TestLenientParse()
1254 pFormat->setLenient(true); in TestLenientParse()
1258 pFormat->parse(testCase, n, status); in TestLenientParse()
1273 pFormat->parse(testCase, n, status); in TestLenientParse()
1285 delete pFormat; in TestLenientParse()
9182 LocalPointer<NumberFormat>pFormat(NumberFormat::createPercentInstance("en_US", status)); in Test13055_PercentageRounding() local
9187 pFormat->setMaximumFractionDigits(0); in Test13055_PercentageRounding()
9188 pFormat->setRoundingMode(DecimalFormat::kRoundHalfEven); in Test13055_PercentageRounding()
9189 pFormat->format(2.155, actual); in Test13055_PercentageRounding()
/external/tensorflow/tensorflow/compiler/xla/stream_executor/cuda/
Dcuda_9_0.inc1461 CUresult CUDAAPI cuTexRefGetFormat(CUarray_format *pFormat, int *pNumChannels,
1466 return func_ptr(pFormat, pNumChannels, hTexRef);
Dcuda_10_0.inc1876 CUresult CUDAAPI cuTexRefGetFormat(CUarray_format *pFormat, int *pNumChannels,
1881 return func_ptr(pFormat, pNumChannels, hTexRef);
Dcuda_10_1.inc1909 CUresult CUDAAPI cuTexRefGetFormat(CUarray_format *pFormat, int *pNumChannels,
1914 return func_ptr(pFormat, pNumChannels, hTexRef);
Dcuda_10_2.inc2071 CUresult CUDAAPI cuTexRefGetFormat(CUarray_format *pFormat, int *pNumChannels,
2076 return func_ptr(pFormat, pNumChannels, hTexRef);
Dcuda_11_0.inc2657 __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefGetFormat(CUarray_format *pFormat,
2663 return func_ptr(pFormat, pNumChannels, hTexRef);
Dcuda_11_2.inc2545 __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefGetFormat(CUarray_format *pFormat,
2551 return func_ptr(pFormat, pNumChannels, hTexRef);