Lines Matching refs:ZSTR_LEN
27 if (ZSTR_LEN(string1) == 0) { in reference_levdist()
28 return ZSTR_LEN(string2) * cost_ins; in reference_levdist()
30 if (ZSTR_LEN(string2) == 0) { in reference_levdist()
31 return ZSTR_LEN(string1) * cost_del; in reference_levdist()
37 if (ZSTR_LEN(string1) < ZSTR_LEN(string2) && cost_ins == cost_rep && cost_rep == cost_del) { in reference_levdist()
43 p1 = safe_emalloc((ZSTR_LEN(string2) + 1), sizeof(zend_long), 0); in reference_levdist()
44 p2 = safe_emalloc((ZSTR_LEN(string2) + 1), sizeof(zend_long), 0); in reference_levdist()
46 for (i2 = 0; i2 <= ZSTR_LEN(string2); i2++) { in reference_levdist()
49 for (i1 = 0; i1 < ZSTR_LEN(string1) ; i1++) { in reference_levdist()
52 for (i2 = 0; i2 < ZSTR_LEN(string2); i2++) { in reference_levdist()
68 c0 = p1[ZSTR_LEN(string2)]; in reference_levdist()