Lines Matching refs:Z_STRLEN_P

158 …if ((Z_TYPE_P(op)=is_numeric_string(strval, Z_STRLEN_P(op), &Z_LVAL_P(op), &Z_DVAL_P(op), 1)) == 0…  in convert_scalar_to_number()
191 …if ((Z_TYPE(holder)=is_numeric_string(Z_STRVAL_P(op), Z_STRLEN_P(op), &Z_LVAL(holder), &Z_DVAL(hol…
274 if (Z_STRLEN_P(op) == 0 \
275 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { \
503 if (Z_STRLEN_P(op) == 0 in convert_to_boolean()
504 || (Z_STRLEN_P(op)==1 && Z_STRVAL_P(op)[0]=='0')) { in convert_to_boolean()
549 Z_STRLEN_P(op) = 0; in _convert_to_string()
556 Z_STRLEN_P(op) = 1; in _convert_to_string()
559 Z_STRLEN_P(op) = 0; in _convert_to_string()
567 Z_STRLEN_P(op) = zend_spprintf(&Z_STRVAL_P(op), 0, "Resource id #%ld", tmp); in _convert_to_string()
573 Z_STRLEN_P(op) = zend_spprintf(&Z_STRVAL_P(op), 0, "%ld", lval); in _convert_to_string()
578 Z_STRLEN_P(op) = zend_spprintf(&Z_STRVAL_P(op), 0, "%.*G", (int) EG(precision), dval); in _convert_to_string()
586 Z_STRLEN_P(op) = sizeof("Array")-1; in _convert_to_string()
600 Z_STRLEN_P(op) = sizeof("Object")-1; in _convert_to_string()
1038 Z_STRVAL_P(result) = estrndup(Z_STRVAL_P(op1), Z_STRLEN_P(op1)); in bitwise_not_function()
1039 Z_STRLEN_P(result) = Z_STRLEN_P(op1); in bitwise_not_function()
1040 for (i = 0; i < Z_STRLEN_P(op1); i++) { in bitwise_not_function()
1060 if (Z_STRLEN_P(op1) >= Z_STRLEN_P(op2)) { in bitwise_or_function()
1069 result_len = Z_STRLEN_P(longer); in bitwise_or_function()
1070 result_str = estrndup(Z_STRVAL_P(longer), Z_STRLEN_P(longer)); in bitwise_or_function()
1071 for (i = 0; i < Z_STRLEN_P(shorter); i++) { in bitwise_or_function()
1078 Z_STRLEN_P(result) = result_len; in bitwise_or_function()
1100 if (Z_STRLEN_P(op1) >= Z_STRLEN_P(op2)) { in bitwise_and_function()
1109 result_len = Z_STRLEN_P(shorter); in bitwise_and_function()
1110 result_str = estrndup(Z_STRVAL_P(shorter), Z_STRLEN_P(shorter)); in bitwise_and_function()
1111 for (i = 0; i < Z_STRLEN_P(shorter); i++) { in bitwise_and_function()
1118 Z_STRLEN_P(result) = result_len; in bitwise_and_function()
1142 if (Z_STRLEN_P(op1) >= Z_STRLEN_P(op2)) { in bitwise_xor_function()
1151 result_len = Z_STRLEN_P(shorter); in bitwise_xor_function()
1152 result_str = estrndup(Z_STRVAL_P(shorter), Z_STRLEN_P(shorter)); in bitwise_xor_function()
1153 for (i = 0; i < Z_STRLEN_P(shorter); i++) { in bitwise_xor_function()
1160 Z_STRLEN_P(result) = result_len; in bitwise_xor_function()
1202 Z_STRLEN_P(result) = Z_STRLEN_P(op1) + 1; in add_char_to_string()
1203 Z_STRVAL_P(result) = (char *) erealloc(Z_STRVAL_P(op1), Z_STRLEN_P(result)+1); in add_char_to_string()
1204 Z_STRVAL_P(result)[Z_STRLEN_P(result) - 1] = (char) Z_LVAL_P(op2); in add_char_to_string()
1205 Z_STRVAL_P(result)[Z_STRLEN_P(result)] = 0; in add_char_to_string()
1214 int length = Z_STRLEN_P(op1) + Z_STRLEN_P(op2); in add_string_to_string()
1217 memcpy(Z_STRVAL_P(result)+Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in add_string_to_string()
1219 Z_STRLEN_P(result) = length; in add_string_to_string()
1250 uint res_len = Z_STRLEN_P(op1) + Z_STRLEN_P(op2); in concat_function()
1252 if (Z_STRLEN_P(result) < 0 || (int) (Z_STRLEN_P(op1) + Z_STRLEN_P(op2)) < 0) { in concat_function()
1260 memcpy(Z_STRVAL_P(result)+Z_STRLEN_P(result), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in concat_function()
1262 Z_STRLEN_P(result) = res_len; in concat_function()
1264 Z_STRLEN_P(result) = Z_STRLEN_P(op1) + Z_STRLEN_P(op2); in concat_function()
1265 Z_STRVAL_P(result) = (char *) emalloc(Z_STRLEN_P(result) + 1); in concat_function()
1266 memcpy(Z_STRVAL_P(result), Z_STRVAL_P(op1), Z_STRLEN_P(op1)); in concat_function()
1267 memcpy(Z_STRVAL_P(result)+Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in concat_function()
1268 Z_STRVAL_P(result)[Z_STRLEN_P(result)] = 0; in concat_function()
1429 ZVAL_LONG(result, zend_binary_strcmp("", 0, Z_STRVAL_P(op2), Z_STRLEN_P(op2))); in compare_function()
1433 ZVAL_LONG(result, zend_binary_strcmp(Z_STRVAL_P(op1), Z_STRLEN_P(op1), "", 0)); in compare_function()
1577 Z_LVAL_P(result) = ((Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) in is_identical_function()
1578 && (!memcmp(Z_STRVAL_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op1)))); in is_identical_function()
1684 int pos=Z_STRLEN_P(str)-1; in increment_string()
1690 if (Z_STRLEN_P(str) == 0) { in increment_string()
1693 Z_STRLEN_P(str) = 1; in increment_string()
1737 t = (char *) emalloc(Z_STRLEN_P(str)+1+1); in increment_string()
1738 memcpy(t+1, Z_STRVAL_P(str), Z_STRLEN_P(str)); in increment_string()
1739 Z_STRLEN_P(str)++; in increment_string()
1740 t[Z_STRLEN_P(str)] = '\0'; in increment_string()
1780 switch (is_numeric_string(Z_STRVAL_P(op1), Z_STRLEN_P(op1), &lval, &dval, 0)) { in increment_function()
1827 if (Z_STRLEN_P(op1) == 0) { /* consider as 0 */ in decrement_function()
1832 switch (is_numeric_string(Z_STRVAL_P(op1), Z_STRLEN_P(op1), &lval, &dval, 0)) { in decrement_function()
1970 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()
1976 …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()
1982 return zend_binary_strcasecmp(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_P(s2)); in zend_binary_zval_strcasecmp()
1988 …return zend_binary_strncasecmp(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_P(s2), Z_L… in zend_binary_zval_strncasecmp()
1998 if ((ret1=is_numeric_string(Z_STRVAL_P(s1), Z_STRLEN_P(s1), &lval1, &dval1, 0)) && in zendi_smart_strcmp()
1999 (ret2=is_numeric_string(Z_STRVAL_P(s2), Z_STRLEN_P(s2), &lval2, &dval2, 0))) { in zendi_smart_strcmp()
2073Z_STRLEN_P(op) = zend_spprintf(&Z_STRVAL_P(op), 0, "%.*G", (int) EG(precision), (double)Z_DVAL_P(o… in zend_locale_sprintf_double()