Lines Matching defs:sb
140 * compare the string value vp with the string (sb,se-1)
144 misccmp(char* vp, int op, char* sb, char* se)
155 r = (strmatch(vp, sb) || strchr(vp, '|') && strmatch(sb, vp)) == (op == EQ);
158 r = strcoll(vp, sb) < 0;
161 r = strcoll(vp, sb) <= 0;
164 r = strcoll(vp, sb) >= 0;
167 r = strcoll(vp, sb) > 0;
197 char* sb;
210 sb = bp + HASHKEYMAX;
212 if (s <= sb)
215 sb = 0;
263 sb = ++cp;
276 sb = cp;
289 if ((st - sb) == 4 && (*sb == 'n' && !strncmp(sb, "name", 4) || *sb == 't' && !strncmp(sb, "type", 4)))
291 sb = *sb == 'n' ? tsp->name : tsp->type;
292 se = sb + strlen(sb);
294 else if (miscget(tsp, sb, 1, &sb, NiL))
295 for (se = sb; *se && !isspace(*se); se++);
296 else sb = se = "";
299 else sb = se = "";
313 if (sb)
321 if (ee = strchr(sb, '|')) *ee = 0;
322 gid = strgid(sb);
323 if (sb = ee) *sb++ = '|';
330 } while (!x && sb);
349 if (sb)
352 return(misccmp(sp->name, op, sb, se));
361 if (sb)
364 return(misccmp(sp->type, op, sb, se));
370 if (sb)
378 if (ee = strchr(sb, '|')) *ee = 0;
379 uid = struid(sb);
380 if (sb = ee) *sb++ = '|';
386 } while (sb);
443 if (sb)
449 set = misccmp(cp, op, sb, se);
475 if (sb)
478 return(misccmp("", op, sb, se));