/third_party/rust/crates/syn/src/ |
H A D | attr.rs | 242 format!( in parse_args_with() 530 format!( in require_list() 548 format!( in require_name_value()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationUtil.hpp | 299 , format(format_) in ImageResource() 308 vk::VkFormat format; member 326 const vk::VkFormat format,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | common.h | 351 #define PRINTF_FORMAT(a,b) __attribute__ ((format (printf, (a), (b)))) 366 int snprintf(char *str, size_t size, const char *format, ...); 369 int vsnprintf(char *str, size_t size, const char *format, va_list ap);
|
H A D | os_internal.c | 493 int os_snprintf(char *str, size_t size, const char *format, ...) in os_snprintf() argument 502 va_start(ap, format); in os_snprintf() 503 ret = vsnprintf(str, size, format, ap); in os_snprintf()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/ |
H A D | p2p-nfc.py | 267 # due to new WSC handover format 269 summary("received handover request {}".format(request.type)) 277 summary("error decoding 'Hr' message: {}".format(e)) 280 summary("send handover response {}".format(response.type))
|
H A D | wps-nfc.py | 146 # due to new WSC handover format 148 summary("received handover request {}".format(request.type)) 156 summary("error decoding 'Hr' message: {}".format(e)) 159 summary("send handover response {}".format(response.type)) 277 # nfcpy does not support the new format..
|
/third_party/vk-gl-cts/framework/qphelper/ |
H A D | qpCrashHandler.c | 50 static void writeInfoFormat (qpWriteCrashInfoFunc writeFunc, void* userPtr, const char* format, ...) in writeInfoFormat() argument 55 va_start(ap, format); in writeInfoFormat() 56 vsnprintf(buf, sizeof(buf), format, ap); in writeInfoFormat()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | os_internal.c | 499 int os_snprintf(char *str, size_t size, const char *format, ...) in os_snprintf() argument 508 va_start(ap, format); in os_snprintf() 509 ret = vsnprintf(str, size, format, ap); in os_snprintf()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/ |
H A D | p2p-nfc.py | 267 # due to new WSC handover format 269 summary("received handover request {}".format(request.type)) 277 summary("error decoding 'Hr' message: {}".format(e)) 280 summary("send handover response {}".format(response.type))
|
H A D | wps-nfc.py | 146 # due to new WSC handover format 148 summary("received handover request {}".format(request.type)) 156 summary("error decoding 'Hr' message: {}".format(e)) 159 summary("send handover response {}".format(response.type)) 277 # nfcpy does not support the new format..
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Framebuffer.h | 364 GLenum format, 496 ANGLE_INLINE void updateFloat32ColorAttachmentBits(size_t index, const InternalFormat *format) in updateFloat32ColorAttachmentBits() argument 498 mFloat32ColorAttachmentBits.set(index, format->type == GL_FLOAT); in updateFloat32ColorAttachmentBits()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | ResourceManager11.cpp | 297 const auto &format = d3d11_angle::GetFormat(dsvDesc.Format); in ClearResource() local 298 UINT clearFlags = (format.depthBits > 0 ? D3D11_CLEAR_DEPTH : 0) | in ClearResource() 299 (format.stencilBits > 0 ? D3D11_CLEAR_STENCIL : 0); in ClearResource()
|
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | renderer_in_client.cpp | 230 rendererInfo_.format = static_cast<AudioSampleFormat>(curStreamParams_.format); in RegisterTracker() 254 curStreamParams_.format >= SAMPLE_S24LE; 261 AUDIO_INFO_LOG("AudioStreamInfo, Sampling rate: %{public}d, channels: %{public}d, format: %{public}d," in SetAudioStreamInfo() 262 " stream type: %{public}d, encoding type: %{public}d", info.samplingRate, info.channels, info.format, in SetAudioStreamInfo() 266 if (!IsFormatValid(info.format) || !IsSamplingRateValid(info.samplingRate) || !IsEncodingTypeValid(info.encoding)) { in SetAudioStreamInfo() 301 std::to_string(curStreamParams_.channels) + "_" + std::to_string(curStreamParams_.format) + "_client_out.pcm"; in SetAudioStreamInfo() 455 config.streamInfo.format = static_cast<AudioSampleFormat>(curStreamParams_.format); in ConstructConfig() 827 audioSpeed_ = std::make_unique<AudioSpeed>(curStreamParams_.samplingRate, curStreamParams_.format, in SetSpeed() 1833 DfxOperation(BufferDesc &buffer, AudioSampleFormat format, AudioChannel channel) const DfxOperation() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 657 int vpc_div = (data->format == PIXEL_FORMAT_420BPP8 in calculate_viewport() 658 || data->format == PIXEL_FORMAT_420BPP10) ? 2 : 1; in calculate_viewport() 870 if (pipe_ctx->plane_res.scl_data.format == PIXEL_FORMAT_420BPP8 in calculate_scaling_ratios() 871 || pipe_ctx->plane_res.scl_data.format == PIXEL_FORMAT_420BPP10) { in calculate_scaling_ratios() 973 int vpc_div = (data->format == PIXEL_FORMAT_420BPP8 in calculate_inits_and_adj_vp() 974 || data->format == PIXEL_FORMAT_420BPP10) ? 2 : 1; in calculate_inits_and_adj_vp() 1136 /* Important: scaling ratio calculation requires pixel format, in resource_build_scaling_params() 1140 pipe_ctx->plane_res.scl_data.format = convert_pixel_format_to_dalsurface( in resource_build_scaling_params() 1141 pipe_ctx->plane_state->format); in resource_build_scaling_params() 2305 enum dc_timing_3d_format format; in set_avi_info_frame() local 2950 resource_pixel_format_to_bpp(enum surface_pixel_format format) resource_pixel_format_to_bpp() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | atombios_crtc.c | 1195 switch (target_fb->format->format) { in dce4_crtc_do_set_base() 1270 DRM_ERROR("Unsupported screen format %s\n", in dce4_crtc_do_set_base() 1271 drm_get_format_name(target_fb->format->format, &format_name)); in dce4_crtc_do_set_base() 1287 tileb = 8 * 8 * target_fb->format->cpp[0]; in dce4_crtc_do_set_base() 1295 target_fb->format->cpp[0] * 8, in dce4_crtc_do_set_base() 1302 switch (target_fb->format->cpp[0] * 8) { in dce4_crtc_do_set_base() 1425 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce4_crtc_do_set_base() 1515 switch (target_fb->format in avivo_crtc_do_set_base() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | atombios_crtc.c | 1185 switch (target_fb->format->format) { in dce4_crtc_do_set_base() 1260 DRM_ERROR("Unsupported screen format %p4cc\n", in dce4_crtc_do_set_base() 1261 &target_fb->format->format); in dce4_crtc_do_set_base() 1277 tileb = 8 * 8 * target_fb->format->cpp[0]; in dce4_crtc_do_set_base() 1285 target_fb->format->cpp[0] * 8, in dce4_crtc_do_set_base() 1292 switch (target_fb->format->cpp[0] * 8) { in dce4_crtc_do_set_base() 1415 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce4_crtc_do_set_base() 1504 switch (target_fb->format in avivo_crtc_do_set_base() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_kms.c | 1287 enum SVGA3dSurfaceFormat format; in vmw_kms_new_framebuffer_surface() local 1302 "unsupported pixel format %p4cc / modifier 0x%llx\n", in vmw_kms_new_framebuffer_surface() 1323 format = SVGA3D_A8R8G8B8; in vmw_kms_new_framebuffer_surface() 1326 format = SVGA3D_X8R8G8B8; in vmw_kms_new_framebuffer_surface() 1329 format = SVGA3D_R5G6B5; in vmw_kms_new_framebuffer_surface() 1332 format = SVGA3D_A1R5G5B5; in vmw_kms_new_framebuffer_surface() 1335 DRM_ERROR("Invalid pixel format: %p4cc\n", in vmw_kms_new_framebuffer_surface() 1341 * For DX, surface format validation is done when surface->scanout in vmw_kms_new_framebuffer_surface() 1344 if (!has_sm4_context(dev_priv) && format != surface->metadata.format) { in vmw_kms_new_framebuffer_surface() 1428 uint32_t format; vmw_create_bo_proxy() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | BlitFramebufferANGLETest.cpp | 86 GLenum format = GL_RGBA; variable 95 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, 113 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth() / 2, getWindowHeight() / 2, 0, 114 format, GL_UNSIGNED_BYTE, nullptr); 132 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, 156 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth() * 2, getWindowHeight() * 2, 0, 157 format, GL_UNSIGNED_BYTE, nullptr); 171 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidt [all...] |
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | parser_impl.cc | 2426 // Only storage images have a format. in GetTypeForHandleVar() 2509 (image_type->format() == SpvImageFormatUnknown)) { in GetTypeForHandleVar() 2538 const auto format = enum_converter_.ToImageFormat(image_type->format()); in GetTypeForHandleVar() local 2539 if (format == ast::ImageFormat::kNone) { in GetTypeForHandleVar() 2542 ast_store_type = ty_.StorageTexture(dim, format, access); in GetTypeForHandleVar() 2559 const Type* ParserImpl::GetComponentTypeForFormat(ast::ImageFormat format) { in GetComponentTypeForFormat() argument 2560 switch (format) { in GetComponentTypeForFormat() 2604 Fail() << "unknown format " << int(format); in GetComponentTypeForFormat() 2608 GetChannelCountForFormat(ast::ImageFormat format) GetChannelCountForFormat() argument 2661 GetTexelTypeForFormat(ast::ImageFormat format) GetTexelTypeForFormat() argument [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-tunnel.c | 88 "format=<sample format> " 103 "format=<sample format> " 118 "format", 1215 pa_format_info *format; in read_formats() local 1223 format = pa_format_info_new(); in read_formats() 1224 if (pa_tagstruct_get_format_info(t, format)) { /* format info */ in read_formats() 1225 pa_format_info_free(format); in read_formats() 1400 pa_format_info *format = pa_format_info_new(); sink_input_info_cb() local 1697 pa_format_info *format = pa_format_info_new(); create_stream_callback() local [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_state.c | 96 #include "util/format/u_format.h" 1513 pformat = ice->state.framebuffer.cbufs[i]->format; in can_emit_logic_op() 2447 /* We may need to swizzle the border color for format faking. in crocus_upload_border_color() 2507 * format. This matches the sampler->BorderColor union exactly; just in crocus_upload_border_color() 2517 * "If any color channel is missing from the surface format, in crocus_upload_border_color() 2534 /* R10G10B10A2_UINT is treated like a 16-bit format. */ in crocus_upload_border_color() 2552 assert(!"Invalid number of bits per channel in integer format."); in crocus_upload_border_color() 2649 !(GFX_VERx10 == 70 && util_format_is_pure_integer(tex->base.format))) in crocus_upload_sampler_states() 2688 if (util_format_is_depth_or_stencil(tmpl->format)) { in crocus_create_sampler_view() 2691 util_format_description(tmpl->format); in crocus_create_sampler_view() 3698 get_wa_flags(enum isl_format format) get_wa_flags() argument [all...] |
/foundation/multimedia/player_framework/services/services/recorder/server/ |
H A D | recorder_server.cpp | 485 CHECK_AND_RETURN_RET_LOG(!(encoder == AUDIO_MPEG && config_.format == FORMAT_MPEG_4), MSERR_INVALID_VAL, in SetAudioEncoder() 640 int32_t RecorderServer::SetOutputFormat(OutputFormatType format) in SetOutputFormat() argument 642 MEDIA_LOGI("RecorderServer:0x%{public}06" PRIXPTR " SetOutputFormat in, format(%{public}d)", in SetOutputFormat() 643 FAKE_POINTER(this), format); in SetOutputFormat() 647 config_.format = format; in SetOutputFormat() 649 return recorderEngine_->SetOutputFormat(format); in SetOutputFormat() 998 int32_t RecorderServer::SetParameter(int32_t sourceId, const Format &format) in SetParameter() argument 1001 (void)format; in SetParameter() 1028 dumpString += "RecorderServer format i in DumpInfo() [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | ov9650.c | 71 #define REG_COM7 0x12 /* SCCB reset, output format */ 132 #define REG_TSLB 0x3a /* YUVU format */ 267 /* YUYV sequence (pixel format) control register */ 269 struct v4l2_mbus_framefmt format; member 585 /* Update exposure time range to match current frame format. */ in ov965x_update_exposure_ctrl() 701 * registers (VREF[7:6], GAIN[7:0]) format. in ov965x_set_gain() 1121 struct v4l2_mbus_framefmt *mbus_fmt = &ov965x->format; in __ov965x_set_frame_interval() 1178 fmt->format = *mf; in ov965x_get_fmt() 1183 fmt->format = ov965x->format; in ov965x_get_fmt() [all...] |
H A D | ov13858.c | 1311 fmt->format.width = mode->width; in ov13858_update_pad_format() 1312 fmt->format.height = mode->height; in ov13858_update_pad_format() 1313 fmt->format.code = MEDIA_BUS_FMT_SGRBG10_1X10; in ov13858_update_pad_format() 1314 fmt->format.field = V4L2_FIELD_NONE; in ov13858_update_pad_format() 1326 fmt->format = *framefmt; in ov13858_do_get_pad_format() 1365 if (fmt->format.code != MEDIA_BUS_FMT_SGRBG10_1X10) in ov13858_set_pad_format() 1366 fmt->format.code = MEDIA_BUS_FMT_SGRBG10_1X10; in ov13858_set_pad_format() 1371 fmt->format.width, fmt->format.height); in ov13858_set_pad_format() 1375 *framefmt = fmt->format; in ov13858_set_pad_format() [all...] |
H A D | s5k6aa.c | 197 /* output pixel format and resolution */ 282 /* TODO: Add RGB888 and Bayer format */ 728 * Configure output resolution and color format, pixel clock 1101 fmt->format = *mf; in s5k6aa_get_fmt() 1106 fmt->format = s5k6aa->preset->mbus_fmt; in s5k6aa_get_fmt() 1122 s5k6aa_try_format(s5k6aa, &fmt->format); in s5k6aa_set_fmt() 1142 *mf = fmt->format; in s5k6aa_set_fmt() 1428 struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, fh->pad, 0); in s5k6aa_open() local 1431 format->colorspace = s5k6aa_formats[0].colorspace; in s5k6aa_open() 1432 format in s5k6aa_open() [all...] |