Lines Matching defs:code
66 auto [code, path] = GetInstancePath(context, name, dataGroupId);
67 if (code != E_OK) {
68 *errCode = code;
89 auto [code, path] = GetInstancePath(context, name, dataGroupId);
90 if (code != E_OK) {
91 return code;
103 auto [code, path] = GetInstancePath(context, name, dataGroupId);
104 if (code != 0) {
105 return code;
261 static CArrDouble VectorToDoubleArray(const std::vector<double> &doubles, int32_t &code)
268 code = E_ERROR;
278 static CArrBool VectorToBoolArray(std::vector<bool> &bools, int32_t &code)
285 code = E_ERROR;
302 static char** VectorToCharPointer(std::vector<std::string> &vec, int32_t &code)
309 code = E_ERROR;
317 code = E_ERROR;
324 static CArrStr VectorToStringArray(std::vector<std::string> &strings, int32_t &code)
328 strArray.head = VectorToCharPointer(strings, code);
329 if (code != E_OK) {
335 static ValueType NativeValueToCValueType(const PreferencesValue &pValue, int32_t &code)
360 v.boolArray = VectorToBoolArray(boolVector, code);
364 v.doubleArray = VectorToDoubleArray(doubleVector, code);
368 v.stringArray = VectorToStringArray(stringVector, code);
376 static ValueTypes NativeValuesToCValueTypes(const std::map<std::string, PreferencesValue> &objects, int32_t &code)
382 code = E_ERROR;
388 code = E_ERROR;
399 code = E_ERROR;
402 valueTypes.head[i] = NativeValueToCValueType(value, code);
403 if (code != E_OK) {
409 code = E_ERROR;