Lines Matching refs:inputString
204 char *inputString = nullptr; in DecodeSyncInner() local
212 inputString = new (std::nothrow) char[prolen + 1]; in DecodeSyncInner()
213 if (inputString == nullptr) { in DecodeSyncInner()
217 if (memset_s(inputString, prolen + 1, '\0', prolen + 1) != EOK) { in DecodeSyncInner()
218 FreeMemory(inputString); in DecodeSyncInner()
226 if (inputString != nullptr) { in DecodeSyncInner()
227 napi_get_value_string_utf8(env, src, inputString, prolen + 1, &prolen); in DecodeSyncInner()
228 pret = DecodeAchieve(env, inputString, prolen, valueType); in DecodeSyncInner()
239 FreeMemory(inputString); in DecodeSyncInner()
571 char *inputString = nullptr; in Decode() local
585 inputString = new char[prolen + 1]; in Decode()
586 if (memset_s(inputString, prolen + 1, '\0', prolen + 1) != EOK) { in Decode()
594 napi_get_value_string_utf8(env, src, inputString, prolen + 1, &prolen); in Decode()
595 CreateDecodePromise(env, inputString, prolen, valueType); in Decode()
603 FreeMemory(inputString); in Decode()