Lines Matching refs:str
67 int PruneList::init(const char* str) {
81 if (str && !strcmp(str, _default)) {
82 str = NULL;
85 if (str && !strcmp(str, _disable)) {
86 str = "";
91 if (str) {
92 filter = str;
116 for (str = filter.c_str(); *str; ++str) {
117 if (isspace(*str)) {
122 if ((*str == '~') || (*str == '!')) { // ~ supported, ! undocumented
123 ++str;
125 if (*str == '!') {
127 ++str;
128 if (!*str) {
131 if (!isspace(*str)) {
138 if (!strncmp(str, worstPid, sizeof(worstPid) - 1)) {
140 str += sizeof(worstPid) - 1;
141 if (!*str) {
144 if (!isspace(*str)) {
149 if (!*str) {
158 if (isdigit(*str)) {
161 uid = uid * 10 + *str++ - '0';
162 } while (isdigit(*str));
166 if (*str == '/') {
167 ++str;
168 if (isdigit(*str)) {
171 pid = pid * 10 + *str++ - '0';
172 } while (isdigit(*str));
180 if (*str && !isspace(*str)) {
210 if (!*str) {