HomeSort by relevance Sort by last modified time
    Searched refs:g_spaces (Results 1 - 2 of 2) sorted by null

  /system/nvram/hal/
memory_storage.cpp 65 } g_spaces[kMaxSpaces]; member in namespace:nvram::storage::__anon115135
67 // Find the storage slot in |g_spaces| that corresponds to |index|. Returns
71 if (g_spaces[i].slot.present() && g_spaces[i].index == index) {
72 return &g_spaces[i].slot;
102 if (!g_spaces[i].slot.present()) {
103 g_spaces[i].index = index;
104 return g_spaces[i].slot.Store(blob);
  /system/nvram/core/tests/
fake_storage.cpp 92 SpaceStorageSlot g_spaces[256]; member in namespace:nvram::storage::__anon115131
94 // Find the position in |g_spaces| corresponding to a given space |index|.
97 for (size_t i = 0; i < countof(g_spaces); ++i) {
98 if (g_spaces[i].slot.present() && g_spaces[i].index == index) {
99 return &g_spaces[i].slot;
115 for (size_t i = 0; i < countof(g_spaces); ++i) {
116 if (!g_spaces[i].slot.present()) {
117 g_spaces[i].index = index;
118 return &g_spaces[i].slot
    [all...]

Completed in 67 milliseconds