Home
last modified time | relevance | path

Searched refs:U32 (Results 1 – 25 of 63) sorted by relevance

123

/external/syslinux/gpxe/src/drivers/net/phantom/
Dnxhal_nic_interface.h15 typedef U32 nx_reg_addr_t;
186 typedef U32 nx_rx_rule_type_t;
195 typedef U32 nx_rx_rule_cmd_t;
223 U32 id;
224 U32 active;
254 typedef U32 nx_host_ctx_state_t;
300 U32 ring_size; /* Ring entries */
301 U32 rsvd; /* Padding */
308 U32 capabilities[4]; /* Flag bit vector */
309 U32 host_int_crb_mode; /* Interrupt crb usage */
[all …]
Dphantom.h44 typedef uint32_t U32; typedef
/external/lz4/programs/
Dbench.c79 static U32 g_compressibilityDefault = 50;
87 static U32 g_displayLevel = 2; /* 0 : no display; 1: errors; 2 : + result + interaction + war…
117 static U32 g_nbSeconds = NBSECONDS;
160 const size_t* fileSizes, U32 nbFiles) in BMK_benchMem()
163 U32 const maxNbBlocks = (U32) ((srcSize + (blockSize-1)) / blockSize) + nbFiles; in BMK_benchMem()
168 U32 nbBlocks; in BMK_benchMem()
198 U32 fileNb; in BMK_benchMem()
201 U32 const nbBlocksforThisFile = (U32)((remaining + (blockSize-1)) / blockSize); in BMK_benchMem()
202 U32 const blockEnd = nbBlocks + nbBlocksforThisFile; in BMK_benchMem()
225 U32 cCompleted=0, dCompleted=0; in BMK_benchMem()
[all …]
Ddatagen.c60 static unsigned int RDG_rand(U32* src) in RDG_rand()
62 U32 rand32 = *src; in RDG_rand()
76 U32 u = 0; in RDG_fillLiteralDistrib()
79 U32 const weight = (U32)((double)(LTSIZE - u) * ld) + 1; in RDG_fillLiteralDistrib()
80 U32 const end = MIN(u+weight, LTSIZE); in RDG_fillLiteralDistrib()
88 static BYTE RDG_genChar(U32* seed, const litDistribTable lt) in RDG_genChar()
90 U32 id = RDG_rand(seed) & LTMASK; in RDG_genChar()
101 const U32 matchProba32 = (U32)(32768 * matchProba); in RDG_genBlock()
103 U32* seed = seedPtr; in RDG_genBlock()
134 U32 offset = RDG_RAND15BITS + 1; in RDG_genBlock()
[all …]
Dlz4cli.c430 … DISPLAYLEVEL(2, "using blocks of size %u KB \n", (U32)(blockSize>>10)); in main()
435 … DISPLAYLEVEL(2, "bench: using blocks of size %u KB \n", (U32)(B>>10)); in main()
437 … DISPLAYLEVEL(2, "bench: using blocks of size %u bytes \n", (U32)(B)); in main()
513 …if ((mode == om_compress) || (mode == om_bench)) DISPLAYLEVEL(4, "Blocks size : %i KB\n", (U32)(bl… in main()
Dutil.h58 typedef uint32_t U32; typedef
66 typedef unsigned int U32;
251 UTIL_STATIC U32 UTIL_isDirectory(const char* infilename) in UTIL_isDirectory()
/external/lz4/lib/
Dxxhash.c138 typedef uint32_t U32; typedef
143 typedef unsigned int U32; typedef
151 static U32 XXH_read32(const void* memPtr) { return *(const U32*) memPtr; } in XXH_read32()
157 typedef union { U32 u32; } __attribute__((packed)) unalign;
158 static U32 XXH_read32(const void* ptr) { return ((const unalign*)ptr)->u32; } in XXH_read32()
165 static U32 XXH_read32(const void* memPtr) in XXH_read32()
167 U32 val; in XXH_read32()
194 static U32 XXH_swap32 (U32 x) in XXH_swap32()
221 FORCE_INLINE U32 XXH_readLE32_align(const void* ptr, XXH_endianess endian, XXH_alignment align) in XXH_readLE32_align()
226 return endian==XXH_littleEndian ? *(const U32*)ptr : XXH_swap32(*(const U32*)ptr); in XXH_readLE32_align()
[all …]
Dlz4.c141 typedef uint32_t U32; typedef
148 typedef unsigned int U32; typedef
165 … const union { U32 u; BYTE c[4]; } one = { 1 }; /* don't use static : performance detrimental */ in LZ4_isLittleEndian()
174 static U32 LZ4_read32(const void* memPtr) { return *(const U32*) memPtr; } in LZ4_read32()
178 static void LZ4_write32(void* memPtr, U32 value) { *(U32*)memPtr = value; } in LZ4_write32()
184 typedef union { U16 u16; U32 u32; reg_t uArch; } __attribute__((packed)) unalign;
187 static U32 LZ4_read32(const void* ptr) { return ((const unalign*)ptr)->u32; } in LZ4_read32()
191 static void LZ4_write32(void* memPtr, U32 value) { ((unalign*)memPtr)->u32 = value; } in LZ4_write32()
200 static U32 LZ4_read32(const void* memPtr) in LZ4_read32()
202 U32 val; memcpy(&val, memPtr, sizeof(val)); return val; in LZ4_read32()
[all …]
Dlz4hc.c90 static U32 LZ4HC_hashPtr(const void* ptr) { return HASH_FUNCTION(LZ4_read32(ptr)); } in LZ4HC_hashPtr()
114 U32* const hashTable = hc4->hashTable; in LZ4HC_Insert()
116 U32 const target = (U32)(ip - base); in LZ4HC_Insert()
117 U32 idx = hc4->nextToUpdate; in LZ4HC_Insert()
120 U32 const h = LZ4HC_hashPtr(base+idx); in LZ4HC_Insert()
138 U32* const HashTable = hc4->hashTable; in LZ4HC_InsertAndFindBestMatch()
141 const U32 dictLimit = hc4->dictLimit; in LZ4HC_InsertAndFindBestMatch()
142 …const U32 lowLimit = (hc4->lowLimit + 64 KB > (U32)(ip-base)) ? hc4->lowLimit : (U32)(ip - base) -… in LZ4HC_InsertAndFindBestMatch()
143 U32 matchIndex; in LZ4HC_InsertAndFindBestMatch()
191 U32* const HashTable = hc4->hashTable; in LZ4HC_InsertAndGetWiderMatch()
[all …]
Dlz4opt.h89 U32* const HashTable = ctx->hashTable; in LZ4HC_BinTree_InsertAndGetAllMatches()
91 const U32 dictLimit = ctx->dictLimit; in LZ4HC_BinTree_InsertAndGetAllMatches()
92 const U32 current = (U32)(ip - base); in LZ4HC_BinTree_InsertAndGetAllMatches()
93 …const U32 lowLimit = (ctx->lowLimit + MAX_DISTANCE > current) ? ctx->lowLimit : current - (MAX_DIS… in LZ4HC_BinTree_InsertAndGetAllMatches()
99 U32 matchIndex; in LZ4HC_BinTree_InsertAndGetAllMatches()
101 U32* HashPos; in LZ4HC_BinTree_InsertAndGetAllMatches()
173 const U32 target = (U32)(ip - base); in LZ4HC_updateBinTree()
174 U32 idx = ctx->nextToUpdate; in LZ4HC_updateBinTree()
190 ctx->nextToUpdate = (U32)(ip - ctx->base + best_mlen); in LZ4HC_BinTree_GetAllMatches()
354 …if ((limit) && (((char*)op - dest) + lastRun + 1 + ((lastRun+255-RUN_MASK)/255) > (U32)maxOutputSi… in LZ4HC_compress_optimal()
Dlz4frame.c82 typedef uint32_t U32; typedef
88 typedef unsigned int U32; typedef
95 static U32 LZ4F_readLE32 (const void* src) in LZ4F_readLE32()
98 U32 value32 = srcPtr[0]; in LZ4F_readLE32()
101 value32 += ((U32)srcPtr[3])<<24; in LZ4F_readLE32()
105 static void LZ4F_writeLE32 (void* dst, U32 value32) in LZ4F_writeLE32()
171 U32 version;
172 U32 cStage;
181 U32 lz4CtxLevel; /* 0: unallocated; 1: LZ4_stream_t; 3: LZ4_streamHC_t */
236 U32 const xxh = XXH32(header, length, 0); in LZ4F_headerChecksum()
[all …]
/external/lz4/tests/
Dframetest.c50 static void FUZ_writeLE32 (void* dstVoidPtr, U32 value32) in FUZ_writeLE32()
69 static const U32 nbTestsDefault = 256 KB;
72 static const U32 prime1 = 2654435761U;
73 static const U32 prime2 = 2246822519U;
93 static U32 no_prompt = 0;
94 static U32 displayLevel = 2;
95 static U32 use_pause = 0;
113 U32 rand32 = *src; in FUZ_rand()
124 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* see… in FUZ_fillCompressibleNoiseBuffer()
128 U32 P32 = (U32)(32768 * proba); in FUZ_fillCompressibleNoiseBuffer()
[all …]
Dfuzzer.c104 static U32 FUZ_rotl32(U32 u32, U32 nbBits) in FUZ_rotl32()
109 static U32 FUZ_rand(U32* src) in FUZ_rand()
111 U32 rand32 = *src; in FUZ_rand()
122 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* see… in FUZ_fillCompressibleNoiseBuffer()
126 U32 const P32 = (U32)(32768 * proba); in FUZ_fillCompressibleNoiseBuffer()
257 static int FUZ_test(U32 seed, U32 nbCycles, const U32 startCycle, const double compressibility, U32 in FUZ_test()
271 U32 coreRandState = seed; in FUZ_test()
288 { U32 randState = coreRandState ^ PRIME3; in FUZ_test()
300 U32 testNb = 0; in FUZ_test()
301 U32 randState = FUZ_rand(&coreRandState) ^ PRIME3; in FUZ_test()
[all …]
Ddatagencli.c83 U32 seed = SEED_DEFAULT; in main()
166 … if (proba!=COMPRESSIBILITY_DEFAULT) DISPLAYLEVEL(3, "Compressibility : %i%%\n", (U32)(proba*100)); in main()
Dfullbench.c79 U32 id;
339 U32 crcOriginal; in fullSpeedBench()
550 U32 crcDecoded; in fullSpeedBench()
/external/skia/src/jumper/
DSkJumper_stages.cpp52 using U32 = uint32_t; typedef
63 SI U32 round (F v, F scale) { return (uint32_t)lrintf(v*scale); } in round()
64 SI U16 pack(U32 v) { return (U16)v; } in pack()
69 SI F gather(const float* p, U32 ix) { return p[ix]; } in gather()
79 using U32 = uint32_t __attribute__((ext_vector_type(4))); typedef
91 SI U32 round (F v, F scale) { return vcvtnq_u32_f32(v*scale); } in round()
92 SI U16 pack(U32 v) { return __builtin_convertvector(v, U16); } in pack()
95 SI F if_then_else(I32 c, F t, F e) { return vbslq_f32((U32)c,t,e); } in if_then_else()
97 SI F gather(const float* p, U32 ix) { return {p[ix[0]], p[ix[1]], p[ix[2]], p[ix[3]]}; } in gather()
110 using U32 = uint32_t __attribute__((ext_vector_type(2))); typedef
[all …]
/external/vixl/tools/test_generator/
Ddata_types.py345 class U32(Scalar): class
363 class Register(U32):
379 class NZCV(U32):
420 class Q(U32):
460 class GE(U32):
/external/google-breakpad/src/client/linux/dump_writer_common/
Dthread_info.cc50 void U32(void* out, uint32_t v) { in U32() function
112 U32(out->extended_registers + 8, fpxregs.fip); in FillCPUContext()
114 U32(out->extended_registers + 16, fpregs.foo); in FillCPUContext()
116 U32(out->extended_registers + 24, fpxregs.mxcsr); in FillCPUContext()
/external/valgrind/VEX/priv/
Dir_opt.c1101 case Ico_U32: return toBool( c1->Ico.U32 == c2->Ico.U32 ); in sameIRExprs_aux2()
1186 && e->Iex.Const.con->Ico.U32 == 0); in isZeroU32()
1224 case Ico_U32: return toBool( e->Iex.Const.con->Ico.U32 == 0); in isZeroU()
1237 case Ico_U32: return toBool( e->Iex.Const.con->Ico.U32 in isOnesU()
1460 0xFFFF & e->Iex.Unop.arg->Iex.Const.con->Ico.U32))); in fold_Expr()
1464 0xFF & e->Iex.Unop.arg->Iex.Const.con->Ico.U32))); in fold_Expr()
1468 1 == (1 & e->Iex.Unop.arg->Iex.Const.con->Ico.U32) in fold_Expr()
1487 ~ (e->Iex.Unop.arg->Iex.Const.con->Ico.U32))); in fold_Expr()
1530 & e->Iex.Unop.arg->Iex.Const.con->Ico.U32)); in fold_Expr()
1540 ULong u64 = e->Iex.Unop.arg->Iex.Const.con->Ico.U32; in fold_Expr()
[all …]
Dhost_tilegx_isel.c1068 l = (Long) (Int) con->Ico.U32; in iselWordExpr_R_wrk()
1160 u = 0xFFFFFFFF & con->Ico.U32; in iselWordExpr_RH_wrk()
1543 (sz == 4 && cas->expdLo->Iex.Const.con->Ico.U32 == 0)) in iselStmt()
1550 (sz == 4 && cas->expdLo->Iex.Const.con->Ico.U32 == 2)) in iselStmt()
1557 (sz == 4 && cas->expdLo->Iex.Const.con->Ico.U32 == 3)) in iselStmt()
1564 (sz == 4 && cas->expdLo->Iex.Const.con->Ico.U32 == 4)) in iselStmt()
1571 (sz == 4 && cas->expdLo->Iex.Const.con->Ico.U32 == 5)) in iselStmt()
Dhost_x86_isel.c117 && e->Iex.Const.con->Ico.U32 == 0; in isZeroU32()
1577 UInt imm32 = e->Iex.Binop.arg2->Iex.Const.con->Ico.U32; in iselIntExpr_AMode_wrk()
1607 return X86AMode_IR(e->Iex.Binop.arg2->Iex.Const.con->Ico.U32, r1); in iselIntExpr_AMode_wrk()
1653 case Ico_U32: u = e->Iex.Const.con->Ico.U32; break; in iselIntExpr_RMI_wrk()
1713 case Ico_U32: u = e->Iex.Const.con->Ico.U32; break; in iselIntExpr_RI_wrk()
2006 X86RMI_Imm(con->Iex.Const.con->Ico.U32), in iselCondCode_wrk()
4261 = ((Addr32)stmt->Ist.Exit.dst->Ico.U32) > env->max_ga; in iselStmt()
4263 addInstr(env, X86Instr_XDirect(stmt->Ist.Exit.dst->Ico.U32, in iselStmt()
4342 = ((Addr32)cdst->Ico.U32) > env->max_ga; in iselNext()
4344 addInstr(env, X86Instr_XDirect(cdst->Ico.U32, in iselNext()
/external/llvm/unittests/ADT/
DStringRefTest.cpp469 uint32_t U32; in TEST() local
487 bool U32Success = StringRef(Unsigned[i].Str).getAsInteger(0, U32); in TEST()
490 EXPECT_EQ(U32, Unsigned[i].Expected); in TEST()
/external/llvm/test/CodeGen/AMDGPU/
D32-bit-local-address-space.ll10 ; Instructions with B32, U32, and I32 in their name take 32-bit operands, while
/external/vixl/src/aarch32/
Dinstructions-aarch32.cc470 case U32: in GetName()
/external/deqp/framework/common/
DtcuTexture.cpp1042 #define U32(OFFS, COUNT) ((*((const deUint32*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixelInt() macro
1043 #define S32(OFFS, COUNT) signExtend(U32(OFFS, COUNT), (COUNT)) in getPixelInt()
1056 …case TextureFormat::UNORM_INT_101010: return UVec4(U32(22, 10), U32(12, 10), U32( 2, 10), 1).… in getPixelInt()
1058 …rmat::UNSIGNED_INT_1010102_REV: return swizzleRB(UVec4(U32( 0, 10), U32(10, 10), U32(20, 10), U32(… in getPixelInt()
1072 #undef U32 in getPixelInt()

123