/external/mesa3d/src/mesa/main/ |
H A D | texstate.c | 79 /* per-unit state */ 122 _mesa_print_texunit_state( struct gl_context *ctx, GLuint unit ) 124 const struct gl_texture_unit *texUnit = ctx->Texture.Unit + unit; 125 printf("Texture Unit %d\n", unit); 160 * texture unit. 386 * Examine texture unit's combine/env state to update derived state. 495 GLuint unit; local 531 * Update texture unit state. 533 for (unit = 0; unit < ct [all...] |
/external/mesa3d/src/mesa/program/ |
H A D | prog_statevars.c | 205 /* state[1] is the texture unit */ 206 const GLuint unit = (GLuint) state[1]; local 210 COPY_4V(value, ctx->Texture.Unit[unit].GenS.EyePlane); 213 COPY_4V(value, ctx->Texture.Unit[unit].GenT.EyePlane); 216 COPY_4V(value, ctx->Texture.Unit[unit].GenR.EyePlane); 219 COPY_4V(value, ctx->Texture.Unit[unit].GenQ.EyePlane); 222 COPY_4V(value, ctx->Texture.Unit[unit].GenS.ObjectPlane); 225 COPY_4V(value, ctx->Texture.Unit[unit].GenT.ObjectPlane); 228 COPY_4V(value, ctx->Texture.Unit[unit].GenR.ObjectPlane); 231 COPY_4V(value, ctx->Texture.Unit[unit] 241 const GLuint unit = (GLuint) state[1]; local 438 const int unit = (int) state[2]; local 581 const int unit = (int) state[2]; local 592 const int unit = (int) state[2]; local 1127 GLuint unit = MIN2(ctx->Texture.CurrentUnit, local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_texture.c | 268 GLuint unit, new_count; local 276 for (unit = 0; unit < max_units; unit++, samplers_used >>= 1) { 280 const GLuint texUnit = prog->SamplerUnits[unit]; 287 *num_textures = unit + 1; 289 else if (samplers_used == 0 && unit >= old_max) { 294 pipe_sampler_view_reference(&(sampler_views[unit]), sampler_view);
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_atifragshader.c | 48 GLuint unit, GLfloat color[4]) 53 swrast->TextureSample[unit](ctx, _mesa_get_samplerobj(ctx, unit), 54 ctx->Texture.Unit[unit]._Current, 281 /* sample from unit idx using texinst->src as coords */ 47 fetch_texel(struct gl_context * ctx, const GLfloat texcoord[4], GLfloat lambda, GLuint unit, GLfloat color[4]) argument
|
H A D | s_texcombine.c | 47 * Return array of texels for given unit. 50 get_texel_array(SWcontext *swrast, GLuint unit) argument 53 return (float4_array) (swrast->TexelBuffer + unit * SWRAST_MAX_WIDTH * 4 * omp_get_num_threads() + (SWRAST_MAX_WIDTH * 4 * omp_get_thread_num())); 55 return (float4_array) (swrast->TexelBuffer + unit * SWRAST_MAX_WIDTH * 4); 72 * \param unit the texture combiner unit 81 texture_combine( struct gl_context *ctx, GLuint unit, argument 87 const struct gl_texture_unit *textureUnit = &(ctx->Texture.Unit[unit]); 146 argRGB[term] = get_texel_array(swrast, unit); 242 argA[term] = get_texel_array(swrast, unit); 600 GLuint unit; local [all...] |
H A D | s_texture.c | 299 GLuint unit = ffs(enabledUnits) - 1; local 300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 304 enabledUnits &= ~(1 << unit); 319 GLuint unit = ffs(enabledUnits) - 1; local 320 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 324 enabledUnits &= ~(1 << unit);
|
/external/mesa3d/src/mesa/tnl/ |
H A D | t_rasterpos.c | 255 * \param unit texture unit number 260 const GLfloat normal[3], GLuint unit, GLfloat texcoord[4]) 262 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 259 compute_texgen(struct gl_context *ctx, const GLfloat vObj[4], const GLfloat vEye[4], const GLfloat normal[3], GLuint unit, GLfloat texcoord[4]) argument
|
H A D | t_vb_program.c | 196 GLuint unit, GLfloat color[4]) 201 swrast->TextureSample[unit](ctx, _mesa_get_samplerobj(ctx, unit), 202 ctx->Texture.Unit[unit]._Current, 195 vp_fetch_texel(struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, GLuint unit, GLfloat color[4]) argument
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
H A D | MockResponse.java | 236 public MockResponse throttleBody(int bytesPerPeriod, long period, TimeUnit unit) { argument 239 this.throttleUnit = unit;
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
H A D | MockResponse.java | 221 public MockResponse throttleBody(int bytesPerPeriod, long period, TimeUnit unit) { argument 224 this.throttleUnit = unit;
|
/external/pdfium/core/src/fxcrt/ |
H A D | fx_basic_memmgr.cpp | 114 void* FXMEM_DefaultAlloc2(size_t size, size_t unit, int flags)
argument 116 return g_pDefFoxitMgr->Alloc(size * unit, flags);
125 void* FXMEM_DefaultRealloc2(void* p, size_t size, size_t unit, int flags)
argument 128 return FXMEM_DefaultAlloc2(size, unit, flags);
130 return g_pDefFoxitMgr->Realloc(p, size * unit, flags);
136 void* FXMEM_DefaultAllocDebug2(size_t size, size_t unit, int flags, FX_LPCSTR file, int line)
argument 138 return g_pDefFoxitMgr->AllocDebug(size * unit, flags, file, line);
147 void* FXMEM_DefaultReallocDebug2(void* p, size_t size, size_t unit, int flags, FX_LPCSTR file, int line)
argument 150 return FXMEM_DefaultAllocDebug2(size, unit, flags, file, line);
152 return g_pDefFoxitMgr->ReallocDebug(p, size * unit, flag [all...] |
/external/pixman/pixman/ |
H A D | pixman-radial-gradient.c | 252 pixman_vector_t v, unit; local 266 unit.vector[0] = image->common.transform->matrix[0][0]; 267 unit.vector[1] = image->common.transform->matrix[1][0]; 268 unit.vector[2] = image->common.transform->matrix[2][0]; 272 unit.vector[0] = pixman_fixed_1; 273 unit.vector[1] = 0; 274 unit.vector[2] = 0; 277 if (unit.vector[2] == 0 && v.vector[2] == pixman_fixed_1) 316 db = dot (unit.vector[0], unit [all...] |
/external/ppp/pppd/ |
H A D | fsm.h | 67 int unit; /* Interface unit number */ member in struct:fsm 168 extern int peer_mru[]; /* currently negotiated peer MRU (per unit) */
|
/external/qemu/ |
H A D | blockdev.c | 62 DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit) argument 66 /* seek interface, bus and unit */ 71 dinfo->unit == unit) 173 unit_id = qemu_opt_get_number(opts, "unit", -1); 347 /* compute bus and unit according index */ 352 "qemu: index cannot be used with bus and unit\n"); 380 /* check unit id */ 383 fprintf(stderr, "qemu: unit %d too big (max is %d)\n", 418 dinfo->unit [all...] |
/external/chromium_org/media/base/android/ |
H A D | media_decoder_job.cc | 233 MediaCodecStatus MediaDecoderJob::QueueInputBuffer(const AccessUnit& unit) { argument 255 if (unit.end_of_stream || unit.data.empty()) { 260 if (unit.key_id.empty() || unit.iv.empty()) { 261 DCHECK(unit.iv.empty() || !unit.key_id.empty()); 263 input_buf_index, &unit.data[0], unit.data.size(), unit 362 DecodeInternal( const AccessUnit& unit, base::TimeTicks start_time_ticks, base::TimeDelta start_presentation_timestamp, bool needs_flush, const MediaDecoderJob::DecoderCallback& callback) argument [all...] |
/external/chromium_org/native_client_sdk/src/examples/api/media_stream_video/ |
H A D | media_stream_video.cc | 74 GLuint CreateTexture(int32_t width, int32_t height, int unit, bool rgba); 295 int32_t width, int32_t height, int unit, bool rgba) { 301 glActiveTexture(GL_TEXTURE0 + unit); 294 CreateTexture( int32_t width, int32_t height, int unit, bool rgba) argument
|
/external/chromium_org/ppapi/examples/media_stream_video/ |
H A D | media_stream_video.cc | 74 GLuint CreateTexture(int32_t width, int32_t height, int unit, bool rgba); 295 int32_t width, int32_t height, int unit, bool rgba) { 301 glActiveTexture(GL_TEXTURE0 + unit); 294 CreateTexture( int32_t width, int32_t height, int unit, bool rgba) argument
|
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
H A D | CSSParserValues.h | 156 int unit; member in struct:blink::CSSParserValue 158 inline void setFromNumber(double value, int unit = CSSPrimitiveValue::CSS_NUMBER); 259 inline void CSSParserValue::setFromNumber(double value, int unit) argument 267 this->unit = unit; 274 unit = Function; 282 unit = ValueList;
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | stringtriebuilder.cpp | 138 // Branch on the middle unit. 139 // First, find the middle unit. 142 middleUnits[ltLength]=getElementUnit(i, unitIndex); // middle unit 149 // For each unit, find its elements array start and whether it has a final value. 155 UChar unit=getElementUnit(i++, unitIndex); local 156 i=indexOfElementWithNextUnit(i, unitIndex, unit); 179 // Write the rest of this node's unit-value pairs. 184 // Write the final value for the one string ending with this unit. 267 // Branch on the middle unit. 268 // First, find the middle unit 290 UChar unit=getElementUnit(i++, unitIndex); local 300 UChar unit=getElementUnit(start, unitIndex); local [all...] |
H A D | ucharstriebuilder.cpp | 30 * of the 16-bit-unit sequences, until the UCharsTrie is built. 57 // The first strings unit contains the string length. 71 // Too long: We store the length in 1 unit. 258 UChar unit=elements[i++].charAt(unitIndex, strings); local 259 while(i<limit && unit==elements[i].charAt(unitIndex, strings)) { 270 UChar unit=elements[i++].charAt(unitIndex, strings); local 271 while(unit==elements[i].charAt(unitIndex, strings)) { 279 UCharsTrieBuilder::indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, UChar unit) const { 280 while(unit==elements[i].charAt(unitIndex, strings)) { 348 UCharsTrieBuilder::write(int32_t unit) { argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_tgsi_aos.c | 363 unsigned unit; local 381 unit = inst->Src[3].Register.Index; 391 unit = inst->Src[1].Register.Index; 396 target, unit,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
H A D | i915_fpc_translate.c | 159 static uint get_mapping(struct i915_fragment_shader* fs, int unit) argument 165 fs->generic_mapping[i] = unit; 168 if (fs->generic_mapping[i] == unit) 419 uint unit = inst->Src[1].Register.Index; local 421 uint sampler = i915_emit_decl(p, REG_TYPE_S, unit, tex);
|
H A D | i915_state_emit.c | 248 uint unit; local 254 for (unit = 0; unit < I915_TEX_UNITS; unit++) { 255 if (enabled & (1 << unit)) { 256 tex = i915_texture(i915->fragment_sampler_views[unit]->texture); 268 uint unit; local 272 for (unit = 0; unit < I915_TEX_UNITS; unit [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | uniform_query.cpp | 694 * "Setting a sampler's value to i selects texture image unit number 715 /* check that the sampler (tex unit index) is legal */ 718 "glUniform1i(invalid sampler/tex unit index for " 1058 const unsigned unit = storage->storage[j].i; local 1061 * unit must be an exact match. Page 74 (page 89 of the PDF) of the 1065 * types pointing to the same texture image unit within a program 1068 if (unit_types[unit] == NULL) { 1069 unit_types[unit] = t; 1070 } else if (unit_types[unit] != t) { 1072 "Texture unit [all...] |
/external/chromium_org/third_party/skia/src/views/ |
H A D | SkTouchGesture.cpp | 40 static void unit_axis_align(SkVector* unit) { argument 42 if (SkScalarAbs(unit->fX) < TOLERANCE) { 43 unit->fX = 0; 44 unit->fY = SkScalarSignNonZero(unit->fY); 45 } else if (SkScalarAbs(unit->fY) < TOLERANCE) { 46 unit->fX = SkScalarSignNonZero(unit->fX); 47 unit->fY = 0;
|