Home
last modified time | relevance | path

Searched refs:argval (Results 1 – 2 of 2) sorted by relevance

/external/openfst/src/lib/
Dflags.cc37 string argval = (*argv)[index]; in SetFlags() local
39 if (argval[0] != '-' || argval == "-") in SetFlags()
41 while (argval[0] == '-') in SetFlags()
42 argval = argval.substr(1); // remove initial '-'s in SetFlags()
44 string arg = argval; in SetFlags()
48 int pos = argval.find("="); in SetFlags()
50 arg = argval.substr(0, pos); in SetFlags()
51 val = argval.substr(pos + 1); in SetFlags()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dcompat.cpp42 string argval = (*argv)[index]; in InitFst() local
44 if (argval[0] != '-' || argval == "-") in InitFst()
46 while (argval[0] == '-') in InitFst()
47 argval = argval.substr(1); // remove initial '-'s in InitFst()
49 string arg = argval; in InitFst()
53 size_t pos = argval.find("="); in InitFst()
55 arg = argval.substr(0, pos); in InitFst()
56 val = argval.substr(pos + 1); in InitFst()