Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 25 of 40) sorted by relevance

12

/base/web/webview/test/unittest/nweb_url_resource_response_test/
Dnweb_url_resource_response_test.cpp27 const std::string encoding = "utf8"; variable
62 encoding, status_code, reason_phrase, response_headers, input_stream);
67 EXPECT_STREQ(encoding.c_str(), actual_encoding.c_str());
91 encoding, input_stream);
96 EXPECT_STREQ(encoding.c_str(), actual_encoding.c_str());
111 encoding, status_code, reason_phrase, response_headers, input_stream);
116 webResonse->PutResponseEncoding(encoding);
118 EXPECT_STREQ(encoding.c_str(), actual_encoding.c_str());
/base/web/webview/ohos_nweb/include/
Dnweb_url_resource_response.h56 const std::string& encoding, in NWebUrlResourceResponse() argument
62 encoding_(encoding), in NWebUrlResourceResponse()
69 const std::string& encoding, in NWebUrlResourceResponse() argument
72 encoding_(encoding), in NWebUrlResourceResponse()
106 void PutResponseEncoding(const std::string& encoding) in PutResponseEncoding() argument
108 encoding_ = encoding; in PutResponseEncoding()
Dnweb_preference.h105 virtual void PutDefaultTextEncodingFormat(std::string encoding) = 0;
Dnweb.h444 const std::string& encoding,
458 const std::string& encoding) = 0;
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
Ddfx_memory.cpp221 size_t DfxMemory::GetEncodedSize(uint8_t encoding) in GetEncodedSize() argument
223 switch (encoding & 0x0f) { in GetEncodedSize()
245 uintptr_t DfxMemory::ReadEncodedValue(uintptr_t& addr, uint8_t encoding) in ReadEncodedValue() argument
249 if (encoding == DW_EH_PE_omit) { in ReadEncodedValue()
251 } else if (encoding == DW_EH_PE_aligned) { in ReadEncodedValue()
260 switch (encoding & DW_EH_PE_FORMAT_MASK) { in ReadEncodedValue()
319 LOGW("Unexpected encoding format 0x%x", encoding & DW_EH_PE_FORMAT_MASK); in ReadEncodedValue()
323 switch (encoding & DW_EH_PE_APPL_MASK) { in ReadEncodedValue()
340 if (encoding & DW_EH_PE_indirect) { in ReadEncodedValue()
/base/web/webview/test/fuzztest/loadwithdata_fuzzer/
Dloadwithdata_fuzzer.cpp34 const std::string encoding; in LoadWithDataFuzzTest() local
35 g_nweb->LoadWithData(datas, mimeType, encoding); in LoadWithDataFuzzTest()
/base/web/webview/test/fuzztest/loadwithdataandbaseurl_fuzzer/
Dloadwithdataandbaseurl_fuzzer.cpp35 const std::string encoding; in LoadWithDataAndBaseUrlFuzzTest() local
37 g_nweb->LoadWithDataAndBaseUrl(baseUrl, datas, mimeType, encoding, historyUrl); in LoadWithDataAndBaseUrlFuzzTest()
/base/security/selinux_adapter/scripts/selinux_check/
Dcheck_baseline.py41 with open(cil_file, 'r', encoding='utf-8') as cil_read:
86 with open(cil_file, 'r', encoding='utf-8') as cil_read:
98 with open(cil_file, 'r', encoding='utf-8') as cil_read:
109 with open(cil_file, 'r', encoding='utf-8') as cil_read:
118 with open(cil_file, 'r', encoding='utf-8') as cil_read:
144 with open(output_conf, 'w', encoding="utf-8") as fd:
Dcheck_perm_group.py40 with open(cil_file, 'r', encoding='utf-8') as cil_read:
84 with open(cil_file, 'r', encoding='utf-8') as cil_read:
96 with open(cil_file, 'r', encoding='utf-8') as cil_read:
107 with open(cil_file, 'r', encoding='utf-8') as cil_read:
116 with open(cil_file, 'r', encoding='utf-8') as cil_read:
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/python/ohos/global/i18n/
Dgenerate_dat.py65 with open(os.path.join(path, locales_file_name), 'r', encoding='utf-8') as locale_file:
71 with open(os.path.join(path, resource_item_file_name), 'r', encoding='utf-8') as resource_file:
78 with open(os.path.join(path, resource_name), 'r', encoding='utf-8') as item_file:
162 string_pool2bts = string_pool.encode(encoding='utf-8', errors='strict')
182 resource_str2bts = resource_str.encode(encoding='utf-8', errors='strict')
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
Ddfx_memory.h85 virtual size_t GetEncodedSize(uint8_t encoding);
86 virtual uintptr_t ReadEncodedValue(uintptr_t& addr, uint8_t encoding);
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiocreaterender_fuzzer/
Daudiocreaterender_fuzzer.cpp33 rendererOptions.encoding = AudioAdapterEncodingType::ENCODING_PCM; in AudioCreateRenderFuzzTest()
/base/global/i18n/tools/
Ddata_process.py88 …with os.fdopen(os.open("data/name2num.txt", os.O_RDWR | os.O_CREAT, 0o640), "w", encoding="utf-8")…
94 …with os.fdopen(os.open("data/num2name.txt", os.O_RDWR | os.O_CREAT, 0o640), "w", encoding="utf-8")…
/base/web/webview/ohos_adapter/interfaces/
Daudio_capturer_adapter.h34 AudioAdapterEncodingType encoding; member
Daudio_renderer_adapter.h81 AudioAdapterEncodingType encoding; member
/base/telephony/core_service/services/sim/src/
Druim_file.cpp305 int encoding = static_cast<int>(data[ENCODING_POS]); in ProcessGetSpnDone() local
324 …TELEPHONY_LOGI("EfCsimSpnFileWanted encoding is %{public}d, languange is %{public}d", encoding, la… in ProcessGetSpnDone()
325 ParseSpnName(encoding, spnData, numBytes); in ProcessGetSpnDone()
/base/web/webview/ohos_adapter/audio_adapter/src/
Daudio_capturer_adapter_impl.cpp106 options.streamInfo.encoding = GetAudioEncodingType(capturerOptions.encoding); in Create()
Daudio_renderer_adapter_impl.cpp147 audioOptions.streamInfo.encoding = GetAudioEncodingType(rendererOptions.encoding); in Create()
/base/web/webview/test/unittest/audio_adapter_impl_test/
Daudio_adapter_impl_test.cpp146 rendererOptions.encoding = AudioAdapterEncodingType::ENCODING_PCM;
499 rendererOptions.encoding = AudioAdapterEncodingType::ENCODING_PCM;
556 rendererOptions.encoding = AudioAdapterEncodingType::ENCODING_PCM;
590 rendererOptions.encoding = AudioAdapterEncodingType::ENCODING_PCM;
657 capturerOptions.encoding = AudioAdapterEncodingType::ENCODING_PCM;
883 capturerOptions.encoding = AudioAdapterEncodingType::ENCODING_PCM;
/base/web/webview/test/unittest/common/
Dnweb_create_window.h164 const std::string& encoding, in LoadWithDataAndBaseUrl() argument
171 const std::string& encoding) override in LoadWithData() argument
/base/telephony/call_manager/services/audio/src/
Daudio_player.cpp68 rendererOptions.streamInfo.encoding = AudioStandard::AudioEncodingType::ENCODING_PCM; in InitRenderer()
96 capturerOptions.streamInfo.encoding = AudioStandard::AudioEncodingType::ENCODING_PCM; in InitCapturer()
/base/telephony/core_service/utils/vcard/src/
Dvcard_decoder_v21.cpp451 const std::string &encoding, std::shared_ptr<VCardRawData> rawData, int32_t &errorCode) in DealEncodingParam() argument
453 … if (ContainValue(encoding, GetSupportParamEncoding()) || VCardUtils::StartWith(encoding, "X-")) { in DealEncodingParam()
454 rawData->AppendParameter(VCARD_PARAM_ENCODING, encoding); in DealEncodingParam()
455 currentEncoding_ = encoding; in DealEncodingParam()
/base/sensors/start/
DREADME_zh.md25 <?xml version="1.0" encoding="utf-8"?>
/base/security/selinux_adapter/scripts/
Dbuild_policy_api.py357 with open(pattern_file, 'r', encoding='utf-8') as pat_file:
360 with open(input_file, 'r', encoding='utf-8') as in_file:
361 tmp_output.writelines(line.encode(encoding='utf-8') for line in in_file.readlines()
363 tmp_output.write("\n".encode(encoding='utf-8'))
/base/powermgr/thermal_manager/
DREADME_zh.md51 <?xml version="1.0" encoding="UTF-8"?>

12