Searched refs:numValue (Results 1 – 2 of 2) sorted by relevance
154 uint64_t numValue = std::stoull(value, &numEndIndex, DECIMAL_UNIT); in SetMaxStorageSizeItem() local156 SetMaxStorageSize(numValue); in SetMaxStorageSizeItem()165 maxStoSize = numValue; in SetMaxStorageSizeItem()168 maxStoSize = numValue * STORAGE_UNIT_KB; in SetMaxStorageSizeItem()171 maxStoSize = numValue * STORAGE_UNIT_MB; in SetMaxStorageSizeItem()174 maxStoSize = numValue * STORAGE_UNIT_GB; in SetMaxStorageSizeItem()177 maxStoSize = numValue * STORAGE_UNIT_TB; in SetMaxStorageSizeItem()
118 double numValue = defaultValue; in ParseNumberValue() local119 napi_status ret = napi_get_value_double(env, value, &numValue); in ParseNumberValue()123 return numValue; in ParseNumberValue()