Lines Matching refs:strs
211 char* strs[] = {str1, str2};
216 OH_HiAppEvent_AddStringArrayParam(list, "str_arr_key", strs, sizeof(strs) / sizeof(strs[0]));
666 char* strs[100];
669 strs[i] = new char[32];
670 sprintf_s(strs[i], num,"hello_world_%d",i);
671 std::cout << sizeof(strs[i]) << std::endl;
672 std::cout << strs[i] << std::endl;
678 OH_HiAppEvent_AddStringArrayParam(list, "str_arr_key", strs, sizeof(strs) / sizeof(strs[0]));
708 string strs = "";
710 strs.append("abcdefgh");
716 OH_HiAppEvent_AddStringParam(list, "str_key", strs.c_str());
953 string strs = "";
955 strs.append("abcdefgh");
957 strs.append("a");
962 OH_HiAppEvent_AddStringParam(list, "str_key", strs.c_str());
1028 char* strs[101];
1031 strs[i] = new char[32];
1032 sprintf_s(strs[i], num,"hello_world_%d",i);
1033 std::cout << sizeof(strs[i]) << std::endl;
1034 std::cout << strs[i] << std::endl;
1040 OH_HiAppEvent_AddStringArrayParam(list, "str_arr_key", strs, sizeof(strs) / sizeof(strs[0]));