Lines Matching refs:enclen
1209 int enclen; in cfg_put_options() local
1231 enclen = cfg_encode_string(tag, &encode_buf[1], CFG_MAX_BUF - 1) + 1; in cfg_put_options()
1232 if (enclen < 1 || (enclen + 1) >= CFG_MAX_BUF) { in cfg_put_options()
1237 encode_buf[enclen] = '='; in cfg_put_options()
1238 encode_buf[enclen + 1] = '\0'; in cfg_put_options()
1241 if (strncmp(buf, &encode_buf[1], enclen) == 0) { in cfg_put_options()
1284 enclen = cfg_encode_string(val, encode_buf, CFG_MAX_BUF); in cfg_put_options()
1285 if (enclen < 0 || (strlen(buf) + enclen) >= CFG_MAX_BUF) { in cfg_put_options()
1317 int enclen; in cfg_get_single_option() local
1338 enclen = cfg_encode_string(tag, &encode_buf[1], CFG_MAX_BUF - 1) + 1; in cfg_get_single_option()
1339 if (enclen < 1 || (enclen + 1) >= CFG_MAX_BUF) { in cfg_get_single_option()
1344 encode_buf[enclen] = '='; in cfg_get_single_option()
1345 encode_buf[enclen + 1] = '\0'; in cfg_get_single_option()
1348 if (strncmp(buf, &encode_buf[1], enclen) == 0) { in cfg_get_single_option()
1368 p += enclen + 1; in cfg_get_single_option()
1398 int enclen, rc; in cfg_del_option() local
1418 enclen = cfg_encode_string(tag, &encode_buf[1], CFG_MAX_BUF - 1) + 1; in cfg_del_option()
1419 if (enclen < 1 || (enclen + 1) >= CFG_MAX_BUF) { in cfg_del_option()
1424 encode_buf[enclen] = '='; in cfg_del_option()
1425 encode_buf[enclen + 1] = '\0'; in cfg_del_option()
1428 if (strncmp(buf, &encode_buf[1], enclen) == 0) { in cfg_del_option()