/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | itoa.h | 39 inline char* u32toa(uint32_t value, char* buffer) { in u32toa() 43 const uint32_t d1 = (value / 100) << 1; in u32toa() 44 const uint32_t d2 = (value % 100) << 1; in u32toa() 56 const uint32_t b = value / 10000; in u32toa() 57 const uint32_t c = value % 10000; in u32toa() 59 const uint32_t d1 = (b / 100) << 1; in u32toa() 60 const uint32_t d2 = (b % 100) << 1; in u32toa() 62 const uint32_t d3 = (c / 100) << 1; in u32toa() 63 const uint32_t d4 = (c % 100) << 1; in u32toa() 81 const uint32_t a = value / 100000000; // 1 to 42 in u32toa() [all …]
|
D | dtoa.h | 43 inline unsigned CountDecimalDigit32(uint32_t n) { in CountDecimalDigit32() 60 …static const uint32_t kPow10[] = { 1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, … in DigitGen() 63 uint32_t p1 = static_cast<uint32_t>(Mp.f >> -one.e); in DigitGen() 69 uint32_t d = 0; in DigitGen()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | trie_map.h | 230 const uint32_t mData0; 231 const uint32_t mData1; 233 Entry(const uint32_t data0, const uint32_t data1) : mData0(data0), mData1(data1) {} in Entry() 244 AK_FORCE_INLINE uint32_t getKey() const { in getKey() 249 AK_FORCE_INLINE uint32_t getValue() const { in getValue() 259 AK_FORCE_INLINE uint32_t getValueEntryIndex() const { in getValueEntryIndex() 264 AK_FORCE_INLINE uint32_t getBitmap() const { in getBitmap() 284 static const uint32_t VALUE_FLAG; 285 static const uint32_t VALUE_MASK; 286 static const uint32_t INVALID_VALUE_IN_KEY_VALUE_ENTRY; [all …]
|
D | trie_map.cpp | 27 const uint32_t TrieMap::VALUE_FLAG = 0x400000; 28 const uint32_t TrieMap::VALUE_MASK = 0x3FFFFF; 29 const uint32_t TrieMap::INVALID_VALUE_IN_KEY_VALUE_ENTRY = VALUE_MASK; 30 const uint32_t TrieMap::TERMINAL_LINK_FLAG = 0x800000; 31 const uint32_t TrieMap::TERMINAL_LINK_MASK = 0x7FFFFF; 33 const uint32_t TrieMap::LABEL_MASK = 0x1F; 69 const uint32_t unsignedKey = static_cast<uint32_t>(key); in getNextLevelBitmapEntryIndex() 98 const uint32_t unsignedKey = static_cast<uint32_t>(key); in get() 107 const uint32_t unsignedKey = static_cast<uint32_t>(key); in put() 118 const uint32_t unsignedKey = static_cast<uint32_t>(key); in remove() [all …]
|
D | byte_array_utils.h | 37 const uint32_t data, const int size, int *const pos) { in writeUintAndAdvancePosition() 63 static AK_FORCE_INLINE uint32_t readUint32(const uint8_t *const buffer, const int pos) { in readUint32() 68 static AK_FORCE_INLINE uint32_t readUint24(const uint8_t *const buffer, const int pos) { in readUint24() 80 static AK_FORCE_INLINE uint32_t readUint32AndAdvancePosition( in readUint32AndAdvancePosition() 82 const uint32_t value = readUint32(buffer, *pos); in readUint32AndAdvancePosition() 98 static AK_FORCE_INLINE uint32_t readUint24AndAdvancePosition( in readUint24AndAdvancePosition() 100 const uint32_t value = readUint24(buffer, *pos); in readUint24AndAdvancePosition() 117 static AK_FORCE_INLINE uint32_t readUint(const uint8_t *const buffer, in readUint() 264 const uint32_t data, int *const pos) { in writeUint32AndAdvancePosition() 272 const uint32_t data, int *const pos) { in writeUint24AndAdvancePosition()
|
D | buffer_with_extendable_buffer.cpp | 26 uint32_t BufferWithExtendableBuffer::readUint(const int size, const int pos) const { in readUint() 32 uint32_t BufferWithExtendableBuffer::readUintAndAdvancePosition(const int size, in readUintAndAdvancePosition() 34 const uint32_t value = readUint(size, *pos); in readUintAndAdvancePosition() 58 bool BufferWithExtendableBuffer::writeUint(const uint32_t data, const int size, const int pos) { in writeUint() 63 bool BufferWithExtendableBuffer::writeUintAndAdvancePosition(const uint32_t data, const int size, in writeUintAndAdvancePosition() 156 const int maxDataChunkSize = sizeof(uint32_t); in copy() 161 const uint32_t data = sourceBuffer->readUint(copyingSize, copyingPos); in copy()
|
D | buffer_with_extendable_buffer.h | 73 uint32_t readUint(const int size, const int pos) const; 75 uint32_t readUintAndAdvancePosition(const int size, int *const pos) const; 97 bool writeUint(const uint32_t data, const int size, const int pos); 99 bool writeUintAndAdvancePosition(const uint32_t data, const int size, int *const pos);
|
/packages/services/Car/evs/sampleDriver/ |
D | bufferCopy.cpp | 47 static uint32_t yuvToRgbx(const unsigned char Y, const unsigned char Uin, const unsigned char Vin) { in yuvToRgbx() 94 uint32_t *srcDataYUYV = (uint32_t*)imgData; in fillNV21FromYUYV() 110 uint32_t* topSrcRow = srcDataYUYV; in fillNV21FromYUYV() 111 uint32_t* botSrcRow = srcDataYUYV + srcRowPixels; in fillNV21FromYUYV() 149 uint32_t* src = (uint32_t*)imgData; in fillRGBAFromYUYV() 150 uint32_t* dst = (uint32_t*)tgt; in fillRGBAFromYUYV() 160 uint32_t srcPixel = *src++; in fillRGBAFromYUYV() 198 uint32_t* src = (uint32_t*)imgData; in fillYUYVFromUYVY() 199 uint32_t* dst = (uint32_t*)tgt; in fillYUYVFromUYVY() 209 uint32_t srcPixel = *src++; in fillYUYVFromUYVY()
|
D | EvsV4lCamera.h | 46 Return <EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override; 50 Return <int32_t> getExtendedInfo(uint32_t opaqueIdentifier) override; 51 Return <EvsResult> setExtendedInfo(uint32_t opaqueIdentifier, int32_t opaqueValue) override; 73 uint32_t mFormat = 0; // Values from android_pixel_format_t 74 uint32_t mUsage = 0; // Values from from Gralloc.h 75 uint32_t mStride = 0; // Pixels per row (may be greater than image width)
|
/packages/services/Car/evs/app/ |
D | FormatConvert.cpp | 39 static uint32_t yuvToRgbx(const unsigned char Y, const unsigned char Uin, const unsigned char Vin) { in yuvToRgbx() 62 uint32_t* dst, unsigned dstStridePixels) in copyNV21toRGB32() 80 uint32_t* rowDest = dst + r*dstStridePixels; in copyNV21toRGB32() 93 uint32_t* dst, unsigned dstStridePixels) in copyYV12toRGB32() 116 uint32_t* rowDest = dst + r*dstStridePixels; in copyYV12toRGB32() 127 uint32_t* dst, unsigned dstStridePixels) in copyYUYVtoRGB32() 129 uint32_t* srcWords = (uint32_t*)src; in copyYUYVtoRGB32() 137 uint32_t srcPixel = *srcWords++; in copyYUYVtoRGB32()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | itoatest.cpp | 30 struct Traits<uint32_t> { 33 static uint32_t Negate(uint32_t x) { return x; }; in Negate() 77 for (uint32_t power = 2; power <= 10; power += 8) { in Verify() 92 static void u32toa_naive(uint32_t value, char* buffer) { in u32toa_naive() 108 uint32_t u = static_cast<uint32_t>(value); in i32toa_naive()
|
D | bigintegertest.cpp | 87 a *= static_cast <uint32_t>(0); in TEST() 89 a *= static_cast <uint32_t>(123); in TEST() 93 b *= static_cast<uint32_t>(1); in TEST() 95 b *= static_cast<uint32_t>(0); in TEST() 99 c *= static_cast<uint32_t>(456u); in TEST()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | convolve3x3.rs | 28 void root(const uchar4 *in, uchar4 *out, const void *usrData, uint32_t x, uint32_t y) { 29 uint32_t x1 = min((int32_t)x+1, gWidth-1); 30 uint32_t x2 = max((int32_t)x-1, 0); 31 uint32_t y1 = min((int32_t)y+1, gHeight-1); 32 uint32_t y2 = max((int32_t)y-1, 0);
|
D | vignette.rs | 20 uint32_t inputWidth; 21 uint32_t inputHeight; 65 uchar4 __attribute__((kernel)) vignette(const uchar4 in, uint32_t x, uint32_t y) {
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
D | phNxpExtns_MifareStd.h | 137 uint32_t NdefActualSize; 138 uint32_t AppWrLength; 142 uint32_t dwWrLength; 143 uint32_t NdefLength; 220 NFCSTATUS Mfc_WriteNdef(uint8_t *p_data, uint32_t len); 224 NFCSTATUS Mfc_Transceive(uint8_t *p_data, uint32_t len);
|
D | phNxpExtns_MifareStd.c | 68 uint32_t *PacketDataLength, 216 NdefMap->SendRecvBuf = malloc((uint32_t)(MAX_BUFF_SIZE * 2)); in phNxpExtns_MfcModuleInit() 244 tNciTranscvInfo.tSendData.pBuff = (uint8_t *)malloc((uint32_t)MAX_BUFF_SIZE); in phNxpExtns_MfcModuleInit() 251 NdefMap->pTransceiveInfo->sSendData.buffer = (uint8_t *)malloc((uint32_t)MAX_BUFF_SIZE); in phNxpExtns_MfcModuleInit() 259 …NdefMap->pTransceiveInfo->sRecvData.buffer = (uint8_t *)malloc((uint32_t)MAX_BUFF_SIZE); /* size s… in phNxpExtns_MfcModuleInit() 288 gAuthCmdBuf.pauth_cmd->buffer = malloc((uint32_t)NCI_MAX_DATA_LEN); in phNxpExtns_MfcModuleInit() 370 (uint32_t *)&(conn_evt_data.ndef_detect.max_size), in Mfc_CheckNdef_Completion_Routine() 371 (uint32_t *)&(conn_evt_data.ndef_detect.cur_size)); in Mfc_CheckNdef_Completion_Routine() 505 uint32_t *PacketDataLength, in phFriNfc_ValidateParams() 665 uint32_t *PacketDataLength = NULL; in Mfc_ReadNdef() [all …]
|
D | phFriNfc_MifStdFormat.c | 36 static uint32_t phFriNfc_MfStd_H_ChkAcsBit(uint16_t BlockNo, const uint8_t *RecvBuf, const uint8_t … 536 uint32_t memcompare = PH_FRINFC_MFSTD_FMT_VAL_1; in phFriNfc_MfStd_H_ProCon() 729 uint32_t memcompare = PH_FRINFC_MFSTD_FMT_VAL_1; in phFriNfc_MfStd_H_ProRdSectTr() 782 uint32_t memcompare = PH_FRINFC_MFSTD_FMT_VAL_1; in phFriNfc_MfStd_H_ProWrSectTr() 822 static uint32_t phFriNfc_MfStd_H_ChkAcsBit(uint16_t BlockNo, in phFriNfc_MfStd_H_ChkAcsBit() 827 uint32_t mem = PH_FRINFC_MFSTD_FMT_VAL_0; in phFriNfc_MfStd_H_ChkAcsBit() 830 mem = (uint32_t)(((BlockNo == PH_FRINFC_MFSTD_FMT_VAL_3) || in phFriNfc_MfStd_H_ChkAcsBit() 1061 uint32_t memcompare = PH_FRINFC_MFSTD_FMT_VAL_1; in phFriNfc_MfStd_H_ProErrAuth() 1312 uint32_t memcompare = PH_FRINFC_MFSTD_FMT_VAL_1; in phFriNfc_MfStd_H_ErrRdSectTr()
|
D | phFriNfc_MifareStdMap.h | 201 uint32_t *PacketDataLength, 205 uint32_t *PacketDataLength, 213 uint32_t *maxSize, uint32_t *actualSize);
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_avrcp.cpp | 139 uint32_t param, in btavrcp_register_notification_callback() 255 uint8_t scope, uint32_t start_item, uint32_t end_item, uint8_t num_attr, in btavrcp_get_folder_items_callback() 256 uint32_t* p_attr_ids, RawAddress* bd_addr) { in btavrcp_get_folder_items_callback() 272 uint32_t* puiAttr = (uint32_t*)p_attr_ids; in btavrcp_get_folder_items_callback() 837 param.song_pos = (uint32_t)playPos; in registerNotificationRspPlayPosNative() 1282 uint32_t nItems = (uint32_t)numItems; in changePathRspNative() 1285 btAddr, (btrc_status_t)rspStatus, (uint32_t)nItems); in changePathRspNative() 1308 uint32_t nItems = (uint32_t)numItems; in searchRspNative() 1311 btAddr, (btrc_status_t)rspStatus, (uint32_t)uidCounter, (uint32_t)nItems); in searchRspNative() 1359 uint32_t nItems = (uint32_t)numItems; in getTotalNumOfItemsRspNative() [all …]
|
/packages/services/Car/libvehiclemonitor/include/ |
D | IVehicleMonitor.h | 44 uint32_t pid, uint32_t uid, vehicle_app_priority priority) = 0; 51 virtual status_t onTransact(uint32_t code, 54 uint32_t flags = 0);
|
/packages/apps/Nfc/nci/jni/extns/pn54x/inc/ |
D | phNxpExtns.h | 35 NFCSTATUS EXTNS_MfcWriteNDef (uint8_t *pBuf, uint32_t len); 39 NFCSTATUS EXTNS_MfcTransceive (uint8_t *p_data, uint32_t len); 41 NFCSTATUS EXTNS_MfcCallBack (uint8_t *buf, uint32_t buflen); 49 NFCSTATUS EXTNS_CheckMfcResponse (uint8_t** sTransceiveData, uint32_t *sTransceiveDataLen);
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
D | buffer_with_extendable_buffer_test.cpp | 30 const uint32_t data_1 = 0xFF; in TEST() 35 const uint32_t data_2 = 0xFFFF; in TEST() 40 const uint32_t data_3 = 0xFFFFFF; in TEST() 45 const uint32_t data_4 = 0xFFFFFFFF; in TEST()
|
/packages/services/Car/libvehiclemonitor/native/ |
D | IVehicleMonitor.cpp | 44 uint32_t pid, uint32_t uid, vehicle_app_priority priority) { in setAppPriority() 95 status_t BnVehicleMonitor::onTransact(uint32_t code, const Parcel& data, Parcel* reply, in onTransact() 96 uint32_t flags) { in onTransact()
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/common/ |
D | phNfcTypes.h | 48 uint32_t length; /* Buffer length */ 112 uint32_t eMsgType; /* Type of the message to be posted*/ 114 uint32_t Size; /* Size of the datablock*/ 285 uint32_t dwWordPtr; /* Word address for the memory write */
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/msinttypes/ |
D | stdint.h | 126 typedef unsigned int uint32_t; typedef 133 typedef unsigned __int32 uint32_t; typedef 146 typedef uint32_t uint_least32_t; 156 typedef uint32_t uint_fast32_t;
|