Lines Matching refs:i
12 function convert(i, j, t)
14 type = argtypes[i,j]
15 name = argnames[i,j]
16 opt = optionals[i,j]
19 for (i = 0; i < t; i++) { tabs = tabs "\t" }
58 for (i in type_array) {
59 spec_map[type_array[i]] = spec_array[i]
104 args_max = args_min = optional = i = spec_opt = 0
136 optionals[num_funcs,i] = optional
148 grouped_optional_param[num_funcs,i] = 1
150 i++
175 for (i = 0; i < num_funcs; i++) {
176 compareargc = maxargs[i] - minargs[i]
180 proto = "/* {{{ proto " types[i] " " funcs[i] "("
182 refid = funcs[i]
186 " <refname>" funcs[i] "</refname>\n" \
187 " <refpurpose>" fcomments[i] "</refpurpose>\n" \
193 " <funcdef>" types[i] " <function>" funcs[i] "</function></funcdef>\n"
195 if (maxargs[i]>0) {
198 fetchargs = fetchargs "argc TSRMLS_CC, " specs[i]
204 for (j = 0; j < maxargs[i]; j++) {
208 fetchargs = fetchargs "&" argnames[i,j]
209 if (argtypes[i,j] == "string") {
210 fetchargs = fetchargs ", &" argnames[i,j] "_len"
213 xmlparams = xmlparams " <paramdef>" argtypes[i,j]
214 if (j > minargs[i]-1) {
215 if (!grouped_optional_param[i,j-1]) {
221 argnames[i,j] \
226 argnames[i,j] \
231 proto = proto argtypes[i,j] " " argnames[i,j]
233 convert(i, j, 1)
236 proto = proto closeopts ")\n " fcomments[i] " */\nPHP_FUNCTION(" funcs[i] ")\n{"
237 if (maxargs[i]>0) {
259 print "\tphp_error(E_WARNING, \"" funcs[i] ": not yet implemented\");" > stubfile
264 h_stubs = h_stubs "PHP_FUNCTION(" funcs[i] ");\n"
265 c_stubs = c_stubs "\tPHP_FE(" funcs[i] ",\tNULL)\n"
267 print "PHP_FUNCTION(" funcs[i] ");" > extname "/function_declarations"
268 print "\tPHP_FE(" funcs[i] ",\tNULL)" > extname "/function_entries"