Lines Matching refs:ZSTR_VAL

143 				"Object of class %s could not be converted to %s", ZSTR_VAL(Z_OBJCE_P(op)->name),\
169 …if ((Z_TYPE_INFO_P(op)=is_numeric_string(ZSTR_VAL(str), ZSTR_LEN(str), &Z_LVAL_P(op), &Z_DVAL_P(op… in _convert_scalar_to_number()
357 ZVAL_LONG(op, ZEND_STRTOL(ZSTR_VAL(str), NULL, base)); in convert_to_long_base()
417 ZVAL_DOUBLE(op, zend_strtod(ZSTR_VAL(str), NULL)); in convert_to_double()
485 || (ZSTR_LEN(str) == 1 && ZSTR_VAL(str)[0] == '0')) { in convert_to_boolean()
594 …zend_throw_error(NULL, "Object of class %s could not be converted to string", ZSTR_VAL(Z_OBJCE_P(o… in _convert_to_string()
908 …zend_throw_error(NULL, "Object of class %s could not be converted to string", ZSTR_VAL(Z_OBJCE_P(o… in __zval_get_string_func()
1542 ZSTR_VAL(str)[i] = Z_STRVAL_P(longer)[i] | Z_STRVAL_P(shorter)[i]; in bitwise_or_function()
1544 memcpy(ZSTR_VAL(str) + i, Z_STRVAL_P(longer) + i, Z_STRLEN_P(longer) - i + 1); in bitwise_or_function()
1620 ZSTR_VAL(str)[i] = Z_STRVAL_P(shorter)[i] & Z_STRVAL_P(longer)[i]; in bitwise_and_function()
1622 ZSTR_VAL(str)[i] = 0; in bitwise_and_function()
1698 ZSTR_VAL(str)[i] = Z_STRVAL_P(shorter)[i] ^ Z_STRVAL_P(longer)[i]; in bitwise_xor_function()
1700 ZSTR_VAL(str)[i] = 0; in bitwise_xor_function()
1900 memcpy(ZSTR_VAL(result_str), Z_STRVAL_P(op1), op1_len); in concat_function()
1911 memcpy(ZSTR_VAL(result_str) + op1_len, Z_STRVAL_P(op2), op2_len); in concat_function()
1912 ZSTR_VAL(result_str)[result_len] = '\0'; in concat_function()
1929 ret = zend_binary_strcasecmp_l(ZSTR_VAL(str1), ZSTR_LEN(str1), ZSTR_VAL(str2), ZSTR_LEN(str1)); in string_compare_function_ex()
1931 ret = zend_binary_strcmp(ZSTR_VAL(str1), ZSTR_LEN(str1), ZSTR_VAL(str2), ZSTR_LEN(str2)); in string_compare_function_ex()
1953 int ret = zend_binary_strcmp(ZSTR_VAL(str1), ZSTR_LEN(str1), ZSTR_VAL(str2), ZSTR_LEN(str2)); in string_compare_function()
1975 …int ret = zend_binary_strcasecmp_l(ZSTR_VAL(str1), ZSTR_LEN(str1), ZSTR_VAL(str2), ZSTR_LEN(str1)); in string_case_compare_function()
1989 int ret = strcoll(ZSTR_VAL(str1), ZSTR_VAL(str2)); in string_locale_compare_function()
2436 memcpy(ZSTR_VAL(t) + 1, Z_STRVAL_P(str), Z_STRLEN_P(str)); in increment_string()
2437 ZSTR_VAL(t)[Z_STRLEN_P(str) + 1] = '\0'; in increment_string()
2440 ZSTR_VAL(t)[0] = '1'; in increment_string()
2443 ZSTR_VAL(t)[0] = 'A'; in increment_string()
2446 ZSTR_VAL(t)[0] = 'a'; in increment_string()
2607 …zend_error(E_RECOVERABLE_ERROR, "Object of class %s could not be converted to bool", ZSTR_VAL(Z_OB… in zend_object_is_true()
2695 register unsigned char *p = (unsigned char*)ZSTR_VAL(str); in zend_string_tolower_ex()
2703 if (p != (unsigned char*)ZSTR_VAL(str)) { in zend_string_tolower_ex()
2704 memcpy(ZSTR_VAL(res), ZSTR_VAL(str), p - (unsigned char*)ZSTR_VAL(str)); in zend_string_tolower_ex()
2706 r = p + (ZSTR_VAL(res) - ZSTR_VAL(str)); in zend_string_tolower_ex()
3021 return is_numeric_string_ex(ZSTR_VAL(str), ZSTR_LEN(str), lval, dval, -1, NULL);