Lines Matching refs:Z_STRLEN_P

303 …if ((Z_TYPE_INFO_P(holder) = is_numeric_string(Z_STRVAL_P(op), Z_STRLEN_P(op), &Z_LVAL_P(holder), …  in _zendi_convert_scalar_to_number_silent()
339 if (0 == (Z_TYPE_INFO_P(holder) = is_numeric_string_ex(Z_STRVAL_P(op), Z_STRLEN_P(op), in _zendi_try_convert_scalar_to_number()
406 type = is_numeric_string_ex(Z_STRVAL_P(op), Z_STRLEN_P(op), &lval, &dval, in zendi_try_get_long()
932 if (0 == (type = is_numeric_string(Z_STRVAL_P(op), Z_STRLEN_P(op), &lval, &dval, true))) { in zval_get_long_func()
1603 if (Z_STRLEN_P(op1) == 1) { in bitwise_not_function()
1607 ZVAL_NEW_STR(result, zend_string_alloc(Z_STRLEN_P(op1), 0)); in bitwise_not_function()
1608 for (i = 0; i < Z_STRLEN_P(op1); i++) { in bitwise_not_function()
1647 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_or_function()
1648 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_or_function()
1663 str = zend_string_alloc(Z_STRLEN_P(longer), 0); in bitwise_or_function()
1664 for (i = 0; i < Z_STRLEN_P(shorter); i++) { in bitwise_or_function()
1667 memcpy(ZSTR_VAL(str) + i, Z_STRVAL_P(longer) + i, Z_STRLEN_P(longer) - i + 1); in bitwise_or_function()
1729 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_and_function()
1730 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_and_function()
1745 str = zend_string_alloc(Z_STRLEN_P(shorter), 0); in bitwise_and_function()
1746 for (i = 0; i < Z_STRLEN_P(shorter); i++) { in bitwise_and_function()
1811 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_xor_function()
1812 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_xor_function()
1827 str = zend_string_alloc(Z_STRLEN_P(shorter), 0); in bitwise_xor_function()
1828 for (i = 0; i < Z_STRLEN_P(shorter); i++) { in bitwise_xor_function()
2126 return zend_binary_strcmp(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in string_compare_function()
2148 … return zend_binary_strcasecmp(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in string_case_compare_function()
2280 return Z_STRLEN_P(op2) == 0 ? 0 : -1; in zend_compare()
2283 return Z_STRLEN_P(op1) == 0 ? 0 : 1; in zend_compare()
2512 size_t pos=Z_STRLEN_P(str)-1; in increment_string()
2518 if (UNEXPECTED(Z_STRLEN_P(str) == 0)) { in increment_string()
2542 Z_STR_P(str) = zend_string_init(Z_STRVAL_P(str), Z_STRLEN_P(str), 0); in increment_string()
2547 Z_STR_P(str) = zend_string_init(Z_STRVAL_P(str), Z_STRLEN_P(str), 0); in increment_string()
2593 t = zend_string_alloc(Z_STRLEN_P(str)+1, 0); in increment_string()
2594 memcpy(ZSTR_VAL(t) + 1, Z_STRVAL_P(str), Z_STRLEN_P(str)); in increment_string()
2595 ZSTR_VAL(t)[Z_STRLEN_P(str) + 1] = '\0'; in increment_string()
2713 if (Z_STRLEN_P(op1) == 0) { /* consider as 0 */ in decrement_function()
3265 return zend_binary_strcmp(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_P(s2)); in zend_binary_zval_strcmp()
3271 …return zend_binary_strncmp(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_P(s2), Z_LVAL_… in zend_binary_zval_strncmp()