Home
last modified time | relevance | path

Searched +defs:i +defs:s (Results 1 – 25 of 147) sorted by relevance

123456

/ohos5.0/base/telephony/ril_adapter/services/vendor/src/
H A Dvendor_util.c74 int32_t IsResponseSuccess(const char *s) in IsResponseSuccess()
76 size_t i; in IsResponseSuccess() local
85 int32_t IsResponseError(const char *s) in IsResponseError()
87 size_t i; in IsResponseError() local
96 int32_t IsSms(const char *s) in IsSms()
107 int32_t IsSmsNotify(const char *s) in IsSmsNotify()
112 size_t i; in IsSmsNotify() local
137 int32_t SkipATPrefix(char **s) in SkipATPrefix()
152 void SkipSpace(char **s) in SkipSpace()
260 void SkipNextComma(char **s) in SkipNextComma()
[all …]
H A Dvendor_channel.c122 int32_t WriteATCommand(const char *s, int32_t isPdu, int32_t atFd) in WriteATCommand()
128 size_t i = 0; in WriteATCommand() local
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
H A Dutils.cpp26 bool Utils::IsAlphaString(const char *s, int32_t len) in IsAlphaString()
31 int32_t i; in IsAlphaString() local
41 bool Utils::IsNumericString(const char *s, int32_t len) in IsNumericString()
46 int32_t i; in IsNumericString() local
78 bool Utils::IsStrEmpty(const char *s) in IsStrEmpty()
83 size_t Utils::StrLen(const char *s) in StrLen()
274 RState Utils::ConvertColorToUInt32(const char *s, uint32_t &outValue) in ConvertColorToUInt32()
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhcodec_log.h31 for (size_t i = 0; i < N; i++) { in CountPercent() local
39 for (size_t i = 1; i < N; i++) { in CountPercent() local
54 for (size_t i = 0, j = 0; i < N; i++, j++) { in AddPublic() local
69 #define RE_FORMAT(level, s, ...) do { \ argument
76 #define RE_FORMAT(level, s, ...) do { \ argument
101 #define LOG(level, s, ...) RE_FORMAT(level, "[%s %d] " s, __FUNCTION__, __LINE__, ##__VA_ARGS__) argument
108 #define TLOG(level, s, ...) do { \ argument
118 #define HLOG(level, s, ...) RE_FORMAT(level, "%s[%s][%s %d] " s, \ argument
126 #define SLOG(level, s, ...) RE_FORMAT(level, "%s[%s][%s %d] " s, \ argument
/ohos5.0/drivers/peripheral/usb/test/moduletest/common/liteos/
H A Dusb_host_raw_api_func_test.cpp112 for (int32_t i = 0; strlen(data[i]) > 0; i++) { variable
142 for (int32_t i = 0; strlen(data[i]) > 0; i++) { variable
165 const string s = "0123456789abcdef"; variable
177 for (unsigned int i = 0; i < writeCnt; i++) { variable
266 for (int32_t i = 0; strlen(data[i]) > 0; i++) { variable
294 for (int32_t i = 0; strlen(data[i]) > 0; i++) { variable
315 const string s = "0123456789abcdef"; variable
327 for (int32_t i = 0; i < writeCnt; i++) { variable
H A Dusb_host_serial_func_test.cpp115 for (int32_t i = 0; strlen(data[i]) > 0; i++) { variable
145 for (int32_t i = 0; strlen(data[i]) > 0; i++) { variable
168 const string s = "0123456789abcdef"; variable
180 for (int32_t i = 0; i < writeCnt; i++) { variable
270 for (int32_t i = 0; strlen(data[i]) > 0; i++) { variable
298 for (int32_t i = 0; strlen(data[i]) > 0; i++) { variable
319 const string s = "0123456789abcdef"; variable
331 for (unsigned int i = 0; i < writeCnt; i++) { variable
390 for (int32_t i=0; i < TEST_COUNT; i++) { variable
429 for (int32_t i = 0; i < TEST_COUNT; i++) { variable
[all …]
H A Dusb_device_serial_func_test.cpp76 for (int32_t i = 0; strlen(data[i]) > 0; i++) { variable
96 for (int32_t i = 0; i < 30; i++) { variable
118 const string s = "0123456789abcdef"; variable
130 for (int32_t i = 0; i < writeCnt; i++) { variable
/ohos5.0/drivers/peripheral/usb/test/moduletest/common/
H A Dusb_host_raw_api_func_test.cpp84 for (int32_t i = 0; data[i].size() > 0; i++) { variable
106 const string s = "0123456789abcdef"; variable
118 for (int32_t i = 0; i < writeCnt; i++) { variable
172 for (int32_t i = 0; data[i].size() > 0; i++) { variable
193 const string s = "0123456789abcdef"; variable
205 for (int32_t i = 0; i < writeCnt; i++) { variable
H A Dusb_host_serial_func_test.cpp97 for (int32_t i = 0; i < 20; i++) { variable
121 for (int32_t i = 0; i < 20; i++) { variable
172 for (int32_t i = 0; data[i].size() > 0; i++) { variable
194 const string s = "0123456789abcdef"; variable
206 for (int32_t i = 0; i < writeCnt; i++) { variable
254 for (int32_t i = 0; data[i].size() > 0; i++) { variable
275 const string s = "0123456789abcdef"; variable
287 for (int32_t i = 0; i < writeCnt; i++) { variable
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/tests/c/src/
H A Dipc_rust_test.cpp39 for (int i = 0; i < VEC_NUM; i++) { in WriteTestVector() local
164 CStringWrapper::CStringWrapper(std::string *s) : raw(s->data()), len(s->length()) in CStringWrapper()
170 auto s = new std::string; in GetCallingDeviceID() local
216 auto s = new std::string; in LocalDeviceID() local
222 auto s = new std::string; in ResetCallingIdentity() local
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dlocale_util.cpp90 bool LocaleUtil::IsStrEmpty(const char *s) in IsStrEmpty()
106 bool LocaleUtil::IsAlphaString(const char *s, int32_t len) in IsAlphaString()
111 int32_t i; in IsAlphaString() local
121 bool LocaleUtil::IsNumericString(const char *s, int32_t len) in IsNumericString()
126 int32_t i; in IsNumericString() local
/ohos5.0/base/print/print_fwk/utils/include/
H A Dprint_ipp_over_usb_util.h50 inline std::string PrintIppOverUsbUtil::Uint8ToHexString(const uint8_t *v, const size_t s) in Uint8ToHexString()
54 for (size_t i = 0; i < s; i++) { in Uint8ToHexString() local
69 inline void PrintIppOverUsbUtil::TrimString(std::string &s) in TrimString()
111 for (size_t i = startLine; i < theSplitIndex; i++) { in MakeHeader() local
114 for (size_t i = theSplitIndex + 1; i <= endline; i++) { in MakeHeader() local
127 for (size_t i = start; i < dataLength && i < (start + dumpLength); i++) { in DumpRespCode() local
/ohos5.0/base/sensors/sensor/utils/ipc/include/
H A Dstream_buffer.h104 const char *s = StreamBufferGetErrorStatusRemark(streamBufferPtr_.get()); in Read() local
121 const char *s = StreamBufferGetErrorStatusRemark(streamBufferPtr_.get()); in Write() local
145 for (size_t i = 0; i < size; i++) { in Read() local
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dutils.cpp106 int i = 0; in EncodeBase64() local
142 bool Utils::IsAlphaString(const char *s, int32_t len) in IsAlphaString()
147 int32_t i; in IsAlphaString() local
157 bool Utils::IsNumericString(const char *s, int32_t len) in IsNumericString()
162 int32_t i; in IsNumericString() local
194 bool Utils::IsStrEmpty(const char *s) in IsStrEmpty()
199 size_t Utils::StrLen(const char *s) in StrLen()
400 RState Utils::ConvertColorToUInt32(const char *s, uint32_t &outValue) in ConvertColorToUInt32()
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dhttp_proxy.cpp36 for (const auto &s : exclusionList) { in HttpProxy() local
100 for (const auto &s : exclusionList_) { in Marshalling() local
145 for (uint32_t i = 0; i < size; ++i) { in Unmarshalling() local
146 std::string s; in Unmarshalling() local
163 std::string s; in ToString() local
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/
H A Dmodule_split_stream_sink.c193 for (int i = 0; i < MAX_PARTS; ++i) { in ConvertToSplitArr() local
249 static void SinkUpdateRequestedLatencyCb(pa_sink *s) in SinkUpdateRequestedLatencyCb()
268 static void SinkReconfigureCb(pa_sink *s, pa_sample_spec *spec, bool passthrough) in SinkReconfigureCb()
273 static bool SinkSetFormatsCb(pa_sink *s, pa_idxset *formats) in SinkSetFormatsCb()
285 static pa_idxset* SinkGetFormatsCb(pa_sink *s) in SinkGetFormatsCb()
414 pa_sink_input *i; in SplitFillMixInfo() local
496 static unsigned SplitPaSinkRender(pa_sink *s, size_t length, pa_memchunk *result, char *streamType) in SplitPaSinkRender()
592 static void SplitPaSinkRenderInto(pa_sink *s, pa_memchunk *target, char *streamType) in SplitPaSinkRenderInto()
628 static void SplitPaSinkRenderIntoFull(pa_sink *s, pa_memchunk *target, char *streamType) in SplitPaSinkRenderIntoFull()
663 static unsigned SplitPaSinkRenderFull(pa_sink *s, size_t length, pa_memchunk *result, char *streamT… in SplitPaSinkRenderFull()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/mipi_csi/
H A Dmipi_csi_dev.c160 static struct MipiCsiCntlr *GetCntlr(const SysProcEntryTag *s) in GetCntlr()
504 static void ProcShowMipiDevice(SysProcEntryTag *s, struct MipiCsiCntlr *cntlr) in ProcShowMipiDevice()
552 static void ProcShowMipiLane(SysProcEntryTag *s, struct MipiCsiCntlr *cntlr) in ProcShowMipiLane()
638 static void ProcShowMipiPhyData(SysProcEntryTag *s, struct MipiCsiCntlr *cntlr) in ProcShowMipiPhyData()
640 int i; in ProcShowMipiPhyData() local
756 static void ProcShowMipiHsMode(SysProcEntryTag *s, struct MipiCsiCntlr *cntlr) in ProcShowMipiHsMode()
844 static void ProcShowMipirxVcErr(SysProcEntryTag *s, struct MipiCsiCntlr *cntlr, in ProcShowMipirxVcErr()
935 static void ProcShowLvdsIntErr(SysProcEntryTag *s, struct MipiCsiCntlr *cntlr, in ProcShowLvdsIntErr()
992 uint8_t devnoLvds[MIPI_RX_MAX_DEV_NUM], SysProcEntryTag *s) in MipiLvdsProcShow()
1081 static void MipiProcShow(SysProcEntryTag *s) in MipiProcShow()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dstring_view.h176 constexpr basic_string_view<CharT>::basic_string_view(CharT const* const s, size_type count) : begi… in basic_string_view()
180 constexpr basic_string_view<CharT>::basic_string_view(CharT const* const s) : begin_(s), size_(cons… in basic_string_view()
327 const_pointer i = begin_ + pos; in copy() local
382 constexpr int basic_string_view<CharT>::compare(CharT const* const s) const in compare()
403 …int basic_string_view<CharT>::compare(size_type pos1, size_type count1, CharT const* const s) const in compare()
410 size_type pos1, size_type count1, CharT const* const s, size_type count2) const in compare()
683 for (auto s = s2; s != s3; s++) { in find_first_of() local
727 for (auto s = s2; s != s3; s++) { in find_last_of() local
778 constexpr bool basic_string_view<CharT>::starts_with(const CharT* s) const in starts_with()
807 constexpr bool basic_string_view<CharT>::ends_with(const CharT* s) const in ends_with()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_common.c234 static int HdiRsnIdToCipher(const uint8_t *s) in HdiRsnIdToCipher()
248 static int HdiRsnIdToCipherSuite(const uint8_t *s) in HdiRsnIdToCipherSuite()
283 static int HdiKeyMgmtToAuthMgmt(const uint8_t *s) in HdiKeyMgmtToAuthMgmt()
297 static int HdiRsnKeyMgmtToAuthMgmt(const uint8_t *s) in HdiRsnKeyMgmtToAuthMgmt()
418 int i, count; in HdiConvertIe() local
506 int i, count; in HdiConvertIeRsn() local
721 size_t i; in HdiBufEncode() local
814 for (int i = 0, j = 0; i < MAC_STRING_SIZE; ++i) { in CheckMacIsValid() local
840 unsigned i = 0; in StrSafeCopy() local
/ohos5.0/foundation/multimedia/image_effect/test/unittest/
H A Dimage_effect_capi_unittest.cpp106 InSequence s; variable
403 for (int i = 0; i < MAX_TEST_ADD_EFILTE_NUMS; i++) { variable
920 InSequence s; variable
961 InSequence s; variable
983 InSequence s; variable
1063 InSequence s; variable
1098 InSequence s; variable
1132 InSequence s; variable
1195 InSequence s; variable
1239 InSequence s; variable
[all …]
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Daudio_server_dump.cpp280 void AudioServerDump::PASinkInfoCallback(pa_context *c, const pa_sink_info *i, int eol, void *userd… in PASinkInfoCallback()
306 void AudioServerDump::PASinkInputInfoCallback(pa_context *c, const pa_sink_input_info *i, int eol, … in PASinkInputInfoCallback()
357 void AudioServerDump::PASourceInfoCallback(pa_context *c, const pa_source_info *i, int eol, void *u… in PASourceInfoCallback()
383 void AudioServerDump::PASourceOutputInfoCallback(pa_context *c, const pa_source_output_info *i, int… in PASourceOutputInfoCallback()
438 char s[PA_SAMPLE_SPEC_SNPRINT_MAX]; in PlaybackSinkDump() local
466 char s[PA_SAMPLE_SPEC_SNPRINT_MAX]; in RecordSourceDump() local
489 char s[PA_SAMPLE_SPEC_SNPRINT_MAX]; in HDFModulesDump() local
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_javascript_result_callback.cpp163 for (size_t i = 0; i < argc; i++) { in CallbackFunctionForH5() local
195 napi_status s = napi_ok; in CreateFunctionForH5() local
216 napi_status s = napi_ok; in AddFunctionToObjectForH5() local
225 napi_status s = napi_ok; in CreateProxyForH5Object() local
362 napi_status s = napi_ok; in ParseBasicTypeNwebValue2NapiValue() local
441 napi_status s = napi_ok; in ParseArrayNwebValue2NapiValue() local
448 for (size_t i = 0; i < length; ++i) { in ParseArrayNwebValue2NapiValue() local
615 for (uint32_t i = 0; i < size; i++) { in ParseNapiValue2NwebValueHelper() local
650 for (uint32_t i = 0; i < size; i++) { in ParseDictionaryNapiValue2NwebValue() local
732 for (uint32_t i = 0; i < size; i++) { in IsCallableObject() local
[all …]
/ohos5.0/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
H A Dhttp_request_utils.cpp27 std::string s = str; in Split() local
43 int64_t i = 0; in Strip() local
/ohos5.0/foundation/arkui/advanced_ui_component/interface/composetitlebar/
H A Dcomposetitlebar.js17 var s, r = arguments.length, variable
28 constructor(e, t, o, i = -1) { argument
316 constructor(e, t, o, i = -1) { argument
570 constructor(e, t, o, i = -1) { argument
/ohos5.0/foundation/arkui/advanced_ui_component/interface/selecttitlebar/
H A Dselecttitlebar.js17 var s, r = arguments.length, variable
28 constructor(e, t, o, i = -1) { argument
387 constructor(e, t, o, i = -1) { argument
641 constructor(e, t, o, i = -1) { argument

123456