Home
last modified time | relevance | path

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

/external/llvm/lib/Fuzzer/
DFuzzerLoop.cpp78 if (CurrentUnit.size() <= kMaxUnitSizeToPrint) { in DeathCallback()
79 Print(CurrentUnit, "\n"); in DeathCallback()
80 PrintUnitInASCII(CurrentUnit, "\n"); in DeathCallback()
82 WriteUnitToFileWithPrefix(CurrentUnit, "crash-"); in DeathCallback()
101 if (CurrentUnit.size() <= kMaxUnitSizeToPrint) { in AlarmCallback()
102 Print(CurrentUnit, "\n"); in AlarmCallback()
103 PrintUnitInASCII(CurrentUnit, "\n"); in AlarmCallback()
105 WriteUnitToFileWithPrefix(CurrentUnit, "timeout-"); in AlarmCallback()
162 CurrentUnit.clear(); in RereadOutputCorpus()
163 CurrentUnit.insert(CurrentUnit.begin(), X.begin(), X.end()); in RereadOutputCorpus()
[all …]
DFuzzerTraceState.cpp175 TraceState(const Fuzzer::FuzzingOptions &Options, const Unit &CurrentUnit) in TraceState() argument
176 : Options(Options), CurrentUnit(CurrentUnit) {} in TraceState()
215 const Unit &CurrentUnit; member in fuzzer::TraceState
296 const uint8_t *Beg = CurrentUnit.data(); in TryToAddDesiredData()
297 const uint8_t *End = Beg + CurrentUnit.size(); in TryToAddDesiredData()
303 assert(Pos < CurrentUnit.size()); in TryToAddDesiredData()
354 dfsan_set_label(i + 1, &CurrentUnit[i], 1); in StartTraceRecording()
370 TS = new TraceState(Options, CurrentUnit); in InitializeTraceState()
371 CurrentUnit.resize(Options.MaxLen); in InitializeTraceState()
DFuzzerInternal.h166 Unit CurrentUnit; variable
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_state.c237 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_enable()
238 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_enable()
244 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); in nouveau_enable()
383 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); in nouveau_tex_gen()
387 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); in nouveau_tex_gen()
398 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_tex_env()
401 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_tex_env()
420 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_tex_parameter()
427 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_tex_parameter()
Dnouveau_texture.c539 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_teximage()
540 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_teximage()
637 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_bind_texture()
638 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_bind_texture()
689 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_set_texbuffer()
690 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_set_texbuffer()
/external/mesa3d/src/mesa/main/
Dtexstate.h46 ASSERT(ctx->Texture.CurrentUnit < Elements(ctx->Texture.Unit)); in _mesa_get_current_tex_unit()
47 return &(ctx->Texture.Unit[ctx->Texture.CurrentUnit]); in _mesa_get_current_tex_unit()
Dmatrix.c172 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in _mesa_MatrixMode()
175 ctx->Texture.CurrentUnit); in _mesa_MatrixMode()
179 ASSERT(ctx->Texture.CurrentUnit < Elements(ctx->TextureMatrixStack)); in _mesa_MatrixMode()
180 ctx->CurrentStack = &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit]; in _mesa_MatrixMode()
255 ctx->Texture.CurrentUnit); in _mesa_PushMatrix()
295 ctx->Texture.CurrentUnit); in _mesa_PopMatrix()
Dtexgen.c89 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in _mesa_TexGenfv()
304 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in _mesa_GetTexGendv()
342 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in _mesa_GetTexGenfv()
388 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in _mesa_GetTexGeniv()
Dtexenv.c401 if (ctx->Texture.CurrentUnit >= maxUnit) { in _mesa_TexEnvfv()
494 if (ctx->Point.CoordReplace[ctx->Texture.CurrentUnit] == state) in _mesa_TexEnvfv()
497 ctx->Point.CoordReplace[ctx->Texture.CurrentUnit] = state; in _mesa_TexEnvfv()
674 if (ctx->Texture.CurrentUnit >= maxUnit) { in _mesa_GetTexEnvfv()
714 *params = (GLfloat) ctx->Point.CoordReplace[ctx->Texture.CurrentUnit]; in _mesa_GetTexEnvfv()
738 if (ctx->Texture.CurrentUnit >= maxUnit) { in _mesa_GetTexEnviv()
776 *params = (GLint) ctx->Point.CoordReplace[ctx->Texture.CurrentUnit]; in _mesa_GetTexEnviv()
Dtexstate.c74 dst->Texture.CurrentUnit = src->Texture.CurrentUnit; in _mesa_copy_texture_state()
313 if (ctx->Texture.CurrentUnit == texUnit) in _mesa_ActiveTextureARB()
318 ctx->Texture.CurrentUnit = texUnit; in _mesa_ActiveTextureARB()
801 ctx->Texture.CurrentUnit = 0; /* multitexture */ in _mesa_init_texture()
Dget.c1533 unit = ctx->Texture.CurrentUnit; in find_custom_value()
1541 unit = ctx->Texture.CurrentUnit; in find_custom_value()
1571 unit = ctx->Texture.CurrentUnit; in find_custom_value()
1575 unit = ctx->Texture.CurrentUnit; in find_custom_value()
1588 v->value_int = GL_TEXTURE0_ARB + ctx->Texture.CurrentUnit; in find_custom_value()
1701 unit = ctx->Texture.CurrentUnit; in find_custom_value()
1818 unit = ctx->Texture.CurrentUnit; in find_custom_value()
1825 ctx->Texture.Unit[ctx->Texture.CurrentUnit] in find_custom_value()
1831 v->value_int = ctx->Texture.Unit[ctx->Texture.CurrentUnit] in find_custom_value()
1839 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler; in find_custom_value()
[all …]
Denable.c222 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in get_texcoord_unit()
227 return &ctx->Texture.Unit[ctx->Texture.CurrentUnit]; in get_texcoord_unit()
1211 &ctx->Texture.Unit[ctx->Texture.CurrentUnit]; in is_texture_enabled()
Deval.c394 if (ctx->Texture.CurrentUnit != 0) { in map1()
488 if (ctx->Texture.CurrentUnit != 0) { in map2()
Dtexparam.c124 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) { in get_texobj()
1253 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) { in _mesa_GetTexLevelParameteriv()
Dattrib.c491 const GLuint curTexUnitSave = ctx->Texture.CurrentUnit; in pop_enable_group()
824 _mesa_ActiveTextureARB(GL_TEXTURE0_ARB + texstate->Texture.CurrentUnit); in pop_texture_group()
Dmtypes.h1437 GLuint CurrentUnit; /**< GL_ACTIVE_TEXTURE */ member
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp3289 for (auto &CurrentUnit : CompileUnits) { in cloneAllCompileUnits() local
3290 const auto *InputDIE = CurrentUnit.getOrigUnit().getUnitDIE(); in cloneAllCompileUnits()
3291 CurrentUnit.setStartOffset(Linker.OutputDebugInfoSize); in cloneAllCompileUnits()
3292 DIE *OutputDIE = cloneDIE(*InputDIE, CurrentUnit, 0 /* PC offset */, in cloneAllCompileUnits()
3294 CurrentUnit.setOutputUnitDIE(OutputDIE); in cloneAllCompileUnits()
3295 Linker.OutputDebugInfoSize = CurrentUnit.computeNextUnitOffset(); in cloneAllCompileUnits()
3301 Linker.patchLineTableForUnit(CurrentUnit, DwarfContext); in cloneAllCompileUnits()
3304 Linker.patchRangesForUnit(CurrentUnit, DwarfContext); in cloneAllCompileUnits()
3305 Linker.Streamer->emitLocationsForUnit(CurrentUnit, DwarfContext); in cloneAllCompileUnits()
3306 Linker.emitAcceleratorEntriesForUnit(CurrentUnit); in cloneAllCompileUnits()
[all …]
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c659 save->ActiveUnit = ctx->Texture.CurrentUnit; in _mesa_meta_begin()
708 GLuint activeTexture = ctx->Texture.CurrentUnit; in _mesa_meta_begin()
1010 ASSERT(ctx->Texture.CurrentUnit == 0); in _mesa_meta_end()
1048 GLuint activeTexture = ctx->Texture.CurrentUnit; in _mesa_meta_end()
1450 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler ? in blitframebuffer_texture()
1451 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler->Name : 0; in blitframebuffer_texture()
1467 _mesa_BindSampler(ctx->Texture.CurrentUnit, sampler); in blitframebuffer_texture()
1557 _mesa_BindSampler(ctx->Texture.CurrentUnit, samplerSave); in blitframebuffer_texture()
3247 const GLuint currentTexUnitSave = ctx->Texture.CurrentUnit; in _mesa_meta_GenerateMipmap()
3287 samplerSave = ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler ? in _mesa_meta_GenerateMipmap()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex.c262 GLuint unit = ctx->Texture.CurrentUnit; in radeonTexEnv()
398 GLuint unit = ctx->Texture.CurrentUnit; in radeonTexGen()
Dradeon_state.c1778 rmesa->recheck_texgen[ctx->Texture.CurrentUnit] = GL_TRUE; in radeonEnable()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tex.c302 GLuint unit = ctx->Texture.CurrentUnit; in r200TexEnv()
455 GLuint unit = ctx->Texture.CurrentUnit; in r200TexGen()
Dr200_texstate.c745 texUnit = &radeon->glCtx->Texture.Unit[radeon->glCtx->Texture.CurrentUnit]; in r200SetTexBuffer2()
Dr200_state.c1988 rmesa->recheck_texgen[ctx->Texture.CurrentUnit] = GL_TRUE; in r200Enable()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c1127 GLuint unit = MIN2(ctx->Texture.CurrentUnit, in _mesa_load_tracked_matrices()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c1657 const GLuint unit = ctx->Texture.CurrentUnit; in XMesaBindTexImage()