Home
last modified time | relevance | path

Searched refs:methodStr (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_msg.cpp37 std::string methodStr; in Phase2MethodFromStr() local
39 methodStr = str.substr(PREFIX_AUTH.length()); in Phase2MethodFromStr()
41 methodStr = str.substr(PREFIX_AUTHEAP.length()); in Phase2MethodFromStr()
47 if (METHOD_STRS[i] == methodStr) { in Phase2MethodFromStr()
/ohos5.0/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
H A Dfetch_module.cpp223 …std::unique_ptr<char, decltype(&FreeString)> methodStr(JSI::ValueToString(value.get()), FreeString… in GetMethodFromOptions() local
224 return methodStr == nullptr ? HttpConstant::HTTP_METHOD_GET : methodStr.get(); in GetMethodFromOptions()
/ohos5.0/foundation/ability/idl_tool/codegen/
H A Dts_code_emitter.cpp133 StringBuilder methodStr; in EmitInterfaceMethod() local
138 methodStr.Append(prefix).AppendFormat("%s(", MethodName(metaMethod->name_).string()); in EmitInterfaceMethod()
154 EmitInterfaceMethodLastPara(metaMethod, prefix, method, methodStr, haveOutPara); in EmitInterfaceMethod()
155 methodStr.Append("): void;\n"); in EmitInterfaceMethod()
156 stringBuilder.Append(methodStr.ToString()); in EmitInterfaceMethod()
161 StringBuilder& methodStr, bool haveOutPara) in EmitInterfaceMethodLastPara() argument
166 … EmitMethodInParameter(methodStr, method.parameters_[index].name_, method.parameters_[index].type_, in EmitInterfaceMethodLastPara()
169 methodStr.Append(", "); in EmitInterfaceMethodLastPara()
178 methodStr.AppendFormat("callback: %s", method.callbackName_.c_str()); in EmitInterfaceMethodLastPara()
180 methodStr.AppendFormat(", callback: %s", method.callbackName_.c_str()); in EmitInterfaceMethodLastPara()
H A Dts_code_emitter.h77 StringBuilder& methodStr, bool haveOutPara);