Home
last modified time | relevance | path

Searched refs:format (Results 1 - 25 of 52) sorted by relevance

123

/interface/sdk_c/multimedia/media_foundation/
H A Dnative_avformat.h19 * @brief Provides audio and video format.
65 * format from surface.
90 * Possible failure causes: 1. mimeType is nullptr. 2. new format is nullptr.
105 * Possible failure causes: 1. mimeType is nullptr. 2. new format is nullptr.
116 * @param format pointer to an OH_AVFormat instance
121 void OH_AVFormat_Destroy(struct OH_AVFormat *format);
129 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error.
138 * @param format pointer to an OH_AVFormat instance
142 * Possible failure causes: 1. input format i
[all...]
/interface/sdk_c/third_party/musl/ndk_musl_include/fortify/
H A Dstdio.h96 size_t size, const char* format, va_list ap)
100 return __builtin___vsnprintf_chk(dest, size, 0, bos, format, ap);
104 int vsprintf(char* const __DIAGNOSE_PASS_OBJECT_SIZE dest, const char* format, va_list ap)
107 return __builtin___vsprintf_chk(dest, 0, __DIAGNOSE_BOS(dest), format, ap);
111 int sprintf(char* const __DIAGNOSE_PASS_OBJECT_SIZE dest, const char* format, ...)
115 va_start(va_l, format);
116 int result = __builtin___vsprintf_chk(dest, 0, __DIAGNOSE_BOS(dest), format, va_l);
122 int snprintf(char* const __DIAGNOSE_PASS_OBJECT_SIZE dest, size_t size, const char* format, ...)
126 va_start(va_l, format);
127 int result = __builtin___vsnprintf_chk(dest, size, 0, __DIAGNOSE_BOS(dest), format, va_
[all...]
/interface/sdk-js/build-tools/openharmony_sdk_upgrade_assistant/src/main/java/com/update/check/log/
H A DLoggerImpl.java39 logger.error(String.format(MESSAGE_FORMAT, prefix, tag, message)); in error()
44 logger.info(String.format(MESSAGE_FORMAT, prefix, tag, message)); in info()
49 logger.warn(String.format(MESSAGE_FORMAT, prefix, tag, message)); in warn()
54 logger.debug(String.format(MESSAGE_FORMAT, prefix, tag, message)); in debug()
/interface/sdk_c/third_party/icu4c/ndk_headers/unicode/
H A Dudat.h40 * Date Format helps you to format and parse dates for any locale. Your code can
42 * week, or even the calendar format: lunar vs. solar.
44 * To format a date for the current Locale with default time and date style,
61 * format and use it multiple times so that the system doesn't have to fetch the
101 * printf("date format: %s\n", u_austrcpy(buffer, myString));
106 * To format a date for a different Locale, specify it in the call to
132 * You can also set the time zone on the format if you wish.
134 * You can also use forms of the parse and format methods with Parse Position and
159 /** The possible date/time format styles
350 * Constant for date skeleton with hour, with the locale's preferred hour format (1
[all...]
H A Dumachine.h223 # error int64_t is required for decimal format and rule-based number format.
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/check/
H A Dcheck_doc.py49 tag_source = "{}{}".format(element['source'], '\n')
50 value['main_buggy_code'] = "{}{}".format(value['main_buggy_code'], tag_source)
69 brief = "{}{}".format(tag_info['name'], tag_info['description'])
103 library: str = '{}{}'.format(tag_info['name'], tag_info['description'])
155 value: str = '{}{}'.format(tag_info['name'], tag_info['description'])
173 syscap = '{}{}'.format(tag_info['name'], tag_info['description'])
266 file_doc_info.group_brief = '{}{}'.format(item['name'], item['description'])
268 file_doc_info.group_library = '{}{}'.format(item['name'], item['description'])
270 file_doc_info.group_syscap = '{}{}'.format(item['name'], item['description'])
290 file_doc_info.file_brief = '{}{}'.format(ite
[all...]
/interface/sdk_c/build-tools/capi_parser/test/testCase/
H A Drun_main.py35 write_in_txt(check_result, os.path.join(output_path, "{}.txt".format(file_name)))
36 with open(os.path.join(expect_path, "{}.txt".format(file_name))) as json_file:
39 self.assertEqual(result_json, "result_json", "{} case is error".format(os.path.join(dirpath, item)))
/interface/sdk-js/build-tools/api_diff/src/
H A Dindex.js49 options: ['--format <json, excel, changelog>', 'output file format'],
81 if (!argv.format || argv.format === 'json') {
83 } else if (argv.format === 'excel') {
86 } else if (argv.format === 'changelog') {
/interface/sdk_c/build-tools/capi_parser/src/bin/
H A Dwrite_md.py93 markdown_table = '{}{}{}'.format("|", "|".join(headers), "|\n")
94 markdown_table += '{}{}{}'.format("|", "|".join(["---"] * len(headers)), "|\n")
96 markdown_table += '{}{}{}'.format("|", "|".join(str(element[header]) for header in headers), "|\n")
124 file_name = '{}{}'.format(kit_name, '.md')
/interface/sdk_c/multimedia/av_codec/
H A Dnative_avcodec_audiodecoder.h93 * @param format A pointer to an OH_AVFormat giving a description of the audio track to be decoded
100 OH_AVErrCode OH_AudioDecoder_Configure(OH_AVCodec *codec, OH_AVFormat *format);
189 * @param format OH_AVFormat handle pointer
196 OH_AVErrCode OH_AudioDecoder_SetParameter(OH_AVCodec *codec, OH_AVFormat *format);
H A Dnative_avcodec_audioencoder.h97 * @param format OH_AVFormat handle pointer
105 OH_AVErrCode OH_AudioEncoder_Configure(OH_AVCodec *codec, OH_AVFormat *format);
197 * @param format OH_AVFormat handle pointer
205 OH_AVErrCode OH_AudioEncoder_SetParameter(OH_AVCodec *codec, OH_AVFormat *format);
H A Dnative_avcodec_audiocodec.h98 * @param format A pointer to an OH_AVFormat giving a description of the audio track to be encoded or decoded
108 OH_AVErrCode OH_AudioCodec_Configure(OH_AVCodec *codec, const OH_AVFormat *format);
207 * @param format OH_AVFormat handle pointer
217 OH_AVErrCode OH_AudioCodec_SetParameter(OH_AVCodec *codec, const OH_AVFormat *format);
H A Dnative_avcodec_videodecoder.h141 * @param format A pointer to an OH_AVFormat to give the description of the video track to be decoded
145 * {@link AV_ERR_INVALID_VAL}, the decoder is nullptr or invalid. Invalid param in format.
153 OH_AVErrCode OH_VideoDecoder_Configure(OH_AVCodec *codec, OH_AVFormat *format);
255 * @param format pointer to an OH_AVFormat instance
259 * {@link AV_ERR_INVALID_VAL}, the decoder is nullptr or invalid. Invalid param in format.
265 OH_AVErrCode OH_VideoDecoder_SetParameter(OH_AVCodec *codec, OH_AVFormat *format);
273 * process of the decoder, such as PPS/SPS data in H264 format.
338 * beginning to initialize the decoding process of the decoder, such as PPS/SPS data in H264 format.
H A Dnative_avcodec_videoencoder.h153 * @param format A pointer to an OH_AVFormat that gives the description of the video track to be encoded
157 * {@link AV_ERR_INVALID_VAL}, the encoder is nullptr or invalid. Invalid param in format.
163 OH_AVErrCode OH_VideoEncoder_Configure(OH_AVCodec *codec, OH_AVFormat *format);
262 * @param format OH_AVFormat handle pointer
266 * {@link AV_ERR_INVALID_VAL}, the encoder is nullptr or invalid. Invalid param in format.
272 OH_AVErrCode OH_VideoEncoder_SetParameter(OH_AVCodec *codec, OH_AVFormat *format);
/interface/sdk_c/multimedia/image_framework/include/
H A Dimage_receiver_mdk.h83 /* Image format {@link OHOS_IMAGE_FORMAT_JPEG} created by using the receiver. */
84 int32_t format; member
244 * @brief Obtains the format of the image receiver through an {@link ImageReceiverNative} object.
247 * @param format Indicates the pointer to the format obtained.
258 int32_t OH_Image_Receiver_GetFormat(const ImageReceiverNative* native, int32_t* format);
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/parser/
H A Dparse_include.py216 data['class_name'] = '{}-{}'.format(file_name, parent_cursor.type.spelling)
222 unique_id = '{}#{}'.format(loc["location_path"], cursor.spelling)
243 unique_id = '{}#{}'.format(loc["location_path"], unique_name)
245 unique_id = '{}#{}#{}'.format(loc["location_path"], parent_name_str, unique_name)
254 class_name = '{}-{}'.format(current_file_name, data["name"])
256 class_name = '{}-{}'.format(current_file_name, data["type"])
272 "location_path": '{}'.format(location_path),
318 pattern = '{} {})'.format(RegularExpressions.DEFINE_COMMENT.value, cursor.spelling)
373 syntax_error_message = '{}\n{}'.format(syntax_error_message, error_message)
615 content = "{}{}".format(conten
[all...]
H A Dgenerating_tables.py98 str_parm = '{} {}'.format(item["parm"][i]["type"], item["parm"][i]["name"])
220 generate_json_file_path = r'{}'.format(generate_json_file) # 获取要对比的json文件
237 generate_json_file_path = r'{}'.format(generate_json_file_path) # 获取要对比的json文件
/interface/sdk_c/third_party/vulkan-headers/vulkan/
H A Dvulkan_ohos.h84 typedef VkResult (VKAPI_PTR *PFN_vkGetSwapchainGrallocUsageOHOS)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, uint64_t* grallocUsage);
112 VkFormat format,
152 VkFormat format; member
/interface/sdk-js/build-tools/api_label_detection/src/coreImpl/
H A Dprocess_three_type.py145 'typeLocations': '{}#{}'.format(ErrorType.PARAM_NO_TAG.value,
147 'objLocations': '{}#{}'.format(ErrorType.PARAM_OBJ_NO_TAG.value,
151 diff_data['typeLocations'] = '{}#{}'.format(ErrorType.RETURN_NO_TAG.value,
153 diff_data['objLocations'] = '{}#{}'.format(ErrorType.RETURN_OBJ_NO_TAG.value,
320 error_message = '({});{}'.format(error_result.get('error_quote_name'),
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/diff/
H A Ddiff_file.py83 old_all_text = '{}#&#{}'.format(change_data_obj.old_all_text, element.old_api_full_text)
84 new_all_text = '{}#&#{}'.format(change_data_obj.new_all_text, element.new_api_full_text)
85 diff_type_all = '{}#&#{}'.format(change_data_obj.get_diff_type(), element.operation_diff_type)
86 change_type_all = '{}#&#{}'.format(change_data_obj.get_change_type(), element.api_modification_type)
87 compatible_data_all = '{}#&#{}'.format(change_data_obj.get_compatible_total(), element.is_compatible)
/interface/sdk_c/multimedia/image_framework/include/image/
H A Dimage_packer_native.h105 * @param format the number of image format.The user can pass in a null pointer and zero size, we will allocate memory,
111 Image_MimeType *format);
114 * @brief Set format number for OH_PackingOptions struct.
117 * @param format the number of image format.
122 Image_MimeType *format);
337 * @brief Encoding an <b>ImageSource</b> into the data with required format.
351 * @brief Encoding a <b>Pixelmap</b> into the data with required format.
365 * @brief Encoding a <b>Picture</b> into the data with required format
[all...]
/interface/sdk_c/ai/neural_network_runtime/
H A Dneural_network_core.h70 * failure is that the parameters of model are invalid or there is a problem with the model format.
375 * The {@link NN_TensorDesc} describes various tensor attributes, such as name/data type/shape/format, etc.\n
533 * @brief Sets the format of a {@link NN_TensorDesc}.
535 * After the {@link NN_TensorDesc} instance is created, call this method to set the tensor format. \n
540 * @param format The format of the tensor that needs to be set.
542 * {@link OH_NN_SUCCESS} set tensor format successfully.\n
543 * {@link OH_NN_INVALID_PARAMETER} fail to set tensor format. The possible reason for failure
544 * is that the <b>tensorDesc</b> is nullptr, or <b>format</b> is invalid.\n
548 OH_NN_ReturnCode OH_NNTensorDesc_SetFormat(NN_TensorDesc *tensorDesc, OH_NN_Format format);
[all...]
/interface/sdk_c/multimedia/camera_framework/
H A Dcamera.h261 * @brief Enum for camera format type.
608 * Camera format.
610 Camera_Format format; member
644 * Camera format.
646 Camera_Format format; member
/interface/sdk_c/multimedia/image_effect/
H A Dimage_effect_filter.h164 * @brief Enumerates the pixel format type
170 /** Unknown pixel format */
172 /** RGBA8888 pixel format */
174 /** NV21 pixel format */
176 /** NV12 pixel format */
178 /** RGBA 10bit pixel format */
180 /** YCBCR420 semi-planar 10bit pixel format */
182 /** YCRCB420 semi-planar 10bit pixel format */
455 * @brief Set the format of the image for OH_EffectBufferInfo
459 * @param format Indicate
[all...]
/interface/sdk_c/graphic/graphic_2d/native_window/
H A Dbuffer_handle.h54 int32_t format; /**< the format of memory */ member

Completed in 13 milliseconds

123