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()
274 int mode = MODE_ENCODE; in main() local
308 if (mode != MODE_ENCODE) { in main()
313 if (mode != MODE_ENCODE) { in main()
316 mode = MODE_DECODE; in main()
328 if (mode != MODE_ENCODE) { in main()
331 mode = MODE_PRINTSIZE; in main()
335 if (mode != MODE_ENCODE) { in main()
338 mode = MODE_GETECCSTART; in main()
342 if (mode != MODE_ENCODE) { in main()
345 mode = MODE_GETVERITYSTART; in main()
370 if (mode == MODE_ENCODE) { in main()
382 } else if (mode == MODE_DECODE) { in main()
396 switch (mode) { in main()
401 return get_start(mode, inp_filenames.front()); in main()