Lines Matching refs:ber
79 BerElement *ber; member
119 if (entry->ber != NULL) { in _free_ldap_result_entry()
120 ber_free(entry->ber, 0); in _free_ldap_result_entry()
121 entry->ber = NULL; in _free_ldap_result_entry()
918 resultentry->ber = NULL; in PHP_FUNCTION()
947 resultentry_next->ber = NULL; in PHP_FUNCTION()
962 BerElement *ber; in PHP_FUNCTION() local
997 attribute = ldap_first_attribute(ldap, ldap_result_entry, &ber); in PHP_FUNCTION()
1019 attribute = ldap_next_attribute(ldap, ldap_result_entry, ber); in PHP_FUNCTION()
1022 if (ber != NULL) { in PHP_FUNCTION()
1023 ber_free(ber, 0); in PHP_FUNCTION()
1064 if ((attribute = ldap_first_attribute(ld->link, resultentry->data, &resultentry->ber)) == NULL) { in PHP_FUNCTION()
1092 if (resultentry->ber == NULL) { in PHP_FUNCTION()
1097 if ((attribute = ldap_next_attribute(ld->link, resultentry->data, resultentry->ber)) == NULL) { in PHP_FUNCTION()
1099 if (resultentry->ber != NULL) { in PHP_FUNCTION()
1100 ber_free(resultentry->ber, 0); in PHP_FUNCTION()
1101 resultentry->ber = NULL; in PHP_FUNCTION()
1125 BerElement *ber; in PHP_FUNCTION() local
1137 attribute = ldap_first_attribute(ld->link, resultentry->data, &ber); in PHP_FUNCTION()
1157 attribute = ldap_next_attribute(ld->link, resultentry->data, ber); in PHP_FUNCTION()
1160 if (ber != NULL) { in PHP_FUNCTION()
1161 ber_free(ber, 0); in PHP_FUNCTION()
2302 resultentry->ber = NULL; in PHP_FUNCTION()
2331 resultentry_next->ber = NULL; in PHP_FUNCTION()
2589 BerElement *ber = NULL; in PHP_FUNCTION() local
2604 ber = ber_alloc_t(LBER_USE_DER); in PHP_FUNCTION()
2605 if (ber == NULL) { in PHP_FUNCTION()
2622 if (ber_printf(ber, "{iO}", (int)pagesize, &lcookie) == LBER_ERROR) { in PHP_FUNCTION()
2627 rc = ber_flatten2(ber, &ctrl.ldctl_value, 0); in PHP_FUNCTION()
2662 if (ber != NULL) { in PHP_FUNCTION()
2663 ber_free(ber, 1); in PHP_FUNCTION()
2679 BerElement *ber; in PHP_FUNCTION() local
2721 ber = ber_init(&lctrl->ldctl_value); in PHP_FUNCTION()
2722 if (ber == NULL) { in PHP_FUNCTION()
2728 tag = ber_scanf(ber, "{io}", &lestimated, &lcookie); in PHP_FUNCTION()
2729 (void)ber_free(ber, 1); in PHP_FUNCTION()