Lines Matching refs:j
22 size_t i, j; in convert_libmagic_pattern() local
25 for (i = j = 0; i < len; i++) { in convert_libmagic_pattern()
28 j += 2; in convert_libmagic_pattern()
31 j += 4; in convert_libmagic_pattern()
34 j++; in convert_libmagic_pattern()
38 t = zend_string_alloc(j + 4, 0); in convert_libmagic_pattern()
40 j = 0; in convert_libmagic_pattern()
41 ZSTR_VAL(t)[j++] = '~'; in convert_libmagic_pattern()
43 for (i = 0; i < len; i++, j++) { in convert_libmagic_pattern()
46 ZSTR_VAL(t)[j++] = '\\'; in convert_libmagic_pattern()
47 ZSTR_VAL(t)[j] = '~'; in convert_libmagic_pattern()
50 ZSTR_VAL(t)[j++] = '\\'; in convert_libmagic_pattern()
51 ZSTR_VAL(t)[j++] = 'x'; in convert_libmagic_pattern()
52 ZSTR_VAL(t)[j++] = '0'; in convert_libmagic_pattern()
53 ZSTR_VAL(t)[j] = '0'; in convert_libmagic_pattern()
56 ZSTR_VAL(t)[j] = val[i]; in convert_libmagic_pattern()
60 ZSTR_VAL(t)[j++] = '~'; in convert_libmagic_pattern()
63 ZSTR_VAL(t)[j++] = 'i'; in convert_libmagic_pattern()
66 ZSTR_VAL(t)[j++] = 'm'; in convert_libmagic_pattern()
68 ZSTR_VAL(t)[j]='\0'; in convert_libmagic_pattern()
69 ZSTR_LEN(t) = j; in convert_libmagic_pattern()