Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 24 of 24) sorted by relevance

/device/generic/opengl-transport/host/libs/virglrenderer/
DEglConfig.h28 static std::vector<EglConfig*> vec; member
78 vec.push_back(this); in EglConfig()
82 for (size_t i = 0; i < EglConfig::vec.size(); i++) { in ~EglConfig()
83 if (vec[i] == this) { in ~EglConfig()
84 vec.erase(vec.begin() + i); in ~EglConfig()
DRenderControl.cpp307 return EglConfig::vec.size(); in rcGetNumConfigs()
312 size_t nConfigs = EglConfig::vec.size(); in rcGetConfigs()
320 for (auto const& config : EglConfig::vec) { in rcGetConfigs()
342 for (size_t i = 0; i < EglConfig::vec.size(); i++) { in rcChooseConfig()
343 if (EglConfig::vec[i]->attribs[4] == config_id) in rcChooseConfig()
391 if (config_ > EglConfig::vec.size()) in rcCreateContext()
393 EglConfig const* config = EglConfig::vec[config_]; in rcCreateContext()
439 if (config_ > EglConfig::vec.size()) in rcCreateWindowSurface()
442 EglConfig const* config = EglConfig::vec[config_]; in rcCreateWindowSurface()
DAVDVirglRenderer.cpp103 std::vector<EglConfig*> EglConfig::vec; member in EglConfig
/device/google/cuttlefish/guest/hals/gatekeeper/remote/
Dremote_gatekeeper.cpp47 SizedBuffer hidl_vec2sized_buffer(const hidl_vec<uint8_t>& vec) { in hidl_vec2sized_buffer() argument
48 if (vec.size() == 0 || vec.size() > std::numeric_limits<uint32_t>::max()) return {}; in hidl_vec2sized_buffer()
49 auto unused = new uint8_t[vec.size()]; in hidl_vec2sized_buffer()
50 std::copy(vec.begin(), vec.end(), unused); in hidl_vec2sized_buffer()
51 return {unused, static_cast<uint32_t>(vec.size())}; in hidl_vec2sized_buffer()
/device/google/contexthub/firmware/lib/libc/
Dcrt.c34 callVect vec = *start; in callVectors() local
35 if (vec != NULL) in callVectors()
36 vec(); in callVectors()
/device/google/fuchsia/bioniccompat/include/sys/compat/
Dmman.h26 inline int mincore(void *addr __UNUSED, size_t length, unsigned char *vec) { in mincore() argument
28 vec[i] = 1; in mincore()
/device/google/contexthub/util/nanotool/
Dlog.h38 #define LOGD_VEC(vec) Log::DebugBuf(vec) argument
75 static void DebugBuf(std::vector<uint8_t> vec);
Dlog.cpp67 void Log::DebugBuf(std::vector<uint8_t> vec) { in DebugBuf() argument
68 Log::DebugBuf(vec.data(), vec.size()); in DebugBuf()
/device/google/contexthub/firmware/os/algos/calibration/diversity_checker/
Ddiversity_checker.c77 const float vec[THREE_AXIS_DATA_DIM] = {x, y, z}; in diversityCheckerFindNearestPoint() local
90 vecSub(vec_diff, &diverse_data->diverse_data[i * THREE_AXIS_DATA_DIM], vec, in diversityCheckerFindNearestPoint()
120 const float vec[THREE_AXIS_DATA_DIM] = {x, y, z}; in diversityCheckerUpdate() local
126 vec, sizeof(float) * THREE_AXIS_DATA_DIM); in diversityCheckerUpdate()
/device/google/contexthub/firmware/os/inc/
Dseos.h322 .vec.init = (uint32_t)(_init), \
323 .vec.end = (uint32_t)(_end), \
324 .vec.handle = (uint32_t)(_event) \
340 .vec.init = (uint32_t)(_init), \
341 .vec.end = (uint32_t)(_end), \
342 .vec.handle = (uint32_t)(_event) \
Dbl.h81 struct BlVecTable vec; member
/device/google/contexthub/firmware/os/cpu/cortexm4/
DappSupport.c33 #define APP_VEC(_app) ((struct AppFuncs*)&((_app)->vec))
194 … return callWithR9((const void*)APP_FLASH_RELOC_BASE(app), app->vec.init, platInfo->data, tid, 0); in cpuAppInit()
202 … (void)callWithR9((const void*)APP_FLASH_RELOC_BASE(app), app->vec.end, platInfo->data, 0, 0); in cpuAppEnd()
211 …(void)callWithR9((const void*)APP_FLASH_RELOC_BASE(app), app->vec.handle, platInfo->data, evtType,… in cpuAppHandle()
/device/google/contexthub/lib/include/nanohub/
Dnanohub.h135 struct AppVectors vec; member
142 struct AppVectors vec; member
205 struct AppVectors vec; member
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_sphere_fit_cal/
Dmag_sphere_fit.c78 const float vec[3] = {x, y, z}; in magCalSphereDataUpdate() local
89 vec, sizeof(float) * THREE_AXIS_DATA_DIM); in magCalSphereDataUpdate()
/device/google/contexthub/firmware/variant/lunchbox/
Dlunchbox.mk39 os/algos/common/math/vec.c \
/device/google/contexthub/firmware/variant/nucleo/
Dnucleo.mk40 os/algos/common/math/vec.c \
/device/google/contexthub/firmware/variant/neonkey/
Dneonkey.mk41 os/algos/common/math/vec.c \
/device/google/contexthub/firmware/
Dneonkey_aux_variant_config.mk68 os/algos/common/math/vec.c \
Dargonkey_aux_variant_config.mk67 os/algos/common/math/vec.c \
Dlunchbox_aux_variant_config.mk76 os/algos/common/math/vec.c \
Dnucleo_aux_variant_config.mk68 os/algos/common/math/vec.c \
/device/google/contexthub/firmware/variant/argonkey/
Dargonkey.mk44 os/algos/common/math/vec.c \
/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess_elf.c255 app.vec = bin->vec; in finalizeAndWrite()
701 if (fixupAddrElf(&hdr->vec.init) != NANO_RELOC_TYPE_FLASH || in fixupHeaderElf()
702 fixupAddrElf(&hdr->vec.end) != NANO_RELOC_TYPE_FLASH || in fixupHeaderElf()
703 fixupAddrElf(&hdr->vec.handle) != NANO_RELOC_TYPE_FLASH) { in fixupHeaderElf()
Dpostprocess.c261 app.vec = bin->vec; in finalizeAndWrite()