Lines Matching defs:data

224  * Need to handle race conditions of data being updated (by PUT) and
242 * Bump the reference count and return reference to data
290 const uint8_t *data;
300 (void)coap_get_data(request, &size, &data);
307 memcmp(data, ticks->s, ticks->length) == 0) {
308 /* parameter is in data, output ticks */
340 const uint8_t *data;
354 (void)coap_get_data(request, &size, &data);
362 my_clock_base = my_clock_base * 10 + *data++;
394 * "separate" response (empty ACK followed by data response at a later stage).
449 /* Send back the appropriate data */
497 cache_free_app_data(void *data) {
498 coap_binary_t *bdata = (coap_binary_t *)data;
513 const uint8_t *data;
520 if (coap_get_data_large(request, &size, &data, &offset, &total) &&
523 * A part of the data has been received (COAP_BLOCK_SINGLE_BODY not set).
568 /* Add in the new data to cache entry */
570 data_so_far = coap_block_build_body(data_so_far, size, data,
576 /* All the data is now in */
585 /* single body of data received */
588 memcpy(data_so_far->s, data, size);
911 /* resolve destination address where data should be sent */
996 const uint8_t *data;
1064 if (coap_get_data_large(request, &size, &data, &offset, &total)) {
1072 memcpy(body_data->s, data, size);
1073 data = body_data->s;
1076 /* Send data on (opening session if appropriate) */
1153 if (!coap_add_data_large_request(ongoing, pdu, size, data,
1155 coap_log_debug("cannot add data to proxy request\n");
1297 const uint8_t *data;
1369 if (coap_get_data_large(request, &size, &data, &offset, &total) &&
1372 * A part of the data has been received (COAP_BLOCK_SINGLE_BODY not set).
1412 /* Add in the new data to cache entry */
1417 memcpy(data_so_far->s, data, size);
1419 /* Add in new block to end of current data */
1424 memcpy(&data_so_far->s[offset], data, size);
1435 /* All the data is now in */
1443 /* single body of data received */
1446 memcpy(data_so_far->s, data, size);
1605 const uint8_t *data;
1636 if (coap_get_data_large(received, &size, &data, &offset, &total)) {
1644 memcpy(body_data->s, data, size);
1645 data = body_data->s;
1705 media_type, maxage, etag, size, data,
2149 "\t-e \t\tEcho back the data sent with a PUT\n"