Lines Matching refs:file

2 Test fgetcsv() : usage variations - with only file handle as argument, file pointer pointing at end…
7 Description: Gets line from file pointer and parse for CSV fields
11 Testing fgetcsv() to read a file whose file pointer is pointing to end of file
12 and fgetcsv() provided with only file handle in its argument
15 echo "*** Testing fgetcsv() : with file handle as only argument and file pointer pointing at end of…
39 // create the file and add the content with has csv fields
46 echo "Error: failed to create file $filename!\n";
59 // close the file if the mode to be used is read mode and re-open using read mode
60 // else rewind the file pointer to beginning of the file
66 echo "\n-- Testing fgetcsv() with file opened using $file_modes[$mode_counter] mode --\n";
68 // set the file pointer to EOF
73 // now file pointer should point to end of the file, try reading again
76 // check the file pointer position and if eof
79 // close the file
81 //delete file
89 *** Testing fgetcsv() : with file handle as only argument and file pointer pointing at end of file
91 -- Testing fgetcsv() with file opened using r mode --
98 -- Testing fgetcsv() with file opened using rb mode --
105 -- Testing fgetcsv() with file opened using rt mode --
112 -- Testing fgetcsv() with file opened using r+ mode --
119 -- Testing fgetcsv() with file opened using r+b mode --
126 -- Testing fgetcsv() with file opened using r+t mode --
133 -- Testing fgetcsv() with file opened using a+ mode --
140 -- Testing fgetcsv() with file opened using a+b mode --
147 -- Testing fgetcsv() with file opened using a+t mode --
154 -- Testing fgetcsv() with file opened using w+ mode --
161 -- Testing fgetcsv() with file opened using w+b mode --
168 -- Testing fgetcsv() with file opened using w+t mode --
175 -- Testing fgetcsv() with file opened using x+ mode --
182 -- Testing fgetcsv() with file opened using x+b mode --
189 -- Testing fgetcsv() with file opened using x+t mode --
196 -- Testing fgetcsv() with file opened using r mode --
203 -- Testing fgetcsv() with file opened using rb mode --
210 -- Testing fgetcsv() with file opened using rt mode --
217 -- Testing fgetcsv() with file opened using r+ mode --
224 -- Testing fgetcsv() with file opened using r+b mode --
231 -- Testing fgetcsv() with file opened using r+t mode --
238 -- Testing fgetcsv() with file opened using a+ mode --
245 -- Testing fgetcsv() with file opened using a+b mode --
252 -- Testing fgetcsv() with file opened using a+t mode --
259 -- Testing fgetcsv() with file opened using w+ mode --
266 -- Testing fgetcsv() with file opened using w+b mode --
273 -- Testing fgetcsv() with file opened using w+t mode --
280 -- Testing fgetcsv() with file opened using x+ mode --
287 -- Testing fgetcsv() with file opened using x+b mode --
294 -- Testing fgetcsv() with file opened using x+t mode --
301 -- Testing fgetcsv() with file opened using r mode --
308 -- Testing fgetcsv() with file opened using rb mode --
315 -- Testing fgetcsv() with file opened using rt mode --
322 -- Testing fgetcsv() with file opened using r+ mode --
329 -- Testing fgetcsv() with file opened using r+b mode --
336 -- Testing fgetcsv() with file opened using r+t mode --
343 -- Testing fgetcsv() with file opened using a+ mode --
350 -- Testing fgetcsv() with file opened using a+b mode --
357 -- Testing fgetcsv() with file opened using a+t mode --
364 -- Testing fgetcsv() with file opened using w+ mode --
371 -- Testing fgetcsv() with file opened using w+b mode --
378 -- Testing fgetcsv() with file opened using w+t mode --
385 -- Testing fgetcsv() with file opened using x+ mode --
392 -- Testing fgetcsv() with file opened using x+b mode --
399 -- Testing fgetcsv() with file opened using x+t mode --
406 -- Testing fgetcsv() with file opened using r mode --
413 -- Testing fgetcsv() with file opened using rb mode --
420 -- Testing fgetcsv() with file opened using rt mode --
427 -- Testing fgetcsv() with file opened using r+ mode --
434 -- Testing fgetcsv() with file opened using r+b mode --
441 -- Testing fgetcsv() with file opened using r+t mode --
448 -- Testing fgetcsv() with file opened using a+ mode --
455 -- Testing fgetcsv() with file opened using a+b mode --
462 -- Testing fgetcsv() with file opened using a+t mode --
469 -- Testing fgetcsv() with file opened using w+ mode --
476 -- Testing fgetcsv() with file opened using w+b mode --
483 -- Testing fgetcsv() with file opened using w+t mode --
490 -- Testing fgetcsv() with file opened using x+ mode --
497 -- Testing fgetcsv() with file opened using x+b mode --
504 -- Testing fgetcsv() with file opened using x+t mode --
511 -- Testing fgetcsv() with file opened using r mode --
518 -- Testing fgetcsv() with file opened using rb mode --
525 -- Testing fgetcsv() with file opened using rt mode --
532 -- Testing fgetcsv() with file opened using r+ mode --
539 -- Testing fgetcsv() with file opened using r+b mode --
546 -- Testing fgetcsv() with file opened using r+t mode --
553 -- Testing fgetcsv() with file opened using a+ mode --
560 -- Testing fgetcsv() with file opened using a+b mode --
567 -- Testing fgetcsv() with file opened using a+t mode --
574 -- Testing fgetcsv() with file opened using w+ mode --
581 -- Testing fgetcsv() with file opened using w+b mode --
588 -- Testing fgetcsv() with file opened using w+t mode --
595 -- Testing fgetcsv() with file opened using x+ mode --
602 -- Testing fgetcsv() with file opened using x+b mode --
609 -- Testing fgetcsv() with file opened using x+t mode --