Home
last modified time | relevance | path

Searched refs:canary (Results 1 – 2 of 2) sorted by relevance

/system/bt/osi/src/
Dallocation_tracker.cc41 static char canary[canary_size]; variable
57 for (size_t i = 0; i < canary_size; i++) canary[i] = (char)osi_rand(); in allocation_tracker_init()
129 memcpy(return_ptr - canary_size, canary, canary_size); in allocation_tracker_notify_alloc()
130 memcpy(return_ptr + requested_size, canary, canary_size); in allocation_tracker_notify_alloc()
159 CHECK(beginning_canary[i] == canary[i]); in allocation_tracker_notify_free()
160 CHECK(end_canary[i] == canary[i]); in allocation_tracker_notify_free()
/system/update_engine/
Domaha_request_params_unittest.cc214 int canary = params_.GetChannelIndex("canary-channel"); in TEST_F() local
218 EXPECT_LE(canary, dev); in TEST_F()