Lines Matching +defs:val +defs:target
541 * the set number of the first occurence of target is returned
548 cfg_find_cstring(CFGFILE *cfg, const char *target,
592 if (strcmp(p, target) == 0) { /* we found it! */
649 if (strcmp(field, target) == 0) {
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