Lines Matching refs:op1
52 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2) in zend_ini_do_op() argument
58 i_op1 = atoi(Z_STRVAL_P(op1)); in zend_ini_do_op()
59 free(Z_STRVAL_P(op1)); in zend_ini_do_op()
109 static void zend_ini_add_string(zval *result, zval *op1, zval *op2) in zend_ini_add_string() argument
113 if (Z_TYPE_P(op1) != IS_STRING) { in zend_ini_add_string()
115 MAKE_COPY_ZVAL(&op1, ©); in zend_ini_add_string()
117 Z_STRVAL_P(op1) = zend_strndup(Z_STRVAL(copy), Z_STRLEN(copy)); in zend_ini_add_string()
118 Z_STRLEN_P(op1) = Z_STRLEN(copy); in zend_ini_add_string()
122 length = Z_STRLEN_P(op1) + Z_STRLEN_P(op2); in zend_ini_add_string()
124 Z_STRVAL_P(result) = (char *) realloc(Z_STRVAL_P(op1), length+1); in zend_ini_add_string()
125 memcpy(Z_STRVAL_P(result)+Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in zend_ini_add_string()