Home
last modified time | relevance | path

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

/external/pdfium/xfa/fxfa/parser/
Dcxfa_localevalue.cpp139 auto pFormat = in ValidateValue() local
141 switch (ValueCategory(pFormat->GetCategory(), m_dwType)) { in ValidateValue()
143 bRet = pFormat->ParseNull(wsValue); in ValidateValue()
148 bRet = pFormat->ParseZero(wsValue); in ValidateValue()
154 bRet = pFormat->ParseNum(wsValue, &fNum); in ValidateValue()
156 bRet = pFormat->FormatNum(wsValue, &wsOutput); in ValidateValue()
160 bRet = pFormat->ParseText(wsValue, &wsOutput); in ValidateValue()
163 bRet = pFormat->FormatText(wsValue, &wsOutput); in ValidateValue()
169 bRet = pFormat->ParseDateTime(wsValue, FX_DATETIMETYPE_Date, &dt); in ValidateValue()
171 bRet = pFormat->FormatDateTime(wsValue, FX_DATETIMETYPE_Date, in ValidateValue()
[all …]
Dcxfa_node.cpp4692 if (CXFA_Format* pFormat = in GetPictureContent() local
4694 if (CXFA_Picture* pPicture = pFormat->GetChild<CXFA_Picture>( in GetPictureContent()
/external/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalAndroid.cpp402 …rties(const AHardwareBuffer_Desc &ahbDesc, VkAndroidHardwareBufferFormatPropertiesANDROID *pFormat) in GetAndroidHardwareBufferFormatProperties() argument
404 pFormat->sType = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID; in GetAndroidHardwareBufferFormatProperties()
405 pFormat->pNext = nullptr; in GetAndroidHardwareBufferFormatProperties()
406 pFormat->format = GetVkFormatFromAHBFormat(ahbDesc.format); in GetAndroidHardwareBufferFormatProperties()
407 pFormat->externalFormat = ahbDesc.format; in GetAndroidHardwareBufferFormatProperties()
408 pFormat->formatFeatures = GetVkFormatFeaturesFromAHBFormat(ahbDesc.format); in GetAndroidHardwareBufferFormatProperties()
409pFormat->samplerYcbcrConversionComponents = { VK_COMPONENT_SWIZZLE_IDENTITY, VK_COMPONENT_SWIZZLE_… in GetAndroidHardwareBufferFormatProperties()
410 pFormat->suggestedYcbcrModel = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601; in GetAndroidHardwareBufferFormatProperties()
411 pFormat->suggestedYcbcrRange = VK_SAMPLER_YCBCR_RANGE_ITU_NARROW; in GetAndroidHardwareBufferFormatProperties()
412 pFormat->suggestedXChromaOffset = VK_CHROMA_LOCATION_COSITED_EVEN; in GetAndroidHardwareBufferFormatProperties()
[all …]
DVkDeviceMemoryExternalAndroid.hpp67 …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.cpp83 ByteString ByteString::FormatV(const char* pFormat, va_list argList) { in FormatV() argument
86 int nMaxLen = vsnprintf(nullptr, 0, pFormat, argListCopy); in FormatV()
101 vsnprintf(buf.data(), nMaxLen + 1, pFormat, argListCopy); in FormatV()
109 ByteString ByteString::Format(const char* pFormat, ...) { in Format() argument
111 va_start(argList, pFormat); in Format()
112 ByteString ret = FormatV(pFormat, argList); in Format()
Dwidestring.cpp59 Optional<size_t> GuessSizeForVSWPrintf(const wchar_t* pFormat, in GuessSizeForVSWPrintf() argument
62 for (const wchar_t* pStr = pFormat; *pStr != 0; pStr++) { in GuessSizeForVSWPrintf()
252 const wchar_t* pFormat, in TryVSWPrintf() argument
269 int ret = vswprintf(buffer.data(), size + 1, pFormat, argList); in TryVSWPrintf()
317 WideString WideString::Format(const wchar_t* pFormat, ...) { in Format() argument
319 va_start(argList, pFormat); in Format()
320 WideString ret = FormatV(pFormat, argList); in Format()
Dbytestring.h36 static ByteString Format(const char* pFormat, ...) WARN_UNUSED_RESULT;
37 static ByteString FormatV(const char* pFormat,
Dwidestring.h35 static WideString Format(const wchar_t* pFormat, ...) WARN_UNUSED_RESULT;
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dsles.cpp654 audiosrc.pFormat = &pcm; in slesCreateServer()
656 audiosnk.pFormat = NULL; in slesCreateServer()
737 audiosrc.pFormat = NULL; in slesCreateServer()
743 audiosnk.pFormat = &pcm; in slesCreateServer()
/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.cpp130 audioSink.pFormat = &format_pcm_ex; in open()
DAudioOutputStreamOpenSLES.cpp171 audioSrc.pFormat = &format_pcm_ex; in open()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp1244 NumberFormat *pFormat = NumberFormat::createPercentInstance(en_US, status); in TestLenientParse() local
1246 if (pFormat == NULL || U_FAILURE(status)) { in TestLenientParse()
1249 pFormat->setLenient(TRUE); in TestLenientParse()
1253 pFormat->parse(testCase, n, status); in TestLenientParse()
1268 pFormat->parse(testCase, n, status); in TestLenientParse()
1280 delete pFormat; in TestLenientParse()
9176 LocalPointer<NumberFormat>pFormat(NumberFormat::createPercentInstance("en_US", status)); in Test13055_PercentageRounding() local
9181 pFormat->setMaximumFractionDigits(0); in Test13055_PercentageRounding()
9182 pFormat->setRoundingMode(DecimalFormat::kRoundHalfEven); in Test13055_PercentageRounding()
9183 pFormat->format(2.155, actual); in Test13055_PercentageRounding()
/external/tensorflow/tensorflow/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_11_0.inc2159 __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefGetFormat(CUarray_format *pFormat,
2165 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_2.inc2545 __CUDA_DEPRECATED CUresult CUDAAPI cuTexRefGetFormat(CUarray_format *pFormat,
2551 return func_ptr(pFormat, pNumChannels, hTexRef);