Home
last modified time | relevance | path

Searched refs:format_str (Results 1 – 25 of 36) sorted by relevance

12

/third_party/boost/boost/date_time/
Dformat_date_parser.hpp170 format_date_parser(const string_type& format_str, in format_date_parser() argument
175 m_format(format_str), in format_date_parser()
182 format_date_parser(const string_type& format_str, in format_date_parser() argument
184 m_format(format_str), in format_date_parser()
205 void format(string_type format_str) in format() argument
207 m_format = format_str; in format()
229 const string_type& format_str, in parse_date() argument
235 return parse_date(sitr, stream_end, format_str, sv_parser); in parse_date()
252 string_type format_str, in parse_date() argument
271 const_itr itr(format_str.begin()); in parse_date()
[all …]
Ddate_facet.hpp93 explicit date_facet(const char_type* format_str, in date_facet() argument
97 m_format(format_str), in date_facet()
104 explicit date_facet(const char_type* format_str, in date_facet() argument
110 m_format(format_str), in date_facet()
117 void format(const char_type* const format_str) { in format() argument
118 m_format = format_str; in format()
128 void month_format(const char_type* const format_str) { in month_format() argument
129 m_month_format = format_str; in month_format()
131 void weekday_format(const char_type* const format_str) { in weekday_format() argument
132 m_weekday_format = format_str; in weekday_format()
[all …]
/third_party/libsnd/tests/
Dutils.def15 format_str = "\"% d\"" ;
20 format_str = "\"% d\"" ;
25 format_str = "\"% g\"" ;
30 format_str = "\"% g\"" ;
Dutils.tpl358 fprintf (file, [+ (get "format_str") +] "\n", a [k]) ;
366 fprintf (file, [+ (get "format_str") +] "\n", b [k]) ;
754 … ("\n\nLine %d : Error at index %d, got " [+ (get "format_str") +] ", should be " [+ (get "format_…
/third_party/libsnd/src/
Dtest_conversions.c48 char format_str [16] ; in conversion_test() local
56 snprintf (format_str, sizeof (format_str), "%c12348", endian) ; in conversion_test()
72 psf_binheader_writef (psf, format_str, i8, i16, i24, i32, i64) ; in conversion_test()
87 bytes = psf_binheader_readf (psf, format_str, &t8, &t16, &t24, &t32, &t64) ; in conversion_test()
/third_party/node/tools/v8_gypfiles/
DForEachFormat.py4 format_str = args.pop(0)
5 return ' '.join(format_str % a for a in args)
/third_party/gstreamer/gstplugins_bad/gst/pnm/
Dgstpnmenc.c198 gchar format_str[4]; in gst_pnmenc_handle_frame() local
209 g_strlcpy (format_str, "%3i", 4); in gst_pnmenc_handle_frame()
216 g_strlcpy (format_str, "%3i", 4); in gst_pnmenc_handle_frame()
225 g_strlcpy (format_str, "%5i", 4); in gst_pnmenc_handle_frame()
280 format_str, in_frame.map[0].data[index]); in gst_pnmenc_handle_frame()
294 format_str, GST_READ_UINT16_BE (in_frame.map[0].data + index)); in gst_pnmenc_handle_frame()
308 format_str, GST_READ_UINT16_LE (in_frame.map[0].data + index)); in gst_pnmenc_handle_frame()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/opencv/
Dgstopencvutils.cpp119 const gchar *format_str; in gst_opencv_cv_image_type_from_video_format() local
144 format_str = gst_video_format_to_string (format); in gst_opencv_cv_image_type_from_video_format()
146 "Unsupported video format %s", format_str); in gst_opencv_cv_image_type_from_video_format()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugRangeList.cpp62 const char *format_str = in dump() local
65 OS << format(format_str, Offset, RLE.StartAddress, RLE.EndAddress); in dump()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dge_types_convert.cc96 auto format_str = ge::TypeUtils::FormatToSerialString(ge_format); in GetGeTilingFormat() local
97 if (format_str == kInvalidFormat) { in GetGeTilingFormat()
100 return format_str; in GetGeTilingFormat()
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/FasterRcnn/
Droi_align.py52 format_str = self.__class__.__name__
53 format_str += '(out_size={}, spatial_scale={}, sample_num={}'.format(
55 return format_str
/third_party/libdrm/tests/modetest/
Dmodetest.c830 char format_str[5]; member
852 char format_str[5]; /* need to leave room for terminating \0 */ member
1217 p->w, p->h, p->format_str, p->plane_id, p->crtc_id); in atomic_set_plane()
1302 p->w, p->h, p->format_str, plane_id); in set_plane()
1478 strcpy(pipe->format_str, "XR24"); in pipe_attempt_connector()
1479 pipe->fourcc = util_format_fourcc(pipe->format_str); in pipe_attempt_connector()
1678 .format_str = "XR24", in set_mode()
1679 .fourcc = util_format_fourcc(pipe->format_str), in set_mode()
1860 strcpy(pipe->format_str, "XR24"); in parse_connector()
1915 strncpy(pipe->format_str, p + 1, 4); in parse_connector()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Davgpool_3d_grad_fusion.cc42 bool *count_include_pad, int64_t *divisor_override, std::string *format_str) { in GetAttrs() argument
77 *format_str = AnfAlgo::GetNodeAttr<std::string>(node, "format"); in GetAttrs()
210 std::string format_str; in Process() local
212 &count_include_pad, &divisor_override, &format_str); in Process()
/third_party/gstreamer/gstplugins_good/ext/mpg123/
Dgstmpg123audiodec.c497 gchar const *format_str; in gst_mpg123_audio_dec_set_format() local
511 format_str = g_value_get_string (fmt_list_value); in gst_mpg123_audio_dec_set_format()
514 format_str = g_value_get_string (format_value); in gst_mpg123_audio_dec_set_format()
523 format = gst_audio_format_from_string (format_str); in gst_mpg123_audio_dec_set_format()
/third_party/ffmpeg/libavfilter/
Dvf_scale_npp.c99 char *format_str; member
112 if (!strcmp(s->format_str, "same")) { in nppscale_init()
115 s->format = av_get_pix_fmt(s->format_str); in nppscale_init()
117 av_log(ctx, AV_LOG_ERROR, "Unrecognized pixel format: %s\n", s->format_str); in nppscale_init()
553 …{ "format", "Output pixel format", OFFSET(format_str), AV_OPT_TYPE_STRING, { .str = "same" }, .fla…
Dvf_scale_qsv.c118 char *format_str; member
125 if (!strcmp(s->format_str, "same")) { in qsvscale_init()
128 s->format = av_get_pix_fmt(s->format_str); in qsvscale_init()
130 av_log(ctx, AV_LOG_ERROR, "Unrecognized pixel format: %s\n", s->format_str); in qsvscale_init()
630 …{ "format", "Output pixel format", OFFSET(format_str), AV_OPT_TYPE_STRING, { .str = "same" }, .fla…
/third_party/node/deps/histogram/src/
Dhdr_histogram.c911 const char* format_str = "%s%d%s"; in format_line_string() local
916 snprintf(str, len, format_str, "%.", significant_figures, "f,%f,%d,%.2f\n"); in format_line_string()
919 snprintf(str, len, format_str, "%12.", significant_figures, "f %12f %12d %12.2f\n"); in format_line_string()
922 snprintf(str, len, format_str, "%12.", significant_figures, "f %12f %12d %12.2f\n"); in format_line_string()
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/
Dgstv4l2decoder.c427 const gchar *format_str; in gst_v4l2_decoder_select_src_format() local
444 format_str = gst_structure_get_string (str, "format"); in gst_v4l2_decoder_select_src_format()
445 format = gst_video_format_from_string (format_str); in gst_v4l2_decoder_select_src_format()
449 GST_DEBUG_OBJECT (self, "Trying to use peer format: %s ", format_str); in gst_v4l2_decoder_select_src_format()
/third_party/python/Lib/test/
Dtest_decorators.py81 def check_wrapper_attrs(self, method_wrapper, format_str): argument
94 self.assertEqual(repr(wrapper), format_str.format(func))
/third_party/boost/libs/log/src/setup/
Dinit_from_settings.cpp378 std::basic_string< sink_char_type > format_str;
379 log::aux::code_convert(format_param.get(), format_str);
380 sink->set_formatter(parse_formatter(format_str));
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglcolorconvert.c1132 const gchar *format_str = g_value_get_string (val); in gst_gl_color_convert_caps_transform_format_info() local
1133 GstVideoFormat v_format = gst_video_format_from_string (format_str); in gst_gl_color_convert_caps_transform_format_info()
1157 const gchar *format_str = g_value_get_string (format); in gst_gl_color_convert_caps_transform_format_info() local
1158 GstVideoFormat v_format = gst_video_format_from_string (format_str); in gst_gl_color_convert_caps_transform_format_info()
1400 const gchar *format_str = g_value_get_string (val); in gst_gl_color_convert_fixate_format_target() local
1401 GstVideoFormat v_format = gst_video_format_from_string (format_str); in gst_gl_color_convert_fixate_format_target()
1409 const gchar *format_str = g_value_get_string (format); in gst_gl_color_convert_fixate_format_target() local
1410 GstVideoFormat v_format = gst_video_format_from_string (format_str); in gst_gl_color_convert_fixate_format_target()
/third_party/selinux/libsepol/src/
Dkernel_to_cil.c281 const char *format_str; in class_constraint_rules_to_strs() local
294 format_str = "(mlsconstrain (%s (%s)) %s)"; in class_constraint_rules_to_strs()
297 format_str = "(constrain (%s (%s)) %s)"; in class_constraint_rules_to_strs()
301 rc = strs_create_and_add(strs, format_str, 3, classkey, perms+1, expr); in class_constraint_rules_to_strs()
322 const char *format_str; in class_validatetrans_rules_to_strs() local
334 format_str = "(mlsvalidatetrans %s %s)"; in class_validatetrans_rules_to_strs()
337 format_str = "(validatetrans %s %s)"; in class_validatetrans_rules_to_strs()
341 rc = strs_create_and_add(strs, format_str, 2, classkey, expr); in class_validatetrans_rules_to_strs()
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkcolorconvert.c1031 const gchar *format_str = g_value_get_string (val); in gst_vulkan_color_convert_transform_format_info() local
1032 GstVideoFormat v_format = gst_video_format_from_string (format_str); in gst_vulkan_color_convert_transform_format_info()
1056 const gchar *format_str = g_value_get_string (format); in gst_vulkan_color_convert_transform_format_info() local
1057 GstVideoFormat v_format = gst_video_format_from_string (format_str); in gst_vulkan_color_convert_transform_format_info()
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Davsamplevideosink.m368 const char *format_str;
380 format_str = gst_video_format_to_string (v_format);
382 caps_str = g_strdup_printf ("video/x-raw, format=%s", format_str);
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dxcode_emulation.py212 def _Appendf(self, lst, test_key, format_str, default=None): argument
214 lst.append(format_str % str(self._Settings()[test_key]))
216 lst.append(format_str % str(default))

12