Home
last modified time | relevance | path

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

/dflybsd-src/sys/netgraph/netgraph/
H A Dng_parse.c84 CT_STRUCT, enumerator
185 return ng_parse_composite(type, s, off, start, buf, buflen, CT_STRUCT); in ng_struct_parse()
192 return ng_unparse_composite(type, data, off, cbuf, cbuflen, CT_STRUCT); in ng_struct_unparse()
202 "{}", &off, start, buf, buflen, CT_STRUCT); in ng_struct_getDefault()
1071 != (ctype == CT_STRUCT ? T_LBRACE : T_LBRACKET)) { in ng_parse_composite()
1083 if (tok == (ctype == CT_STRUCT ? T_RBRACE : T_RBRACKET)) { in ng_parse_composite()
1091 if (ctype != CT_STRUCT) { in ng_parse_composite()
1245 NG_PARSE_APPEND("%c", (ctype == CT_STRUCT) ? '{' : '['); in ng_unparse_composite()
1275 if (ctype != CT_STRUCT) { in ng_unparse_composite()
1302 didOne ? " " : "", (ctype == CT_STRUCT) ? '}' : ']'); in ng_unparse_composite()
[all …]
/dflybsd-src/sys/netgraph7/netgraph/
H A Dng_parse.c97 CT_STRUCT, enumerator
187 return ng_parse_composite(type, s, off, start, buf, buflen, CT_STRUCT); in ng_struct_parse()
194 return ng_unparse_composite(type, data, off, cbuf, cbuflen, CT_STRUCT); in ng_struct_unparse()
204 "{}", &off, start, buf, buflen, CT_STRUCT); in ng_struct_getDefault()
1230 != (ctype == CT_STRUCT ? T_LBRACE : T_LBRACKET)) { in ng_parse_composite()
1242 if (tok == (ctype == CT_STRUCT ? T_RBRACE : T_RBRACKET)) { in ng_parse_composite()
1250 if (ctype != CT_STRUCT) { in ng_parse_composite()
1404 (ctype == CT_STRUCT) ? '{' : '[')) != 0) in ng_unparse_composite()
1436 if (ctype != CT_STRUCT) { in ng_unparse_composite()
1466 didOne ? " " : "", (ctype == CT_STRUCT) ? '}' : ']'); in ng_unparse_composite()
[all …]