comp_num 52 source3/lib/ldb/common/ldb_dn.c int comp_num; comp_num 58 source3/lib/ldb/common/ldb_dn.c if (dn == NULL || dn->comp_num != 1) return 0; comp_num 65 source3/lib/ldb/common/ldb_dn.c if (dn == NULL || dn->comp_num != 1) return 0; comp_num 343 source3/lib/ldb/common/ldb_dn.c edn->comp_num = 0; comp_num 377 source3/lib/ldb/common/ldb_dn.c edn->comp_num = 1; comp_num 407 source3/lib/ldb/common/ldb_dn.c edn->comp_num + 1); comp_num 412 source3/lib/ldb/common/ldb_dn.c edn->components[edn->comp_num] = ldb_dn_explode_component(edn, p); comp_num 413 source3/lib/ldb/common/ldb_dn.c LDB_DN_NULL_FAILED(edn->components[edn->comp_num].name); comp_num 415 source3/lib/ldb/common/ldb_dn.c edn->comp_num++; comp_num 447 source3/lib/ldb/common/ldb_dn.c edn->comp_num = 1; comp_num 482 source3/lib/ldb/common/ldb_dn.c for (i = 0; i < edn->comp_num; i++) { comp_num 515 source3/lib/ldb/common/ldb_dn.c if (base == NULL || base->comp_num == 0) return 0; comp_num 516 source3/lib/ldb/common/ldb_dn.c if (dn == NULL || dn->comp_num == 0) return -1; comp_num 519 source3/lib/ldb/common/ldb_dn.c if (base->comp_num > dn->comp_num) { comp_num 520 source3/lib/ldb/common/ldb_dn.c return (dn->comp_num - base->comp_num); comp_num 523 source3/lib/ldb/common/ldb_dn.c n0 = base->comp_num - 1; comp_num 524 source3/lib/ldb/common/ldb_dn.c n1 = dn->comp_num - 1; comp_num 560 source3/lib/ldb/common/ldb_dn.c if (edn0->comp_num != edn1->comp_num) comp_num 561 source3/lib/ldb/common/ldb_dn.c return (edn1->comp_num - edn0->comp_num); comp_num 607 source3/lib/ldb/common/ldb_dn.c cedn->comp_num = edn->comp_num; comp_num 608 source3/lib/ldb/common/ldb_dn.c cedn->components = talloc_array(cedn, struct ldb_dn_component, edn->comp_num); comp_num 614 source3/lib/ldb/common/ldb_dn.c for (i = 0; i < edn->comp_num; i++) { comp_num 716 source3/lib/ldb/common/ldb_dn.c offset = old->comp_num - old_base->comp_num; comp_num 718 source3/lib/ldb/common/ldb_dn.c offset + new_base->comp_num))) { comp_num 743 source3/lib/ldb/common/ldb_dn.c newdn->comp_num = num_el; comp_num 744 source3/lib/ldb/common/ldb_dn.c n = newdn->comp_num - 1; comp_num 745 source3/lib/ldb/common/ldb_dn.c newdn->components = talloc_array(newdn, struct ldb_dn_component, newdn->comp_num); comp_num 748 source3/lib/ldb/common/ldb_dn.c if (dn->comp_num == 0) return newdn; comp_num 749 source3/lib/ldb/common/ldb_dn.c e = dn->comp_num - 1; comp_num 751 source3/lib/ldb/common/ldb_dn.c for (i = 0; i < newdn->comp_num; i++) { comp_num 769 source3/lib/ldb/common/ldb_dn.c return ldb_dn_copy_partial(mem_ctx, dn, dn->comp_num); comp_num 775 source3/lib/ldb/common/ldb_dn.c return ldb_dn_copy_partial(mem_ctx, dn, dn->comp_num - 1); comp_num 814 source3/lib/ldb/common/ldb_dn.c newdn = ldb_dn_copy_partial(mem_ctx, base, base->comp_num + 1); comp_num 820 source3/lib/ldb/common/ldb_dn.c newdn->comp_num = 1; comp_num 821 source3/lib/ldb/common/ldb_dn.c newdn->components = talloc_array(newdn, struct ldb_dn_component, newdn->comp_num); comp_num 853 source3/lib/ldb/common/ldb_dn.c newdn->comp_num = dn1->comp_num; comp_num 854 source3/lib/ldb/common/ldb_dn.c newdn->components = talloc_array(newdn, struct ldb_dn_component, newdn->comp_num); comp_num 857 source3/lib/ldb/common/ldb_dn.c int comp_num = dn2->comp_num; comp_num 858 source3/lib/ldb/common/ldb_dn.c if (dn1 != NULL) comp_num += dn1->comp_num; comp_num 859 source3/lib/ldb/common/ldb_dn.c newdn = ldb_dn_copy_partial(mem_ctx, dn2, comp_num); comp_num 867 source3/lib/ldb/common/ldb_dn.c for (i = 0; i < dn1->comp_num; i++) { comp_num 918 source3/lib/ldb/common/ldb_dn.c for (i = dn->comp_num - 1 ; i >= 0; i--) { comp_num 976 source3/lib/ldb/common/ldb_dn.c return dn->comp_num; comp_num 981 source3/lib/ldb/common/ldb_dn.c if (num >= dn->comp_num) return NULL; comp_num 987 source3/lib/ldb/common/ldb_dn.c if (num >= dn->comp_num) return NULL; comp_num 992 source3/lib/ldb/common/ldb_dn.c if (dn->comp_num == 0) return NULL; comp_num 997 source3/lib/ldb/common/ldb_dn.c if (dn->comp_num == 0) return NULL; comp_num 1006 source3/lib/ldb/common/ldb_dn.c if (num >= dn->comp_num) { comp_num 863 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c if ((req->op.search.base == NULL || req->op.search.base->comp_num == 0) && comp_num 319 source4/dsdb/samdb/ldb_modules/proxy.c (req->op.search.base->comp_num == 1 && comp_num 75 source4/lib/ldb/common/ldb_dn.c unsigned int comp_num; comp_num 279 source4/lib/ldb/common/ldb_dn.c dn->comp_num = 0; comp_num 437 source4/lib/ldb/common/ldb_dn.c dn->components[dn->comp_num].name = talloc_strdup(dn->components, dt); comp_num 438 source4/lib/ldb/common/ldb_dn.c if ( ! dn->components[dn->comp_num].name) { comp_num 527 source4/lib/ldb/common/ldb_dn.c dn->components[dn->comp_num].value.data = (uint8_t *)talloc_strdup(dn->components, dt); comp_num 528 source4/lib/ldb/common/ldb_dn.c dn->components[dn->comp_num].value.length = l; comp_num 529 source4/lib/ldb/common/ldb_dn.c if ( ! dn->components[dn->comp_num].value.data) { comp_num 536 source4/lib/ldb/common/ldb_dn.c dn->comp_num++; comp_num 537 source4/lib/ldb/common/ldb_dn.c if (dn->comp_num > 2) { comp_num 541 source4/lib/ldb/common/ldb_dn.c dn->comp_num + 1); comp_num 547 source4/lib/ldb/common/ldb_dn.c memset(&dn->components[dn->comp_num], '\0', sizeof(struct ldb_dn_component)); comp_num 633 source4/lib/ldb/common/ldb_dn.c dn->components[dn->comp_num].value.data = (uint8_t *)talloc_strdup(dn->components, dt); comp_num 634 source4/lib/ldb/common/ldb_dn.c dn->components[dn->comp_num].value.length = l; comp_num 636 source4/lib/ldb/common/ldb_dn.c if ( ! dn->components[dn->comp_num].value.data) { comp_num 641 source4/lib/ldb/common/ldb_dn.c dn->comp_num++; comp_num 647 source4/lib/ldb/common/ldb_dn.c dn->comp_num = 0; comp_num 671 source4/lib/ldb/common/ldb_dn.c if (dn->comp_num == 0) { comp_num 678 source4/lib/ldb/common/ldb_dn.c for (len = 0, i = 0; i < dn->comp_num; i++) { comp_num 688 source4/lib/ldb/common/ldb_dn.c for (i = 0; i < dn->comp_num; i++) { comp_num 801 source4/lib/ldb/common/ldb_dn.c for (i = 0; i < dn->comp_num; i++) { comp_num 823 source4/lib/ldb/common/ldb_dn.c for (i = 0; i < dn->comp_num; i++) { comp_num 848 source4/lib/ldb/common/ldb_dn.c if (dn->comp_num == 0) { comp_num 860 source4/lib/ldb/common/ldb_dn.c for (len = 0, i = 0; i < dn->comp_num; i++) { comp_num 870 source4/lib/ldb/common/ldb_dn.c for (i = 0; i < dn->comp_num; i++) { comp_num 932 source4/lib/ldb/common/ldb_dn.c if (base->comp_num > dn->comp_num) { comp_num 933 source4/lib/ldb/common/ldb_dn.c return (dn->comp_num - base->comp_num); comp_num 936 source4/lib/ldb/common/ldb_dn.c if (dn->comp_num == 0) { comp_num 948 source4/lib/ldb/common/ldb_dn.c n_base = base->comp_num - 1; comp_num 949 source4/lib/ldb/common/ldb_dn.c n_dn = dn->comp_num - 1; comp_num 998 source4/lib/ldb/common/ldb_dn.c if (dn0->comp_num != dn1->comp_num) { comp_num 999 source4/lib/ldb/common/ldb_dn.c return (dn1->comp_num - dn0->comp_num); comp_num 1002 source4/lib/ldb/common/ldb_dn.c if (dn0->comp_num == 0) { comp_num 1014 source4/lib/ldb/common/ldb_dn.c for (i = 0; i < dn0->comp_num; i++) { comp_num 1116 source4/lib/ldb/common/ldb_dn.c new_dn->components = talloc_zero_array(new_dn, struct ldb_dn_component, dn->comp_num); comp_num 1122 source4/lib/ldb/common/ldb_dn.c for (i = 0; i < dn->comp_num; i++) { comp_num 1207 source4/lib/ldb/common/ldb_dn.c dn->comp_num + base->comp_num); comp_num 1213 source4/lib/ldb/common/ldb_dn.c for (i = 0; i < base->comp_num; dn->comp_num++, i++) { comp_num 1214 source4/lib/ldb/common/ldb_dn.c dn->components[dn->comp_num] = ldb_dn_copy_component(dn->components, &base->components[i]); comp_num 1215 source4/lib/ldb/common/ldb_dn.c if (dn->components[dn->comp_num].value.data == NULL) { comp_num 1323 source4/lib/ldb/common/ldb_dn.c n = dn->comp_num + child->comp_num; comp_num 1334 source4/lib/ldb/common/ldb_dn.c for (i = dn->comp_num - 1, j = n - 1; i >= 0; i--, j--) { comp_num 1338 source4/lib/ldb/common/ldb_dn.c for (i = 0; i < child->comp_num; i++) { comp_num 1346 source4/lib/ldb/common/ldb_dn.c dn->comp_num = n; comp_num 1421 source4/lib/ldb/common/ldb_dn.c if (dn->comp_num < num) { comp_num 1427 source4/lib/ldb/common/ldb_dn.c LDB_FREE(dn->components[dn->comp_num - i].name); comp_num 1428 source4/lib/ldb/common/ldb_dn.c LDB_FREE(dn->components[dn->comp_num - i].value.data); comp_num 1429 source4/lib/ldb/common/ldb_dn.c LDB_FREE(dn->components[dn->comp_num - i].cf_name); comp_num 1430 source4/lib/ldb/common/ldb_dn.c LDB_FREE(dn->components[dn->comp_num - i].cf_value.data); comp_num 1433 source4/lib/ldb/common/ldb_dn.c dn->comp_num -= num; comp_num 1436 source4/lib/ldb/common/ldb_dn.c for (i = 0; i < dn->comp_num; i++) { comp_num 1463 source4/lib/ldb/common/ldb_dn.c if (dn->comp_num < num) { comp_num 1467 source4/lib/ldb/common/ldb_dn.c for (i = 0, j = num; j < dn->comp_num; i++, j++) { comp_num 1477 source4/lib/ldb/common/ldb_dn.c dn->comp_num -= num; comp_num 1480 source4/lib/ldb/common/ldb_dn.c for (i = 0; i < dn->comp_num; i++) { comp_num 1541 source4/lib/ldb/common/ldb_dn.c for (i = dn->comp_num - 1 ; i >= 0; i--) { comp_num 1598 source4/lib/ldb/common/ldb_dn.c return dn->comp_num; comp_num 1606 source4/lib/ldb/common/ldb_dn.c if (num >= dn->comp_num) return NULL; comp_num 1615 source4/lib/ldb/common/ldb_dn.c if (num >= dn->comp_num) return NULL; comp_num 1624 source4/lib/ldb/common/ldb_dn.c if (dn->comp_num == 0) return NULL; comp_num 1633 source4/lib/ldb/common/ldb_dn.c if (dn->comp_num == 0) return NULL; comp_num 1646 source4/lib/ldb/common/ldb_dn.c if (num >= dn->comp_num) { comp_num 1669 source4/lib/ldb/common/ldb_dn.c for (i = 0; i < dn->comp_num; i++) { comp_num 175 source4/nbt_server/wins/winsdb.c unsigned int comp_num; comp_num 184 source4/nbt_server/wins/winsdb.c comp_num = ldb_dn_get_comp_num(dn); comp_num 186 source4/nbt_server/wins/winsdb.c if (comp_num > 3) { comp_num 191 source4/nbt_server/wins/winsdb.c if (comp_num > cur && strcasecmp("scope", ldb_dn_get_component_name(dn, cur)) == 0) { comp_num 198 source4/nbt_server/wins/winsdb.c if (comp_num > cur && strcasecmp("name", ldb_dn_get_component_name(dn, cur)) == 0) { comp_num 209 source4/nbt_server/wins/winsdb.c if (comp_num > cur && strcasecmp("type", ldb_dn_get_component_name(dn, cur)) == 0) {