Lines Matching refs:TRex_True
2729 #define TRex_True 1 macro
3198 first = trex_charnode(exp,TRex_True); in trex_class()
3201 first = trex_charnode(exp,TRex_True); in trex_class()
3269 … case TREX_SYMBOL_GREEDY_ZERO_OR_MORE: p0 = 0; p1 = 0xFFFF; exp->_p++; isgreedy = TRex_True; break; in trex_element()
3270 case TREX_SYMBOL_GREEDY_ONE_OR_MORE: p0 = 1; p1 = 0xFFFF; exp->_p++; isgreedy = TRex_True; break; in trex_element()
3271 case TREX_SYMBOL_GREEDY_ZERO_OR_ONE: p0 = 0; p1 = 1; exp->_p++; isgreedy = TRex_True; break; in trex_element()
3293 isgreedy = TRex_True; in trex_element()
3340 case 'a': return isalpha(c)?TRex_True:TRex_False; in trex_matchcclass()
3341 case 'A': return !isalpha(c)?TRex_True:TRex_False; in trex_matchcclass()
3342 case 'w': return (isalnum(c) || c == '_')?TRex_True:TRex_False; in trex_matchcclass()
3343 case 'W': return (!isalnum(c) && c != '_')?TRex_True:TRex_False; in trex_matchcclass()
3344 case 's': return ISSPACE(c)?TRex_True:TRex_False; in trex_matchcclass()
3345 case 'S': return !ISSPACE(c)?TRex_True:TRex_False; in trex_matchcclass()
3346 case 'd': return isdigit(c)?TRex_True:TRex_False; in trex_matchcclass()
3347 case 'D': return !isdigit(c)?TRex_True:TRex_False; in trex_matchcclass()
3348 case 'x': return isxdigit(c)?TRex_True:TRex_False; in trex_matchcclass()
3349 case 'X': return !isxdigit(c)?TRex_True:TRex_False; in trex_matchcclass()
3350 case 'c': return iscntrl(c)?TRex_True:TRex_False; in trex_matchcclass()
3351 case 'C': return !iscntrl(c)?TRex_True:TRex_False; in trex_matchcclass()
3352 case 'p': return ispunct(c)?TRex_True:TRex_False; in trex_matchcclass()
3353 case 'P': return !ispunct(c)?TRex_True:TRex_False; in trex_matchcclass()
3354 case 'l': return islower(c)?TRex_True:TRex_False; in trex_matchcclass()
3355 case 'u': return isupper(c)?TRex_True:TRex_False; in trex_matchcclass()
3372 if(c >= toupper(node->left) && c <= toupper(node->right)) return TRex_True; in trex_matchclass()
3373 if(c >= tolower(node->left) && c <= tolower(node->right)) return TRex_True; in trex_matchclass()
3377 if(c >= node->left && c <= node->right) return TRex_True; in trex_matchclass()
3381 if(trex_matchcclass(node->left,c)) return TRex_True; in trex_matchclass()
3386 if (c == tolower(node->type) || c == toupper(node->type)) return TRex_True; in trex_matchclass()
3390 if(c == node->type)return TRex_True; in trex_matchclass()
3523 …p,&exp->_nodes[node->left],*str)?(type == OP_CLASS?TRex_True:TRex_False):(type == OP_NCLASS?TRex_T… in trex_matchnode()
3629 return TRex_True; in trex_match()
3658 return TRex_True; in trex_searchrange()
3675 return TRex_True; in trex_getsubexp()