Lines Matching defs:value

176   coap_binary_t *value;
206 * Note: transient_value->value will never be returned as NULL.
209 alloc_resource_data(coap_binary_t *value) {
211 if (!value)
215 coap_delete_binary(value);
219 transient_value->value = value;
237 coap_delete_binary(transient_value->value);
250 assert(entry->value);
251 body.length = entry->value->length;
252 body.s = entry->value->s;
343 * and request is empty. When not empty, set to value in request payload
365 /* Sanity check input value */
373 coap_add_data(response, 22, (const uint8_t *)"Invalid set time value");
374 /* re-init as value is bad */
475 coap_binary_t *value = coap_new_binary(INITIAL_EXAMPLE_SIZE);
476 if (value) {
479 value->s[i] = 'a' + (i/10) % 26;
481 value->s[i] = '0' + i%10;
485 example_data_value = alloc_resource_data(value);
532 * least COAP_OPTION_BLOCK1 set as the option value will change per block.
595 /* Need to de-reference as value may be in use elsewhere */
1184 transient_value_t *value;
1217 release_resource_data(session, dynamic_entry[i].value);
1275 body = reference_resource_data(resource_entry->value);
1280 release_resource_data, resource_entry->value);
1334 dynamic_entry[i].value = NULL;
1381 * least COAP_OPTION_BLOCK1 set as the option value will change per block.
1449 /* Need to de-reference as value may be in use elsewhere */
1450 release_resource_data(session, resource_entry->value);
1451 resource_entry->value = NULL;
1457 resource_entry->value = transient_value;
1494 body = reference_resource_data(resource_entry->value);
1499 release_resource_data, resource_entry->value);
2137 "\t\t[-E oscore_conf_file[,seq_file]] [-G group_if] [-L value] [-N]\n"
2182 "\t-L value\tSum of one or more COAP_BLOCK_* flag valuess for block\n"
2207 "\t \t\t(default is 8388864). Maximum value of 2^32 -1\n"
3019 * (wait_ms could have decremented to a small value, below
3082 release_resource_data(NULL, dynamic_entry[i].value);