Lines Matching defs:value
77 if (!ptr_assert->value) {
81 } else if (IS_ERR(ptr_assert->value)) {
85 PTR_ERR(ptr_assert->value));
91 /* Checks if `text` is a literal representing `value`, e.g. "5" and 5 */
92 static bool is_literal(struct kunit *test, const char *text, long long value,
99 len = snprintf(NULL, 0, "%lld", value);
107 snprintf(buffer, len+1, "%lld", value);
169 * Note: `text` will have ""s where as `value` will not.
171 static bool is_str_literal(const char *text, const char *value)
181 return strncmp(text + 1, value, len - 2) == 0;