Lines Matching refs:val

2246 			int val;  in PHP_FUNCTION()  local
2248 if (ldap_get_option(ld->link, option, &val)) { in PHP_FUNCTION()
2252 ZVAL_LONG(retval, val); in PHP_FUNCTION()
2338 char *val = NULL; in PHP_FUNCTION() local
2340 if (ldap_get_option(ld->link, option, &val) || val == NULL || *val == '\0') { in PHP_FUNCTION()
2341 if (val) { in PHP_FUNCTION()
2342 ldap_memfree(val); in PHP_FUNCTION()
2347 ZVAL_STRING(retval, val); in PHP_FUNCTION()
2348 ldap_memfree(val); in PHP_FUNCTION()
2440 int val; in PHP_FUNCTION() local
2443 val = Z_LVAL_P(newval); in PHP_FUNCTION()
2444 if (ldap_set_option(ldap, option, &val)) { in PHP_FUNCTION()
2514 char *val; in PHP_FUNCTION() local
2516 val = Z_STRVAL_P(newval); in PHP_FUNCTION()
2517 if (ldap_set_option(ldap, option, val)) { in PHP_FUNCTION()
2530 void *val; in PHP_FUNCTION() local
2532 val = Z_TYPE_P(newval) == IS_TRUE in PHP_FUNCTION()
2534 if (ldap_set_option(ldap, option, val)) { in PHP_FUNCTION()
2543 zval *ctrlval, *val; in PHP_FUNCTION() local
2561 if ((val = zend_hash_str_find(Z_ARRVAL_P(ctrlval), "oid", sizeof("oid") - 1)) == NULL) { in PHP_FUNCTION()
2567 convert_to_string_ex(val); in PHP_FUNCTION()
2568 ctrl->ldctl_oid = Z_STRVAL_P(val); in PHP_FUNCTION()
2569 if ((val = zend_hash_str_find(Z_ARRVAL_P(ctrlval), "value", sizeof("value") - 1)) != NULL) { in PHP_FUNCTION()
2570 convert_to_string_ex(val); in PHP_FUNCTION()
2571 ctrl->ldctl_value.bv_val = Z_STRVAL_P(val); in PHP_FUNCTION()
2572 ctrl->ldctl_value.bv_len = Z_STRLEN_P(val); in PHP_FUNCTION()
2577 …if ((val = zend_hash_str_find(Z_ARRVAL_P(ctrlval), "iscritical", sizeof("iscritical") - 1)) != NUL… in PHP_FUNCTION()
2578 convert_to_boolean_ex(val); in PHP_FUNCTION()
2579 ctrl->ldctl_iscritical = Z_TYPE_P(val) == IS_TRUE; in PHP_FUNCTION()