Lines Matching refs:file
2 Test fgetcsv() : usage variations - with length and enclosure, file pointer pointing at end of file
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
15 echo "*** Testing fgetcsv() : with enclosure argument, file pointer pointing at end of file ***\n";
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
77 // check the file pointer position and if eof
80 // close the file
82 //delete file
90 *** Testing fgetcsv() : with enclosure argument, file pointer pointing at end of file ***
92 -- Testing fgetcsv() with file opened using r mode --
99 -- Testing fgetcsv() with file opened using rb mode --
106 -- Testing fgetcsv() with file opened using rt mode --
113 -- Testing fgetcsv() with file opened using r+ mode --
120 -- Testing fgetcsv() with file opened using r+b mode --
127 -- Testing fgetcsv() with file opened using r+t mode --
134 -- Testing fgetcsv() with file opened using a+ mode --
141 -- Testing fgetcsv() with file opened using a+b mode --
148 -- Testing fgetcsv() with file opened using a+t mode --
155 -- Testing fgetcsv() with file opened using w+ mode --
162 -- Testing fgetcsv() with file opened using w+b mode --
169 -- Testing fgetcsv() with file opened using w+t mode --
176 -- Testing fgetcsv() with file opened using x+ mode --
183 -- Testing fgetcsv() with file opened using x+b mode --
190 -- Testing fgetcsv() with file opened using x+t mode --
197 -- Testing fgetcsv() with file opened using r mode --
204 -- Testing fgetcsv() with file opened using rb mode --
211 -- Testing fgetcsv() with file opened using rt mode --
218 -- Testing fgetcsv() with file opened using r+ mode --
225 -- Testing fgetcsv() with file opened using r+b mode --
232 -- Testing fgetcsv() with file opened using r+t mode --
239 -- Testing fgetcsv() with file opened using a+ mode --
246 -- Testing fgetcsv() with file opened using a+b mode --
253 -- Testing fgetcsv() with file opened using a+t mode --
260 -- Testing fgetcsv() with file opened using w+ mode --
267 -- Testing fgetcsv() with file opened using w+b mode --
274 -- Testing fgetcsv() with file opened using w+t mode --
281 -- Testing fgetcsv() with file opened using x+ mode --
288 -- Testing fgetcsv() with file opened using x+b mode --
295 -- Testing fgetcsv() with file opened using x+t mode --
302 -- Testing fgetcsv() with file opened using r mode --
309 -- Testing fgetcsv() with file opened using rb mode --
316 -- Testing fgetcsv() with file opened using rt mode --
323 -- Testing fgetcsv() with file opened using r+ mode --
330 -- Testing fgetcsv() with file opened using r+b mode --
337 -- Testing fgetcsv() with file opened using r+t mode --
344 -- Testing fgetcsv() with file opened using a+ mode --
351 -- Testing fgetcsv() with file opened using a+b mode --
358 -- Testing fgetcsv() with file opened using a+t mode --
365 -- Testing fgetcsv() with file opened using w+ mode --
372 -- Testing fgetcsv() with file opened using w+b mode --
379 -- Testing fgetcsv() with file opened using w+t mode --
386 -- Testing fgetcsv() with file opened using x+ mode --
393 -- Testing fgetcsv() with file opened using x+b mode --
400 -- Testing fgetcsv() with file opened using x+t mode --
407 -- Testing fgetcsv() with file opened using r mode --
414 -- Testing fgetcsv() with file opened using rb mode --
421 -- Testing fgetcsv() with file opened using rt mode --
428 -- Testing fgetcsv() with file opened using r+ mode --
435 -- Testing fgetcsv() with file opened using r+b mode --
442 -- Testing fgetcsv() with file opened using r+t mode --
449 -- Testing fgetcsv() with file opened using a+ mode --
456 -- Testing fgetcsv() with file opened using a+b mode --
463 -- Testing fgetcsv() with file opened using a+t mode --
470 -- Testing fgetcsv() with file opened using w+ mode --
477 -- Testing fgetcsv() with file opened using w+b mode --
484 -- Testing fgetcsv() with file opened using w+t mode --
491 -- Testing fgetcsv() with file opened using x+ mode --
498 -- Testing fgetcsv() with file opened using x+b mode --
505 -- Testing fgetcsv() with file opened using x+t mode --
512 -- Testing fgetcsv() with file opened using r mode --
519 -- Testing fgetcsv() with file opened using rb mode --
526 -- Testing fgetcsv() with file opened using rt mode --
533 -- Testing fgetcsv() with file opened using r+ mode --
540 -- Testing fgetcsv() with file opened using r+b mode --
547 -- Testing fgetcsv() with file opened using r+t mode --
554 -- Testing fgetcsv() with file opened using a+ mode --
561 -- Testing fgetcsv() with file opened using a+b mode --
568 -- Testing fgetcsv() with file opened using a+t mode --
575 -- Testing fgetcsv() with file opened using w+ mode --
582 -- Testing fgetcsv() with file opened using w+b mode --
589 -- Testing fgetcsv() with file opened using w+t mode --
596 -- Testing fgetcsv() with file opened using x+ mode --
603 -- Testing fgetcsv() with file opened using x+b mode --
610 -- Testing fgetcsv() with file opened using x+t mode --