Home
last modified time | relevance | path

Searched refs:codeSize (Results 1 – 25 of 71) sorted by relevance

123

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lzw/
DLZWInputStream.java46 private int codeSize = DEFAULT_CODE_SIZE; field in LZWInputStream
120 protected void setClearCode(final int codeSize) { in setClearCode() argument
121 clearCode = (1 << (codeSize - 1)); in setClearCode()
171 if (codeSize > 31) { in readNextCode()
174 return (int) in.readBits(codeSize); in readNextCode()
240 return codeSize; in getCodeSize()
248 this.codeSize = cs; in setCodeSize()
252 codeSize++; in incrementCodeSize()
/external/swiftshader/src/Vulkan/
DVkShaderModule.cpp27 memcpy(code, pCreateInfo->pCode, pCreateInfo->codeSize); in ShaderModule()
28 wordCount = static_cast<uint32_t>(pCreateInfo->codeSize / sizeof(uint32_t)); in ShaderModule()
38 return pCreateInfo->codeSize; in ComputeRequiredAllocationSize()
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
DGifDecoder.java529 …int available, clear, codeMask, codeSize, endOfInformation, inCode, oldCode, bits, code, count, i,… in decodeBitmapData() local
552 codeSize = dataSize + 1; in decodeBitmapData()
553 codeMask = (1 << codeSize) - 1; in decodeBitmapData()
579 while (bits >= codeSize) { in decodeBitmapData()
582 datum >>= codeSize; in decodeBitmapData() local
583 bits -= codeSize; in decodeBitmapData()
588 codeSize = dataSize + 1; in decodeBitmapData()
589 codeMask = (1 << codeSize) - 1; in decodeBitmapData()
628 codeSize++; in decodeBitmapData()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_serialize.cpp71 blob_write_uint32(blob, info_out->bin.codeSize); in nv50_ir_prog_info_out_serialize()
72 blob_write_bytes(blob, info_out->bin.code, info_out->bin.codeSize); in nv50_ir_prog_info_out_serialize()
169 info_out->bin.codeSize = blob_read_uint32(&reader); in nv50_ir_prog_info_out_deserialize()
170 info_out->bin.code = (uint32_t *)MALLOC(info_out->bin.codeSize); in nv50_ir_prog_info_out_deserialize()
171 blob_copy_bytes(&reader, info_out->bin.code, info_out->bin.codeSize); in nv50_ir_prog_info_out_deserialize()
Dnv50_ir_target.cpp194 codeSize = 0; in setCodeLocation()
201 uint32_t *bin = code - codeSize / 4; in printBinary()
202 INFO("program binary (%u bytes)", codeSize); in printBinary()
203 for (unsigned int pos = 0; pos < codeSize / 4; ++pos) { in printBinary()
423 relocInfo->entry[n].offset = codeSize + w * 4; in addReloc()
447 fixupInfo->entry[n] = FixupEntry(apply, ipa, reg, codeSize >> 2); in addInterp()
Dnv50_ir_target.h107 inline uint32_t getCodeSize() const { return codeSize; } in getCodeSize()
127 uint32_t codeSize; variable
Dnv50_ir_emit_gm107.cpp555 emitField(0x14, 24, pos - (codeSize + 8)); in emitBRA()
577 emitField(0x14, 24, insn->target.bb->binPos - (codeSize + 8)); in emitCAL()
601 emitField(0x14, 24, insn->target.bb->binPos - (codeSize + 8)); in emitPCNT()
623 emitField(0x14, 24, insn->target.bb->binPos - (codeSize + 8)); in emitPBK()
645 emitField(0x14, 24, insn->target.bb->binPos - (codeSize + 8)); in emitPRET()
667 emitField(0x14, 24, insn->target.bb->binPos - (codeSize + 8)); in emitSSY()
3394 const unsigned int size = (writeIssueDelays && !(codeSize & 0x1f)) ? 16 : 8; in emitInstruction()
3403 if (codeSize + size > codeSizeLimit) { in emitInstruction()
3409 int n = ((codeSize & 0x1f) / 8) - 1; in emitInstruction()
3415 codeSize += 8; in emitInstruction()
[all …]
Dnv50_ir_emit_gk110.cpp1558 int32_t pcRel = f->target.fn->binPos - (codeSize + 8); in emitFlow()
1564 int32_t pcRel = f->target.bb->binPos - (codeSize + 8); in emitFlow()
2469 const unsigned int size = (writeIssueDelays && !(codeSize & 0x3f)) ? 16 : 8; in emitInstruction()
2476 if (codeSize + size > codeSizeLimit) { in emitInstruction()
2482 int id = (codeSize & 0x3f) / 8 - 1; in emitInstruction()
2488 codeSize += 8; in emitInstruction()
2765 codeSize += 8; in emitInstruction()
2793 codeSize = codeSizeLimit = 0; in CodeEmitterGK110()
Dnv50_ir_driver.h146 uint32_t codeSize; member
Dnv50_ir_emit_nvc0.cpp1520 int32_t pcRel = f->target.fn->binPos - (codeSize + 8); in emitFlow()
1526 int32_t pcRel = f->target.bb->binPos - (codeSize + 8); in emitFlow()
2650 if (writeIssueDelays && !(codeSize & 0x3f)) in emitInstruction()
2657 if (codeSize + size > codeSizeLimit) { in emitInstruction()
2663 if (!(codeSize & 0x3f)) { in emitInstruction()
2667 codeSize += 8; in emitInstruction()
2669 const unsigned int id = (codeSize & 0x3f) / 8 - 1; in emitInstruction()
2949 codeSize += insn->encSize; in emitInstruction()
3518 codeSize = codeSizeLimit = 0; in CodeEmitterNVC0()
/external/emma/core/java12/com/vladium/jcd/cls/attribute/
DCodeAttribute_info.java196 public void setCode (final byte [] code, final int codeSize) in setCode() argument
199 m_codeSize = codeSize; in setCode()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DMethodDefinition.java535 … int codeSize = lastInstructionAddress + instructions.get(instructions.size() - 1).getCodeUnits(); in addTries() local
541 if (startAddress >= codeSize) { in addTries()
546 if (endAddress > codeSize) { in addTries()
563 if (handlerAddress >= codeSize) { in addTries()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_internal_shaders_autogen.cpp140 size_t codeSize; member
311 return InitShaderAndSerial(context, &shader.get(), shaderCode.code, shaderCode.codeSize); in GetShader()
/external/mesa3d/src/freedreno/vulkan/
Dtu_shader.c829 assert(pCreateInfo->codeSize % 4 == 0); in tu_CreateShaderModule()
832 sizeof(*module) + pCreateInfo->codeSize, in tu_CreateShaderModule()
837 module->code_size = pCreateInfo->codeSize; in tu_CreateShaderModule()
838 memcpy(module->code, pCreateInfo->pCode, pCreateInfo->codeSize); in tu_CreateShaderModule()
/external/skqp/src/compute/hs/vk/
Dhs_vk.c984 .codeSize = 0, in hs_vk_create()
995 uint32_t const * const module = smci.pCode + smci.codeSize / sizeof(*module); in hs_vk_create()
997 smci.codeSize = NTOHL_MACRO(module[0]); in hs_vk_create()
/external/freetype/src/truetype/
Dttinterp.h182 FT_Long codeSize; /* size of current range */ member
/external/skqp/src/gpu/vk/
DGrVkUtil.cpp229 moduleCreateInfo.codeSize = spirv.size(); in GrInstallVkShaderModule()
/external/skia/src/gpu/vk/
DGrVkUtil.cpp155 moduleCreateInfo.codeSize = spirv.size(); in GrInstallVkShaderModule()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_compiler.c134 *size = info_out.bin.codeSize; in nouveau_codegen()
/external/dng_sdk/source/
Ddng_read_image.cpp530 int32 codeSize = fCodeSize; in GetCodeWord() local
532 code = fBitBuffer >> (32 - codeSize); in GetCodeWord()
534 if (fBitBufferCount >= codeSize) in GetCodeWord()
539 fBitBuffer <<= codeSize; in GetCodeWord()
540 fBitBufferCount -= codeSize; in GetCodeWord()
583 const int32 bitsUsed = codeSize - bitsSoFar; in GetCodeWord()
/external/emma/core/java12/com/vladium/emma/instr/
DInstrVisitor.java711 final int codeSize = attribute.getCodeSize (); in visit() local
713 …race2) m_log.trace2 ("visit", "code attribute for method #" + m_methodID + ": size = " + codeSize); in visit()
743 for (int ip = 0; ip < codeSize; ) in visit()
950 _leaders [blockCount] = codeSize; in visit()
1116 int newcodeCapacity = codeSize << 1; in visit()
/external/vulkan-validation-layers/layers/
Dshader_validation.h172 : words(PreprocessShaderBinary((uint32_t *)pCreateInfo->pCode, pCreateInfo->codeSize, env)), in SHADER_MODULE_STATE()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.c397 prog->code_size = info_out.bin.codeSize; in nv50_program_translate()
446 info_out.bin.codeSize); in nv50_program_translate()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c244 smci.codeSize = spirv->num_words * sizeof(uint32_t); in zink_shader_compile()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCreationFeedbackTests.cpp252 deUint32 codeSize = (deUint32)m_context.getBinaryCollection().get(sourceName).getSize(); in bindShaderStage() local
259 codeSize, // deUintptr codeSize; in bindShaderStage()

123