Lines Matching defs:val
30 clone[i].val = calloc(clone[i].len, 1);
31 memcpy(clone[i].val, properties[i].val, clone[i].len);
42 property->val = bdname;
51 uint32_t *val = malloc(sizeof(uint32_t));
55 property->val = val;
58 *val = timeout;
66 if (!property || property->type != BT_PROPERTY_BDNAME || !property->val) {
70 strncpy(name, (const char *)((bt_bdname_t *)property->val)->name, property->len);
97 return strlen((const char *)longer->val) == (size_t)shorter->len && !memcmp(longer->val, shorter->val, shorter->len);
100 return p1->len == p2->len && !memcmp(p1->val, p2->val, p1->len);
109 free(properties[i].val);