Lines Matching defs:cur
376 struct nlist *cur;
389 cur = sp;
390 while (cur) {
391 if (strncmp(cur->n_un.n_name, sym, symlen) == 0)
392 cur->n_other = 1;
394 cur->n_other = 2;
395 ep = cur;
396 cur = aout_db_search_name(cur + 1, (struct nlist *)stab->end,
402 new = cur = sp;
403 while (++cur <= ep)
404 if (cur->n_other) {
406 sp1 = cur;
407 if (strncmp(&cur->n_un.n_name[cur->n_other - 1],
410 new = cur;
412 ep1 = cur;
417 for (cur = new - 1; cur > (struct nlist *)stab->start; cur--) {
418 if (cur->n_type == N_SO ||
419 (stab->sorted && cur->n_value < new->n_value))
422 cur->n_type == N_SLINE &&
423 cur->n_value == new->n_value)
424 line = cur->n_desc;
426 cur->n_type == N_FUN &&
427 cur->n_value == new->n_value)
431 if (cur->n_type == N_SO)
432 fname = cur->n_un.n_name;
437 for (cur = new + 1;
438 cur < (struct nlist *)stab->end; cur++) {
439 if (cur->n_type == N_SO ||
440 (stab->sorted && cur->n_value > new->n_value))
443 cur->n_type == N_SLINE &&
444 cur->n_value == new->n_value) {
445 line = cur->n_desc;
450 cur->n_type == N_FUN &&
451 cur->n_value == new->n_value) {
459 for (cur = new - 1; cur > (struct nlist *)stab->start; cur--) {
460 if (cur->n_type == N_SO ||
461 (stab->sorted && cur->n_value < new->n_value))
464 cur->n_type == N_FUN &&
465 cur->n_value == new->n_value)
469 for (cur = new + 1;
470 cur < (struct nlist *)stab->end; cur++) {
471 if (cur->n_type == N_SO ||
472 (stab->sorted && cur->n_value > new->n_value))
474 if (cur->n_type == N_FUN &&
475 cur->n_value == new->n_value) {