Lines Matching defs:data
34 // Use buffer contents. buffer.str is a pointer to data, buffer.used is a
500 /* If len is zero, returns true iff target and data have exact case-insensitive
502 substring of data. If len is positive, returns true iff target is a
503 case-insensitive substring of data or vice versa, and neither is shorter than
505 int __kmp_str_match(char const *target, int len, char const *data) {
507 if (target == NULL || data == NULL) {
510 for (i = 0; target[i] && data[i]; ++i) {
511 if (TOLOWER(target[i]) != TOLOWER(data[i])) {
515 return ((len > 0) ? i >= len : (!target[i] && (len || !data[i])));
518 // If data contains all of target, returns true, otherwise returns false.
520 bool __kmp_str_contains(char const *target, int len, char const *data) {
522 if (target == NULL || data == NULL) {
526 if (!data[j])
528 if (TOLOWER(target[i]) != TOLOWER(data[j])) {
543 int __kmp_str_match_false(char const *data) {
545 __kmp_str_match("false", 1, data) || __kmp_str_match("off", 2, data) ||
546 __kmp_str_match("0", 1, data) || __kmp_str_match(".false.", 2, data) ||
547 __kmp_str_match(".f.", 2, data) || __kmp_str_match("no", 1, data) ||
548 __kmp_str_match("disabled", 0, data);
552 int __kmp_str_match_true(char const *data) {
554 __kmp_str_match("true", 1, data) || __kmp_str_match("on", 2, data) ||
555 __kmp_str_match("1", 1, data) || __kmp_str_match(".true.", 2, data) ||
556 __kmp_str_match(".t.", 2, data) || __kmp_str_match("yes", 1, data) ||
557 __kmp_str_match("enabled", 0, data);