Home
last modified time | relevance | path

Searched refs:format (Results 4926 - 4950 of 14642) sorted by relevance

1...<<191192193194195196197198199200>>...586

/test/testfwk/xdevice/plugins/ohos/src/ohos/managers/
H A Dmanager_lite.py138 format("SerialPort/IP", "Baudrate/Port", "OsType",
144 print("{0:<20}{1:<16}{2:<16}{3:<16}{4:<16}{5:<16}".format(
155 format(convert_port(device.device.com_dict[
/test/testfwk/developer_test/local_coverage/resident_service/
H A Dpull_service_gcda.py44 restore_foundation_cmd = "file send {} /system/profile/foundation.json".format(origin_foundation)
48 rm_xml_cmd = "shell rm /system/profile/{}.json".format(serv)
50 rm_cfg_cmd = "shell rm /etc/init/{}.cfg".format(serv)
/test/testfwk/xdevice/src/xdevice/_core/report/
H A Dencrypt.py94 raise ParamError(ErrorMessage.Common.Code_0101025.format(error.args[0])) from error
128 error_msg = ErrorMessage.Common.Code_0101026.format(error.args[0])
133 error_msg = ErrorMessage.Common.Code_0101026.format(error.args[0])
/test/ostest/wukong/common/src/
H A Dwukong_logger.cpp118 void WuKongLogger::Print(LOG_LEVEL level, const char *format, ...) in Print() argument
130 /* format output content */ in Print()
132 va_start(args, format); in Print()
133 int ret = vsnprintf_s(writeBuf, LOG_CONTENT_LENGTH, LOG_CONTENT_LENGTH, format, args); in Print()
/test/xts/acts/ai/nncore/opstest/src/
H A Dnncore_utils.cpp28 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_NN_Format format) in createTensorDesc() argument
50 ret = OH_NNTensorDesc_SetFormat(tensorDescTmp, format); in createTensorDesc()
100 operandTem.dataType, operandTem.format); in BuildSingleOpGraph()
/test/xts/acts/multimedia/image/image_js_standard/imagePixelMapNDK/entry/src/main/cpp/napi/
H A Dpixel_map_module_test.cpp183 int32_t format = 0; in GetPixelmapPixelFormat() local
184 ret = OH_PixelmapImageInfo_GetPixelFormat(info, &format); in GetPixelmapPixelFormat()
191 napi_create_int32(env, format, pixelFormat); in GetPixelmapPixelFormat()
/test/xts/hats/hdf/audio/idl/benchmarktest/render/
H A Daudio_render_mmap_benchmarktest.cpp69 attrs.startThreshold = DEEP_BUFFER_RENDER_PERIOD_SIZE / (attrs.format * attrs.channelCount / MOVE_LEFT_NUM); in InitRenderAttrs()
132 attrsRender_.format = AUDIO_FORMAT_TYPE_PCM_16_BIT; in SetUp()
135 attrsRender_.format = AUDIO_FORMAT_TYPE_PCM_32_BIT; in SetUp()
/test/xts/hats/hdf/audio/idl/common/render/src/
H A Daudio_render_mmap_test.cpp55 attrs.format = AUDIO_FORMAT_TYPE_PCM_16_BIT; in InitRenderAttrs()
64 attrs.startThreshold = DEEP_BUFFER_RENDER_PERIOD_SIZE / (attrs.format * attrs.channelCount); in InitRenderAttrs()
127 attrsRender_.format = AUDIO_FORMAT_TYPE_PCM_32_BIT; in SetUp()
/third_party/ffmpeg/libavcodec/
H A Dflac.c170 enum FLACExtradataFormat *format, in ff_flac_is_extradata_valid()
183 *format = FLAC_EXTRADATA_FORMAT_STREAMINFO; in ff_flac_is_extradata_valid()
190 *format = FLAC_EXTRADATA_FORMAT_FULL_HEADER; in ff_flac_is_extradata_valid()
169 ff_flac_is_extradata_valid(AVCodecContext *avctx, enum FLACExtradataFormat *format, uint8_t **streaminfo_start) ff_flac_is_extradata_valid() argument
H A Dttaenc.c70 enum AVSampleFormat format) in get_sample()
74 if (format == AV_SAMPLE_FMT_U8) { in get_sample()
76 } else if (format == AV_SAMPLE_FMT_S16) { in get_sample()
69 get_sample(const AVFrame *frame, int sample, enum AVSampleFormat format) get_sample() argument
H A Dv4l2_m2m_dec.c57 /* 2. get the capture format */ in v4l2_try_start()
58 capture->format.type = capture->type; in v4l2_try_start()
59 ret = ioctl(s->fd, VIDIOC_G_FMT, &capture->format); in v4l2_try_start()
66 avctx->pix_fmt = ff_v4l2_format_v4l2_to_avfmt(capture->format.fmt.pix_mp.pixelformat, AV_CODEC_ID_RAWVIDEO); in v4l2_try_start()
86 /* 4. init the capture context now that we have the capture format */ in v4l2_try_start()
/third_party/ffmpeg/doc/examples/
H A Dhw_decode.c73 fprintf(stderr, "Failed to get HW surface format.\n"); in get_hw_format()
108 if (frame->format == hw_pix_fmt) { in decode_write()
118 size = av_image_get_buffer_size(tmp_frame->format, tmp_frame->width, in decode_write()
128 (const int *)tmp_frame->linesize, tmp_frame->format, in decode_write()
H A Dfilter_audio.c36 * and sample format required by the audio device.
141 * it ensures that the output is of the format we want. */ in init_filter_graph()
216 int planar = av_sample_fmt_is_planar(frame->format); in process_output()
219 int bps = av_get_bytes_per_sample(frame->format); in process_output()
249 frame->format = INPUT_FORMAT; in get_input()
/third_party/ffmpeg/libavdevice/
H A Dcaca.c126 if (encctx->format != AV_PIX_FMT_RGB24) { in caca_write_header()
128 "Unsupported pixel format '%s', choose rgb24\n", in caca_write_header()
129 av_get_pix_fmt_name(encctx->format)); in caca_write_header()
140 bpp = av_get_bits_per_pixel(av_pix_fmt_desc_get(encctx->format)); in caca_write_header()
/third_party/ffmpeg/libavfilter/
H A Dvf_scdet.c79 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); in config_input()
85 s->nb_planes = is_yuv ? 1 : av_pix_fmt_count_planes(inlink->format); in config_input()
88 ptrdiff_t line_size = av_image_get_linesize(inlink->format, inlink->w, plane); in config_input()
H A Dvf_phase.c129 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); in config_input()
142 if ((ret = av_image_fill_linesizes(s->linesize, inlink->format, inlink->w)) < 0) in config_input()
148 s->nb_planes = av_pix_fmt_count_planes(inlink->format); in config_input()
/third_party/ffmpeg/tests/api/
H A Dapi-flac-test.c26 * Encodes raw data to FLAC format and decodes it back to raw. Compares raw-data
131 in_frame->format = enc_ctx->sample_fmt; in run_test()
217 if (in_frame->format != out_frame->format) { in run_test()
218 av_log(NULL, AV_LOG_ERROR, "Error frames before and after decoding has different sample format\n"); in run_test()
/third_party/alsa-lib/src/ucm/
H A Ducm_local.h300 const char *uc_mgr_config_dir(int format);
301 int uc_mgr_config_load_into(int format, const char *file, snd_config_t *cfg);
302 int uc_mgr_config_load(int format, const char *file, snd_config_t **cfg);
/third_party/benchmark/src/
H A Dstring_util.cc147 std::string StrFormat(const char* format, ...) { in StrFormat() argument
149 va_start(args, format); in StrFormat()
150 std::string tmp = StrFormatImp(format, args); in StrFormat()
/third_party/googletest/googletest/scripts/
H A Dgen_gtest_pred_impl.py190 def Iter(n, format, sep=''):
191 """Given a positive integer n, a format string that contains 0 or
192 more '%s' format specs, and optionally a separator string, returns
193 the join of n strings, each formatted with the format string on an
201 # How many '%s' specs are in format?
202 spec_count = len(format.split('%s')) - 1
203 return sep.join([format % (spec_count * (i,)) for i in OneTo(n)])
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DMixedUnitLongNameHandler.java32 * A localized NumberFormatter used to format the integer-valued bigger
173 // Format the integer values appropriately and modify with the format in getMixedUnitModifier()
198 outputMeasuresList.add(finalFormatter.format("{0}")); in getMixedUnitModifier()
218 outputMeasuresList.add(compiledFormatter.format(appendable.toString())); in getMixedUnitModifier()
224 String premixedFormatPattern = this.fListFormatter.format(outputMeasuresList); in getMixedUnitModifier()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
H A DBasicPeriodFormatter.java40 public String format(Period period) { in format() method in BasicPeriodFormatter
44 return format(period.timeLimit, period.inFuture, period.counts); in format()
57 private String format(int tl, boolean inFuture, int[] counts) { in format() method in BasicPeriodFormatter
67 // periods set, return null to indicate we could not format in format()
144 // format the initial portion of the string before the units. in format()
158 // we didn't format the previous unit in format()
/third_party/icu/icu4c/source/i18n/unicode/
H A Dreldatefmt.h360 * fmt.format(
363 * fmt.format(
366 * fmt.format(
369 * fmt.format(UDAT_DIRECTION_LAST, UDAT_ABSOLUTE_SUNDAY, appendTo, status);
371 * fmt.format(UDAT_DIRECTION_THIS, UDAT_ABSOLUTE_SUNDAY, appendTo, status);
373 * fmt.format(UDAT_DIRECTION_NEXT, UDAT_ABSOLUTE_SUNDAY, appendTo, status);
375 * fmt.format(UDAT_DIRECTION_PLAIN, UDAT_ABSOLUTE_SUNDAY, appendTo, status);
378 * fmt.format(UDAT_DIRECTION_LAST, UDAT_ABSOLUTE_DAY, appendTo, status);
380 * fmt.format(UDAT_DIRECTION_THIS, UDAT_ABSOLUTE_DAY, appendTo, status);
382 * fmt.format(UDAT_DIRECTION_NEX
[all...]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
H A DRbnfLenientScannerTest.java9 package com.ibm.icu.dev.test.format;
169 String s = fmt.format(n); in TestAllLocales()
170 logln(loc.getName() + names[j] + "success format: " + n + " -> " + s); in TestAllLocales()
213 String actualNumber = decFmt.format(formatter.parse(words)); in doLenientParseTest()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DRbnfLenientScannerTest.java10 package ohos.global.icu.dev.test.format;
172 String s = fmt.format(n); in TestAllLocales()
173 logln(loc.getName() + names[j] + "success format: " + n + " -> " + s); in TestAllLocales()
216 String actualNumber = decFmt.format(formatter.parse(words)); in doLenientParseTest()

Completed in 16 milliseconds

1...<<191192193194195196197198199200>>...586