Lines Matching refs:mode
143 static int get_start(int mode, const std::string& filename) in get_start() argument
151 if (mode == MODE_GETECCSTART) { in get_start()
270 int mode = MODE_ENCODE; in main() local
304 if (mode != MODE_ENCODE) { in main()
309 if (mode != MODE_ENCODE) { in main()
312 mode = MODE_DECODE; in main()
327 if (mode != MODE_ENCODE) { in main()
330 mode = MODE_PRINTSIZE; in main()
334 if (mode != MODE_ENCODE) { in main()
337 mode = MODE_GETECCSTART; in main()
341 if (mode != MODE_ENCODE) { in main()
344 mode = MODE_GETVERITYSTART; in main()
363 if (mode == MODE_ENCODE) { in main()
375 } else if (mode == MODE_DECODE) { in main()
389 switch (mode) { in main()
394 return get_start(mode, inp_filenames.front()); in main()