Lines Matching defs:strtype
788 const char *strtype = lua_tostring (L, 2);
790 if (strcasecmp (strtype, "json") == 0) {
793 else if (strcasecmp (strtype, "json-compact") == 0) {
796 else if (strcasecmp (strtype, "yaml") == 0) {
799 else if (strcasecmp (strtype, "config") == 0 ||
800 strcasecmp (strtype, "ucl") == 0) {
1076 const char *strtype = lua_tostring (L, 2);
1078 if (strcasecmp (strtype, "json") == 0) {
1081 else if (strcasecmp (strtype, "json-compact") == 0) {
1084 else if (strcasecmp (strtype, "yaml") == 0) {
1087 else if (strcasecmp (strtype, "config") == 0 ||
1088 strcasecmp (strtype, "ucl") == 0) {