Lines Matching refs:id
64 const void *id;
74 const void *id, *ref, *mode;
83 id = ref = mode = NULL;
85 if (iseq(attr[i], "id")) {
86 id = attr[i+1];
98 mt->rd->name = strdup(id);
154 mt->country->isoname = strdup(id);
163 mt->freqband->id = strdup(id);
390 findid(struct regdata *rdp, const void *id, int type)
394 for (ip = rdp->ident; ip->id != NULL; ip++)
395 if (ip->type == type && strcasecmp(ip->id, id) == 0)
411 const void *id;
441 rdp->ident[i].id = dp->name;
447 rdp->ident[i].id = fp->id;
453 rdp->ident[i].id = cp->isoname;
462 id = dp->cc;
463 dp->cc = findid(rdp, id, COUNTRY);
466 __DECONST(char *, id));
469 free(__DECONST(char *, id));
472 id = findid(rdp, nb->band, FREQBAND);
473 if (id == NULL) {
478 nb->band = id;
481 id = findid(rdp, nb->band, FREQBAND);
482 if (id == NULL) {
487 nb->band = id;
490 id = findid(rdp, nb->band, FREQBAND);
491 if (id == NULL) {
496 nb->band = id;
499 id = findid(rdp, nb->band, FREQBAND);
500 if (id == NULL) {
505 nb->band = id;
508 id = findid(rdp, nb->band, FREQBAND);
509 if (id == NULL) {
514 nb->band = id;
518 id = cp->rd;
519 cp->rd = findid(rdp, id, DOMAIN);
522 __DECONST(char *, id));
525 free(__DECONST(char *, id));