/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()
|
D | FormatConvert.h | 30 uint32_t* dst, unsigned dstStridePixels); 40 uint32_t* dst, unsigned dstStridePixels); 49 uint32_t* dst, unsigned dstStrideBytes);
|
/packages/modules/NetworkStack/jni/ |
D | network_stack_utils_jni.cpp | 39 static const uint32_t kEtherTypeOffset = offsetof(ether_header, ether_type); 40 static const uint32_t kEtherHeaderLen = sizeof(ether_header); 41 static const uint32_t kIPv4Protocol = kEtherHeaderLen + offsetof(iphdr, protocol); 42 static const uint32_t kIPv4FlagsOffset = kEtherHeaderLen + offsetof(iphdr, frag_off); 43 static const uint32_t kIPv6NextHeader = kEtherHeaderLen + offsetof(ip6_hdr, ip6_nxt); 44 static const uint32_t kIPv6PayloadStart = kEtherHeaderLen + sizeof(ip6_hdr); 45 static const uint32_t kICMPv6TypeOffset = kIPv6PayloadStart + offsetof(icmp6_hdr, icmp6_type); 46 static const uint32_t kUDPSrcPortIndirectOffset = kEtherHeaderLen + offsetof(udphdr, source); 47 static const uint32_t kUDPDstPortIndirectOffset = kEtherHeaderLen + offsetof(udphdr, dest);
|
/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/modules/NetworkStack/tests/unit/jni/ |
D | apf_jni.cpp | 37 uint32_t packet_len = (uint32_t)packet.size(); in com_android_server_ApfTest_apfSimulate() 38 uint32_t program_len = env->GetArrayLength(jprogram); in com_android_server_ApfTest_apfSimulate() 39 uint32_t data_len = jdata ? env->GetArrayLength(jdata) : 0; in com_android_server_ApfTest_apfSimulate() 112 for (uint32_t i = 0; i < bpf.bf_len; i++) { in com_android_server_ApfTest_compileToBpf() 188 uint32_t apf_program_len = (uint32_t)apf_program.size(); in com_android_server_ApfTest_dropsAllPackets() 189 uint32_t data_len = env->GetArrayLength(jdata); in com_android_server_ApfTest_dropsAllPackets()
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
D | phNxpExtns_MifareStd.h | 148 uint32_t NdefActualSize; 149 uint32_t AppWrLength; 153 uint32_t dwWrLength; 154 uint32_t NdefLength; 222 NFCSTATUS Mfc_WriteNdef(uint8_t* p_data, uint32_t len); 226 NFCSTATUS Mfc_Transceive(uint8_t* p_data, uint32_t len);
|
D | phNxpExtns_MifareStd.cpp | 76 uint32_t* PacketDataLength, 204 NdefMap->SendRecvBuf = (uint8_t*)malloc((uint32_t)(MAX_BUFF_SIZE * 2)); in phNxpExtns_MfcModuleInit() 229 tNciTranscvInfo.tSendData.pBuff = (uint8_t*)malloc((uint32_t)MAX_BUFF_SIZE); in phNxpExtns_MfcModuleInit() 236 (uint8_t*)malloc((uint32_t)MAX_BUFF_SIZE); in phNxpExtns_MfcModuleInit() 244 (uint32_t)MAX_BUFF_SIZE); /* size should be same as sRecvData */ in phNxpExtns_MfcModuleInit() 270 gAuthCmdBuf.pauth_cmd->buffer = (uint8_t*)malloc((uint32_t)NCI_MAX_DATA_LEN); in phNxpExtns_MfcModuleInit() 345 NdefMap, (uint32_t*)&(conn_evt_data.ndef_detect.max_size), in Mfc_CheckNdef_Completion_Routine() 346 (uint32_t*)&(conn_evt_data.ndef_detect.cur_size)); in Mfc_CheckNdef_Completion_Routine() 471 uint32_t* PacketDataLength, in phFriNfc_ValidateParams() 611 uint32_t* PacketDataLength = NULL; in Mfc_ReadNdef() [all …]
|
D | phFriNfc_MifareStdMap.h | 228 uint32_t* PacketDataLength, 232 uint32_t* PacketDataLength, 238 const phFriNfc_NdefMap_t* NdefMap, uint32_t* maxSize, uint32_t* actualSize);
|
D | phFriNfc_MifStdFormat.cpp | 49 static uint32_t phFriNfc_MfStd_H_ChkAcsBit(uint16_t BlockNo, 557 uint32_t memcompare = PH_FRINFC_MFSTD_FMT_VAL_1; in phFriNfc_MfStd_H_ProCon() 730 uint32_t memcompare = PH_FRINFC_MFSTD_FMT_VAL_1; in phFriNfc_MfStd_H_ProRdSectTr() 780 uint32_t memcompare = PH_FRINFC_MFSTD_FMT_VAL_1; in phFriNfc_MfStd_H_ProWrSectTr() 817 static uint32_t phFriNfc_MfStd_H_ChkAcsBit(uint16_t BlockNo, in phFriNfc_MfStd_H_ChkAcsBit() 821 uint32_t mem = PH_FRINFC_MFSTD_FMT_VAL_0; in phFriNfc_MfStd_H_ChkAcsBit() 824 mem = (uint32_t)(((BlockNo == PH_FRINFC_MFSTD_FMT_VAL_3) || (BlockNo == 67)) in phFriNfc_MfStd_H_ChkAcsBit() 1039 uint32_t memcompare = PH_FRINFC_MFSTD_FMT_VAL_1; in phFriNfc_MfStd_H_ProErrAuth() 1275 uint32_t memcompare = PH_FRINFC_MFSTD_FMT_VAL_1; in phFriNfc_MfStd_H_ErrRdSectTr()
|
/packages/services/Car/procfs-inspector/server/ |
D | server.cpp | 45 remote()->transact((uint32_t)IProcfsInspector::Call::READ_PROCESS_TABLE, data, &reply); in readProcessTable() 56 status_t Impl::onTransact(uint32_t code, in onTransact() 57 const Parcel& data, Parcel* reply, uint32_t flags) { in onTransact() 59 if (code == (uint32_t)IProcfsInspector::Call::READ_PROCESS_TABLE) { in onTransact()
|
/packages/apps/Nfc/nci/jni/extns/pn54x/inc/ |
D | phNxpExtns.h | 31 NFCSTATUS EXTNS_MfcWriteNDef(uint8_t* pBuf, uint32_t len); 35 NFCSTATUS EXTNS_MfcTransceive(uint8_t* p_data, uint32_t len); 38 NFCSTATUS EXTNS_MfcCallBack(uint8_t* buf, uint32_t buflen); 47 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/apps/Nfc/nci/jni/extns/pn54x/src/common/ |
D | phNfcTypes.h | 47 uint32_t length; /* Buffer length */ 109 uint32_t eMsgType; /* Type of the message to be posted*/ 111 uint32_t Size; /* Size of the datablock*/ 280 uint32_t dwWordPtr; /* Word address for the memory write */
|