Lines Matching refs:value

155     napi_get_value_double(env, argv[2], &number); // 2 is the index of value
158 napi_get_value_string_utf8(env, argv[3], nullptr, 0, &len); // 3 is the index of value
160 // 3 is the index of value
174 // 4 is the index of value
178 std::string value = numberFmt->Format(number);
180 status = napi_create_string_utf8(env, value.c_str(), NAPI_AUTO_LENGTH, &result);
207 std::string value = DateTimeSequence::GetDateOrder(languageTag);
209 status = napi_create_string_utf8(env, value.c_str(), NAPI_AUTO_LENGTH, &result);
604 HILOG_ERROR_I18N("Transform: Get string value failed");
611 napi_value value;
612 status = napi_create_string_utf8(env, temp.c_str(), NAPI_AUTO_LENGTH, &value);
617 return value;
1094 int value = obj->brkiter_->Current();
1096 status = napi_create_int32(env, value, &result);
1098 HILOG_ERROR_I18N("Current: Create int32_t value failed");
1117 int value = obj->brkiter_->First();
1119 status = napi_create_int32(env, value, &result);
1121 HILOG_ERROR_I18N("First: Create int32_t value failed");
1140 int value = obj->brkiter_->Last();
1142 status = napi_create_int32(env, value, &result);
1144 HILOG_ERROR_I18N("Last: Create int32_t value failed");
1163 int value = obj->brkiter_->Previous();
1165 status = napi_create_int32(env, value, &result);
1167 HILOG_ERROR_I18N("Previous: Create int32_t value failed");
1186 int value = 1;
1194 status = napi_get_value_int32(env, argv[0], &value);
1196 HILOG_ERROR_I18N("Next: Retrieve next value failed");
1200 value = obj->brkiter_->Next(value);
1202 status = napi_create_int32(env, value, &result);
1204 HILOG_ERROR_I18N("Next: Create int32_t value failed");
1241 HILOG_ERROR_I18N("SetText: Get string value failed");
1261 napi_value value = nullptr;
1264 status = napi_create_string_utf8(env, temp.c_str(), NAPI_AUTO_LENGTH, &value);
1269 return value;
1294 int value;
1295 status = napi_get_value_int32(env, argv[0], &value);
1297 HILOG_ERROR_I18N("Following: Retrieve following value failed");
1300 value = obj->brkiter_->Following(value);
1302 status = napi_create_int32(env, value, &result);
1304 HILOG_ERROR_I18N("Following: Create int32_t value failed");
1327 int value;
1333 status = napi_get_value_int32(env, argv[0], &value);
1335 HILOG_ERROR_I18N("IsBoundary: Retrieve following value failed");
1338 bool boundary = obj->brkiter_->IsBoundary(value);