Lines Matching refs:value

253 inline bool getExpandType(std::string_view value, Query& query)  in getExpandType()  argument
255 if (value.empty()) in getExpandType()
259 switch (value[0]) in getExpandType()
273 value.remove_prefix(1); in getExpandType()
274 if (value.empty()) in getExpandType()
280 if (!value.starts_with(levels)) in getExpandType()
284 value.remove_prefix(levels.size()); in getExpandType()
286 auto it = std::from_chars(value.begin(), value.end(), query.expandLevel); in getExpandType()
291 value.remove_prefix( in getExpandType()
292 static_cast<size_t>(std::distance(value.begin(), it.ptr))); in getExpandType()
293 return value == ")"; in getExpandType()
303 inline QueryError getNumericParam(std::string_view value, size_t& param) in getNumericParam() argument
306 std::from_chars(value.begin(), value.end(), param); in getNumericParam()
321 inline QueryError getSkipParam(std::string_view value, Query& query) in getSkipParam() argument
323 return getNumericParam(value, query.skip.emplace()); in getSkipParam()
326 inline QueryError getTopParam(std::string_view value, Query& query) in getTopParam() argument
328 QueryError ret = getNumericParam(value, query.top.emplace()); in getTopParam()
350 inline bool getSelectParam(std::string_view value, Query& query) in getSelectParam() argument
353 bmcweb::split(properties, value, ','); in getSelectParam()
376 inline bool getFilterParam(std::string_view value, Query& query) in getFilterParam() argument
378 query.filter = parseFilter(value); in getFilterParam()
390 if (!it.value.empty()) in parseParameters()
392 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters()
399 if (!getExpandType(it.value, ret)) in parseParameters()
401 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters()
407 QueryError topRet = getTopParam(it.value, ret); in parseParameters()
410 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters()
416 res, it.value, "$top", in parseParameters()
423 QueryError topRet = getSkipParam(it.value, ret); in parseParameters()
426 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters()
432 res, it.value, it.key, in parseParameters()
439 if (!getSelectParam(it.value, ret)) in parseParameters()
441 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters()
447 if (!getFilterParam(it.value, ret)) in parseParameters()
449 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters()
461 messages::queryParameterValueFormatError(res, it.value, it.key); in parseParameters()