Lines Matching +defs:val +defs:output
1050 cfg_encode_string(char *str, char *output, int outlen)
1058 q = output;
1078 p = mem = strdup(output);
1079 q = output;
1101 return (q - output);
1110 cfg_decode_string(char *str, char *output, int outlen)
1116 q = output;
1142 * into tag and val
1150 int tag_len, char *val, int val_len)
1185 strncpy(val, decode_buf, val_len);
1195 * Replaces existing tag with new val. If tag doesn't exist,
1196 * then it adds a new tag with the specified val.
1204 char *val)
1224 if (!tag || !*tag || !val || !*val)
1253 if (cfg_encode_string(val, encode_buf, CFG_MAX_BUF) < 0) {
1284 enclen = cfg_encode_string(val, encode_buf, CFG_MAX_BUF);
1312 char *val, int val_len)
1360 cfg_decode_string(p, val, val_len);
1373 cfg_decode_string(p, val, val_len);
1386 * Removes a single key=val pair from the specified option field