Home
last modified time | relevance | path

Searched refs:T (Results 1 – 25 of 50) sorted by relevance

12

/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DSmartPtr.h22 template <class T, bool threadSafe = false>
26 explicit SmartPtr(T* ptr = (T*)NULL) {
40 SmartPtr<T,threadSafe>(const SmartPtr<T,false>& rhs) {
52 SmartPtr<T,threadSafe>(SmartPtr<T,true>& rhs) {
77 T* Ptr() const { in Ptr()
81 const T* constPtr() const in constPtr()
86 T* operator->() const {
90 T& operator*() const {
99 bool operator <(const SmartPtr<T>& t1) const {
103 SmartPtr<T,threadSafe>& operator=(const SmartPtr<T,false>& rhs)
[all …]
DglUtils.h66 template <class T> void minmax(T *indices, int count, int *min, int *max) { in minmax()
69 T *ptr = indices; in minmax()
77 template <class T> void shiftIndices(T *indices, int count, int offset) { in shiftIndices()
78 T *ptr = indices; in shiftIndices()
86 template <class T> void shiftIndices(T *src, T *dst, int count, int offset) in shiftIndices()
DGLClientState.h229 template <class T>
230 int getVertexAttribParameter(GLuint index, GLenum param, T *ptr) in getVertexAttribParameter()
242 *ptr = (T)(vertexAttrib->bufferObject); in getVertexAttribParameter()
245 *ptr = (T)(vertexAttrib->enabled); in getVertexAttribParameter()
248 *ptr = (T)(vertexAttrib->size); in getVertexAttribParameter()
251 *ptr = (T)(vertexAttrib->stride); in getVertexAttribParameter()
254 *ptr = (T)(vertexAttrib->type); in getVertexAttribParameter()
257 *ptr = (T)(vertexAttrib->normalized); in getVertexAttribParameter()
269 template <class T>
270 bool getClientStateParameter(GLenum param, T* ptr) in getClientStateParameter()
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c546 #define T(v) (_task->v) macro
560 bool ret = atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); in trySwitchState_()
566 return atomicCmpXchgByte(&T(state), SENSOR_IDLE, newState); in trySwitchState_()
636 slabAllocatorFree(T(mDataSlab), ev); in dataEvtFree()
642 if (T(spiInUse)) { in spiQueueWrite()
646 T(packets[T(mRegCnt)]).size = 2; in spiQueueWrite()
647 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]); in spiQueueWrite()
648 T(packets[T(mRegCnt)]).rxBuf = &T(txrxBuffer[T(mWbufCnt)]); in spiQueueWrite()
649 T(packets[T(mRegCnt)]).delay = delay * 1000; in spiQueueWrite()
650 T(txrxBuffer[T(mWbufCnt++)]) = BMI160_SPI_WRITE | addr; in spiQueueWrite()
[all …]
/device/google/contexthub/util/nanotool/
Dnanopacket_impl.h23 template<typename T>
24 bool NanoPacket::DeserializeWord(T *destination, uint8_t byte) { in DeserializeWord()
28 if (parsing_progress_ == sizeof(T)) { in DeserializeWord()
Dnanopacket.h115 template<typename T>
116 bool DeserializeWord(T *destination, uint8_t byte);
/device/google/dragon/crash_collector/
Dcoredump_writer.cc50 template<typename T>
51 T GetValueFromNote(const google_breakpad::ElfCoreDump::Note& note, in GetValueFromNote()
53 T default_value) { in GetValueFromNote()
54 const T* p = note.GetDescription().GetData<T>(offset); in GetValueFromNote()
/device/google/dragon/DragonKeyboard/res/raw/
Dkeyboard_layout_dragon_swiss_french.kcm132 key T {
133 label: 'T'
135 shift, capslock: 'T'
Dkeyboard_layout_dragon_swiss_german.kcm132 key T {
133 label: 'T'
135 shift, capslock: 'T'
Dkeyboard_layout_dragon_english_us_colemak.kcm31 map key 33 T
136 key T {
139 shift, capslock: 'T'
Dkeyboard_layout_dragon_english_us_dvorak.kcm40 map key 37 T
154 key T {
157 shift, capslock: 'T'
Dkeyboard_layout_dragon_english_us.kcm118 key T {
121 shift, capslock: 'T'
Dkeyboard_layout_dragon_english_uk.kcm122 key T {
125 shift, capslock: 'T'
Dkeyboard_layout_dragon_french.kcm138 key T {
141 shift, capslock: 'T'
Dkeyboard_layout_dragon_spanish.kcm125 key T {
128 shift, capslock: 'T'
Dkeyboard_layout_dragon_spanish_latin.kcm122 key T {
125 shift, capslock: 'T'
Dkeyboard_layout_dragon_danish.kcm132 key T {
135 shift, capslock: 'T'
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Degl.cpp56 template <class T>
57 int initApi(const char *driverLibName, const char *implLibName, T **dispatchTable, T *(*accessor)()) in initApi()
65 typedef T *(*createFcn_t)(void *, T *(*accessor)()); in initApi()
/device/htc/flounder/VolantisKeyboard/res/raw/
Dkeyboard_layout_volantis_english_us.kcm127 key T {
130 shift, capslock: 'T'
Dkeyboard_layout_volantis_japanese.kcm129 key T {
132 shift, capslock: 'T'
Dkeyboard_layout_volantis_italian.kcm132 key T {
135 shift, capslock: 'T'
Dkeyboard_layout_volantis_spanish.kcm137 key T {
140 shift, capslock: 'T'
Dkeyboard_layout_volantis_english_uk.kcm131 key T {
134 shift, capslock: 'T'
Dkeyboard_layout_volantis_french_ca.kcm140 key T {
143 shift, capslock: 'T'
/device/generic/goldfish/qemud/
Dqemud.c94 # define T(...) ((void)0) macro
98 # define T(...) D(__VA_ARGS__) macro
100 # define T(...) ((void)0) macro
1079 T("%s: %03d bytes: '%s'", in serial_dump()
1252 T("%s: client %p (%d): %3d bytes: '%s'", in client_dump()
1329 T("%s: client %p (%d)", __FUNCTION__, c, c->fdhandler->fd); in client_fd_close()
1498 T("%s: channel=%d '%.*s'", __FUNCTION__, p->channel, p->len, p->data); in multiplexer_serial_receive()

12