/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
H A D | macro_checker.py | 51 r'\b(?<![-=:/[\.`+,])(?P<entity_name>{}[\w*]+)\b(?!>>)'.format( 55 r'=+ (?P<command>{}[\w]+)'.format(self.entity_db.name_prefix) 63 r'(?P<formatting>\**|_*)(?P<macro>{}):(?P<entity_name>[\w*]+((?P<subscript>[\[][^\]]*[\]]))?)(?P=formatting)'.format(macros_pattern)) 165 filename = "string{}\n****START OF STRING****\n{}\n****END OF STRING****\n".format( 169 filename = "string{}: {}".format(
|
/third_party/vk-gl-cts/external/amber/src/tools/ |
H A D | update_vk_wrappers.py | 75 raise Exception("Failed to find {}".format(method)) 143 raise Exception("Failed to find {}".format(method)) 151 content += "std::function<{}({})> {};\n".format(data['return_type'], 175 content += "PFN_{} {};\n".format(method, method); 182 print('usage: {} <outdir> <src_dir>'.format(
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkImageView.hpp | 38 Identifier(VkFormat format); 54 VkFormat format; member 67 uint32_t format : 8; member 144 const Format format = VK_FORMAT_UNDEFINED; member in vk::ImageView 155 VkComponentMapping ResolveComponentMapping(VkComponentMapping mapping, vk::Format format);
|
/third_party/skia/third_party/externals/freetype/src/gxvalid/ |
H A D | gxvbsln.c | 157 GXV_NAME_ENTER( "parts format 0" ); in gxv_bsln_parts_fmt0_validate() 176 GXV_NAME_ENTER( "parts format 1" ); in gxv_bsln_parts_fmt1_validate() 207 GXV_NAME_ENTER( "parts format 2" ); in gxv_bsln_parts_fmt2_validate() 245 GXV_NAME_ENTER( "parts format 3" ); in gxv_bsln_parts_fmt3_validate() 285 FT_UShort format; in gxv_bsln_validate() local 307 format = FT_NEXT_USHORT( p ); in gxv_bsln_validate() 314 /* only format 1, 2, 3 are defined (1996) */ in gxv_bsln_validate() 315 GXV_TRACE(( " (format = %d)\n", format )); in gxv_bsln_validate() 316 if ( format > in gxv_bsln_validate() [all...] |
H A D | gxvprop.c | 270 FT_UShort format; in gxv_prop_validate() local 283 format = FT_NEXT_USHORT( p ); in gxv_prop_validate() 287 GXV_TRACE(( " format 0x%04x\n", format )); in gxv_prop_validate() 301 if ( format > 1 ) in gxv_prop_validate() 303 GXV_TRACE(( " found unknown format\n" )); in gxv_prop_validate() 309 if ( format == 0 ) in gxv_prop_validate() 311 FT_TRACE3(( "(format 0, no per-glyph properties, " in gxv_prop_validate() 316 /* format == 1 */ in gxv_prop_validate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | FormatVariadicDetails.h | 29 virtual void format(raw_ostream &S, StringRef Options) = 0; 38 void format(llvm::raw_ostream &S, StringRef Options) override { 39 format_provider<typename std::decay<T>::type>::format(Item, S, Options); 51 void format(llvm::raw_ostream &S, StringRef Options) override { S << Item; } 58 // static void format(const T&, raw_stream &, StringRef); 67 static char test(SameType<Signature_format, &U::format> *); 93 // based format() invocation. 102 // based format() invocation. The member function takes priority, so this test 103 // will only be true if there is not ALSO a format member. 111 // based format() invocatio [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | PipelineAndPassCompatibilityTests.cpp | 22 // Note that format Depth24PlusStencil8 has both depth and stencil aspects, so parameters 30 wgpu::RenderPipeline CreatePipeline(wgpu::TextureFormat format, in CreatePipeline() argument 46 wgpu::DepthStencilState* depthStencil = pipelineDescriptor.EnableDepthStencil(format); in CreatePipeline() 56 utils::ComboRenderPassDescriptor CreateRenderPassDescriptor(wgpu::TextureFormat format, in CreateRenderPassDescriptor() argument 61 textureDescriptor.format = format; in CreateRenderPassDescriptor()
|
/third_party/rust/crates/rustix/ |
H A D | build.rs | 27 let asm_name = format!("{}/{}.s", OUTLINE_PATH, arch); in main() 115 let name = format!("rustix_outline_{}", arch); in link_in_librustix_outline() 117 let to = format!("{}/{}/lib{}.a", OUTLINE_PATH, profile, name); in link_in_librustix_outline() 136 let from = format!("{}/lib{}.a", out_dir, name); in link_in_librustix_outline() 176 can_compile(&format!( in has_feature()
|
/foundation/ability/idl_tool/test/sa_test/ |
H A D | test_base.py | 39 self.command = self._command_format.format(self._idl, self._gen_langauge, self.idl_file, self.output_dir) 65 self.command = self._command_format.format(self._idl, self._gen_langauge, self.idl_file, self.output_dir) 94 self.command = self._command_format.format(self._idl, self.idl_file, self._command_attr) 185 print_success("[ RUN ] {}".format(self.name)) 191 print_success("[ OK ] {} ({}ms)".format(self.name, end_time - start_time)) 193 print_failure("[ FAILED ] {} ({}ms)".format(self.name, end_time - start_time))
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_text_clock_ffi.cpp | 130 std::string format = static_cast<std::string>(value); in FfiOHOSAceFrameworkTextClockFormat() local 132 if (format.length() == 0) { in FfiOHOSAceFrameworkTextClockFormat() 139 if (format.length() == 0 || !StringUtils::IsAscii(format) || !std::regex_match(format, pattern)) { in FfiOHOSAceFrameworkTextClockFormat() 145 TextClockModel::GetInstance()->SetFormat(format); in FfiOHOSAceFrameworkTextClockFormat()
|
/foundation/multimedia/av_codec/frameworks/native/avsource/ |
H A D | avsource_impl.cpp | 152 int32_t AVSourceImpl::GetSourceFormat(OHOS::Media::Format &format) in GetSourceFormat() argument 155 AVCODEC_LOGD("Get source format"); in GetSourceFormat() 162 bool set = format.SetMeta(mediaInfo); in GetSourceFormat() 168 int32_t AVSourceImpl::GetTrackFormat(OHOS::Media::Format &format, uint32_t trackIndex) in GetTrackFormat() argument 171 AVCODEC_LOGD("Get track %{public}u format", trackIndex); in GetTrackFormat() 179 bool set = format.SetMeta(streamsInfo[trackIndex]); in GetTrackFormat() 185 int32_t AVSourceImpl::GetUserMeta(OHOS::Media::Format &format) 195 bool set = format.SetMeta(userDataMeta);
|
/foundation/multimedia/av_codec/services/engine/codec/include/audio/ |
H A D | audio_codec.h | 127 int32_t Configure(const MediaAVCodec::Format &format) override 129 (void)format; variable 132 int32_t SetParameter(const MediaAVCodec::Format &format) override 134 (void)format; variable 138 int32_t GetOutputFormat(MediaAVCodec::Format &format) override 140 (void)format; variable
|
/foundation/multimedia/camera_framework/services/camera_service/binder/base/include/ |
H A D | icamera_service.h | 92 virtual int32_t CreatePhotoOutput(const sptr<OHOS::IBufferProducer> &producer, int32_t format, 95 virtual int32_t CreatePreviewOutput(const sptr<OHOS::IBufferProducer> &producer, int32_t format, 98 virtual int32_t CreateDeferredPreviewOutput(int32_t format, int32_t width, int32_t height, 101 virtual int32_t CreateDepthDataOutput(const sptr<OHOS::IBufferProducer> &producer, int32_t format, 104 virtual int32_t CreateMetadataOutput(const sptr<OHOS::IBufferProducer> &producer, int32_t format, 108 virtual int32_t CreateVideoOutput(const sptr<OHOS::IBufferProducer> &producer, int32_t format,
|
/foundation/multimedia/camera_framework/services/camera_service/binder/client/include/ |
H A D | hcamera_service_proxy.h | 70 int32_t CreatePhotoOutput(const sptr<OHOS::IBufferProducer> &producer, int32_t format, 73 int32_t CreatePreviewOutput(const sptr<OHOS::IBufferProducer> &producer, int32_t format, 76 int32_t CreateDeferredPreviewOutput(int32_t format, int32_t width, int32_t height, 79 int32_t CreateDepthDataOutput(const sptr<OHOS::IBufferProducer> &producer, int32_t format, 82 int32_t CreateMetadataOutput(const sptr<OHOS::IBufferProducer> &producer, int32_t format, 86 int32_t CreateVideoOutput(const sptr<OHOS::IBufferProducer> &producer, int32_t format,
|
/foundation/multimedia/av_codec/services/services/codec/client/ |
H A D | codec_client.h | 42 int32_t Configure(const Format &format) override; 55 int32_t GetOutputFormat(Format &format) override; 58 int32_t SetParameter(const Format &format) override; 63 int32_t GetInputFormat(Format &format) override; 72 void OnOutputFormatChanged(const Format &format) override; 85 void UpdateFormat(Format &format);
|
/third_party/ffmpeg/libswresample/ |
H A D | swresample_frame.c | 48 if ((ret = av_opt_set_int(s, "isf", in->format, 0)) < 0) in swr_config_frame() 69 if ((ret = av_opt_set_int(s, "osf", out->format, 0)) < 0) in swr_config_frame() 103 s->in_sample_fmt != in->format) { in config_changed() 123 s->out_sample_fmt != out->format) { in config_changed() 166 int bytes_per_sample = av_get_bytes_per_sample(out->format); in available_samples() 169 if (av_sample_fmt_is_planar(out->format)) { in available_samples()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_simple.c | 51 snd_pcm_format_t format, in set_hw_params() 68 err = snd_pcm_hw_params_set_format(pcm, hw_params, format); in set_hw_params() 148 * \param format PCM format 160 snd_pcm_format_t format, in snd_spcm_init() 181 &rrate, channels, format, subformat, in snd_spcm_init() 199 * \param format PCM format 213 snd_pcm_format_t format, in snd_spcm_init_duplex() 248 &rrate, channels, format, subforma in snd_spcm_init_duplex() 47 set_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *hw_params, unsigned int *rate, unsigned int channels, snd_pcm_format_t format, snd_pcm_subformat_t subformat, unsigned int *buffer_time, unsigned int *period_time, snd_pcm_access_t access) set_hw_params() argument 157 snd_spcm_init(snd_pcm_t *pcm, unsigned int rate, unsigned int channels, snd_pcm_format_t format, snd_pcm_subformat_t subformat, snd_spcm_latency_t latency, snd_pcm_access_t access, snd_spcm_xrun_type_t xrun_type) snd_spcm_init() argument 209 snd_spcm_init_duplex(snd_pcm_t *playback_pcm, snd_pcm_t *capture_pcm, unsigned int rate, unsigned int channels, snd_pcm_format_t format, snd_pcm_subformat_t subformat, snd_spcm_latency_t latency, snd_pcm_access_t access, snd_spcm_xrun_type_t xrun_type, snd_spcm_duplex_type_t duplex_type) snd_spcm_init_duplex() argument [all...] |
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
H A D | NumberFormatICU.java | 60 //public String format(double number) 63 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) { in format() method in NumberFormatICU 64 return fIcuNfmt.format(number, toAppendTo, pos); in format() 67 //public String format(long number); 70 public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) { in format() method in NumberFormatICU 71 return fIcuNfmt.format(number, toAppendTo, pos); in format() 75 public StringBuffer format(Object number, StringBuffer toAppendTo, FieldPosition pos) { in format() method in NumberFormatICU 76 return fIcuNfmt.format(number, toAppendTo, pos); in format()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | quantityformatter.cpp | 117 UnicodeString &QuantityFormatter::format( in format() function in QuantityFormatter 137 return format(*pattern, formattedNumber, appendTo, pos, status); in format() 162 decFmt->format(number, formattedNumber, pos, status); in selectPlural() 174 fmt.format(number, formattedNumber, pos, status); in selectPlural() 203 fmt.format(quantity, result, status); in formatAndSelect() 217 UnicodeString &QuantityFormatter::format( in format() function in QuantityFormatter
|
/third_party/mbedtls/tests/scripts/ |
H A D | generate_psa_wrappers.py | 121 out.write(' MBEDTLS_TEST_MEMORY_{}({}, {});\n'.format( 178 .format(self._CPP_GUARDS)) 184 .format(self._CPP_GUARDS)) 223 ['(unsigned) psa_get_key_{}({})'.format(field, var) 239 .format(DEFAULT_C_OUTPUT_FILE_NAME))) 244 .format(DEFAULT_H_OUTPUT_FILE_NAME)))
|
/third_party/mesa3d/src/gallium/include/pipe/ |
H A D | p_screen.h | 173 * Return an equivalent canonical format which has the same component sizes 177 * alternative format if the picked is not supported by the driver. 180 enum pipe_format format); 211 enum pipe_format format, 222 enum pipe_format format, 297 * the resource into a format compatible for sharing. The use case is 325 * the resource into a format compatible for sharing. The context parameter 469 * format modifiers into account. \p modifiers specifies a list of format 483 * Get supported modifiers for a format [all...] |
/third_party/node/lib/internal/crypto/ |
H A D | cfrg.js | 189 function cfrgExportKey(key, format) { 193 format, 198 format, 208 switch (format) { 214 format: 'der', 228 format: 'der',
|
H A D | ec.js | 145 function ecExportKey(key, format) { 148 format, 153 format, 169 switch (format) { 175 format: 'der', 189 format: 'der',
|
H A D | sig.js | 122 const { data, format, type, passphrase } = preparePrivateKey(options, true); 131 const ret = this[kHandle].sign(data, format, type, passphrase, rsaPadding, 162 format: keyFormat, 214 format, 230 return this[kHandle].verify(data, format, type, passphrase, signature, 268 format: keyFormat,
|
/third_party/mesa3d/src/intel/ds/ |
H A D | intel_tracepoints.py | 42 Tracepoint('intel_begin_{0}'.format(name), 43 tp_perfetto='intel_ds_begin_{0}'.format(name)) 44 Tracepoint('intel_end_{0}'.format(name), 47 tp_perfetto='intel_ds_end_{0}'.format(name), 110 bits.append(Arg(type='bool', name=a[1], var='__entry->flags & INTEL_DS_{0}_BIT'.format(a[0]), c_format='%u')) 118 exprs.append('(__entry->flags & INTEL_DS_{0}_BIT) ? "+{1}" : ""'.format(a[0], a[1]))
|