/external/libcxx/test/algorithms/alg.modifying.operations/alg.unique/ |
H A D | unique_copy_pred.pass.cpp | 100 const unsigned sh = sizeof(ih)/sizeof(ih[0]); local 101 int jh[sh] = {-1}; 103 r = std::unique_copy(InIter(ih), InIter(ih+sh), OutIter(jh), count_equal()); 107 assert(count_equal::count == sh-1);
|
H A D | unique_pred.pass.cpp | 94 const unsigned sh = sizeof(ih)/sizeof(ih[0]); local 96 r = std::unique(Iter(ih), Iter(ih+sh), count_equal()); 100 assert(count_equal::count == sh-1); 189 const unsigned sh = sizeof(ih)/sizeof(ih[0]); local 191 r = std::unique(Iter(ih), Iter(ih+sh), count_equal()); 195 assert(count_equal::count == sh-1);
|
/external/libpcap/ |
H A D | pcap-snoop.c | 73 register struct snoopheader *sh; local 106 sh = (struct snoopheader *)p->buffer; 107 datalen = sh->snoop_packetlen; 119 cp = (u_char *)(sh + 1) + p->offset; /* XXX */ 136 h.ts.tv_sec = sh->snoop_timestamp.tv_sec; 137 h.ts.tv_usec = sh->snoop_timestamp.tv_usec;
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_state_derived.c | 210 unsigned i, sh; local 214 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) { 216 struct softpipe_tex_tile_cache *tc = softpipe->tex_cache[sh][i];
|
/external/mesa3d/src/mesa/main/ |
H A D | shared.c | 235 struct gl_shader *sh = (struct gl_shader *) data; local 236 if (sh->Type == GL_FRAGMENT_SHADER || sh->Type == GL_VERTEX_SHADER) { 237 ctx->Driver.DeleteShader(ctx, sh);
|
/external/valgrind/main/memcheck/tests/ |
H A D | sh-mem.c | 71 U1 sh[SZB_OF_a]; // Used for getting a[]'s V bits local 74 (void)VALGRIND_GET_VBITS(a, sh, sizeof(a)); 76 if ( expected_byte != sh[i] && expected_byte_alt != sh[i] ) { 79 str, offset, i, sh[i], expected_byte,
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
H A D | transform.c | 127 WebRtc_Word16 factQ19, sh; local 147 sh = WebRtcSpl_NormW32(xrQ16); 148 sh = sh-24; //if sh becomes >=0, then we should shift sh steps to the left, and the domain will become Q(16+sh) 149 //if sh becomes <0, then we should shift -sh steps to the right, and the domain will become Q(16+sh) 211 WebRtc_Word16 sh; local [all...] |
H A D | lattice.c | 115 WebRtc_Word16 sh; local 194 sh = 9-gain_sh; //number of needed shifts to reach Q9 195 t16a = (WebRtc_Word16) WEBRTC_SPL_SHIFT_W32(tmp32, sh); 237 WebRtc_Word16 sh; local 268 sh = WebRtcSpl_NormW32(tmp32); // tmp32 is the gain 269 den16 = (WebRtc_Word16) WEBRTC_SPL_SHIFT_W32(tmp32, sh-16); //Q(27+sh-16) = Q(sh+11) (all 16 bits are value bits) 270 inv_gain32 = WebRtcSpl_DivW32W16((WebRtc_Word32)2147483647, den16); // 1/gain in Q31/Q(sh+11) = Q(20-sh) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/imagebitmap/ |
H A D | ImageBitmapFactories.cpp | 86 ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLImageElement* image, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument 99 if (!sw || !sh) { 112 return fulfillImageBitmap(scriptState, ImageBitmap::create(image, IntRect(sx, sy, sw, sh))); 121 ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLVideoElement* video, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument 134 if (!sw || !sh) { 148 return fulfillImageBitmap(scriptState, ImageBitmap::create(video, IntRect(sx, sy, sw, sh))); 156 ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, CanvasRenderingContext2D* context, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument 158 return createImageBitmap(scriptState, eventTarget, context->canvas(), sx, sy, sw, sh, exceptionState); 166 ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLCanvasElement* canvas, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument 175 if (!sw || !sh) { 193 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, Blob* blob, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument 211 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, ImageData* data, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument 226 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, ImageBitmap* bitmap, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument [all...] |
/external/chromium_org/third_party/angle/src/compiler/translator/ |
H A D | StructureHLSL.cpp | 17 namespace sh namespace
|
H A D | UniformHLSL.cpp | 19 namespace sh namespace
|
H A D | VariableInfo.cpp | 12 namespace sh namespace 129 CollectVariables::CollectVariables(std::vector<sh::Attribute> *attribs, 130 std::vector<sh::Attribute> *outputVariables, 131 std::vector<sh::Uniform> *uniforms, 132 std::vector<sh::Varying> *varyings, 133 std::vector<sh::InterfaceBlock> *interfaceBlocks,
|
H A D | OutputHLSL.h | 19 namespace sh namespace
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | ProgramBinary.h | 32 namespace sh namespace 217 const sh::ShaderVariable &vertexVariable, 218 const sh::ShaderVariable &fragmentVariable, 221 static bool linkValidateUniforms(InfoLog &infoLog, const std::string &uniformName, const sh::Uniform &vertexUniform, const sh::Uniform &fragmentUniform); 222 static bool linkValidateVaryings(InfoLog &infoLog, const std::string &varyingName, const sh::Varying &vertexVarying, const sh::Varying &fragmentVarying); 223 static bool linkValidateInterfaceBlockFields(InfoLog &infoLog, const std::string &uniformName, const sh::InterfaceBlockField &vertexUniform, const sh::InterfaceBlockField &fragmentUniform); 225 void defineUniformBase(GLenum shader, const sh [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | shaders_cache.c | 256 int idx = 0, sh; local 260 sh = SHADERS_GET_PAINT_SHADER(id); 261 switch (sh << SHADERS_PAINT_SHIFT) { 267 shaders[idx] = &shaders_paint_asm[(sh >> SHADERS_PAINT_SHIFT) - 1]; 268 assert(shaders[idx]->id == sh); 276 sh = SHADERS_GET_IMAGE_SHADER(id); 277 switch (sh) { 281 shaders[idx] = &shaders_image_asm[(sh >> SHADERS_IMAGE_SHIFT) - 1]; 282 assert(shaders[idx]->id == sh); 290 assert(idx == ((!sh || s [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | st_extensions.c | 72 gl_shader_type sh; local 164 for (sh = 0; sh < MESA_SHADER_TYPES; ++sh) { 166 &st->ctx->ShaderCompilerOptions[sh]; 169 switch (sh) { 184 pc->MaxNativeInstructions = screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_MAX_INSTRUCTIONS); 185 pc->MaxNativeAluInstructions = screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_MAX_ALU_INSTRUCTIONS); 186 pc->MaxNativeTexInstructions = screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_MAX_TEX_INSTRUCTIONS); 187 pc->MaxNativeTexIndirections = screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_MAX_TEX_INDIRECTION [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | enhancer_interface.c | 59 int16_t ind, sh; local 162 sh = WEBRTC_SPL_MIN(31, totsh[ind]-totsh[i]); 164 WEBRTC_SPL_MUL_16_16_RSFT(corr16[i], en16[ind], sh)) { 168 sh = WEBRTC_SPL_MIN(31, totsh[i]-totsh[ind]); 169 if (WEBRTC_SPL_MUL_16_16_RSFT(corr16[ind], en16[i], sh) <
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
H A D | lattice.c | 112 int16_t sh; local 191 sh = 9-gain_sh; //number of needed shifts to reach Q9 192 t16a = (int16_t) WEBRTC_SPL_SHIFT_W32(tmp32, sh); 234 int16_t sh; local 265 sh = WebRtcSpl_NormW32(tmp32); // tmp32 is the gain 266 den16 = (int16_t) WEBRTC_SPL_SHIFT_W32(tmp32, sh-16); //Q(27+sh-16) = Q(sh+11) (all 16 bits are value bits) 267 inv_gain32 = WebRtcSpl_DivW32W16((int32_t)2147483647, den16); // 1/gain in Q31/Q(sh+11) = Q(20-sh) [all...] |
/external/clang/test/Sema/ |
H A D | MicrosoftExtensions.c | 73 short sh = (short)ptr; local 75 sh = (short)ptr;
|
/external/clang/test/SemaCXX/ |
H A D | conversion.cpp | 71 short sh = NULL; // expected-warning {{implicit conversion of NULL constant to 'short'}} local
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | shaders_cache.c | 256 int idx = 0, sh; local 260 sh = SHADERS_GET_PAINT_SHADER(id); 261 switch (sh << SHADERS_PAINT_SHIFT) { 267 shaders[idx] = &shaders_paint_asm[(sh >> SHADERS_PAINT_SHIFT) - 1]; 268 assert(shaders[idx]->id == sh); 276 sh = SHADERS_GET_IMAGE_SHADER(id); 277 switch (sh) { 281 shaders[idx] = &shaders_image_asm[(sh >> SHADERS_IMAGE_SHIFT) - 1]; 282 assert(shaders[idx]->id == sh); 290 assert(idx == ((!sh || s [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_extensions.c | 72 gl_shader_type sh; local 164 for (sh = 0; sh < MESA_SHADER_TYPES; ++sh) { 166 &st->ctx->ShaderCompilerOptions[sh]; 169 switch (sh) { 184 pc->MaxNativeInstructions = screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_MAX_INSTRUCTIONS); 185 pc->MaxNativeAluInstructions = screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_MAX_ALU_INSTRUCTIONS); 186 pc->MaxNativeTexInstructions = screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_MAX_TEX_INSTRUCTIONS); 187 pc->MaxNativeTexIndirections = screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_MAX_TEX_INDIRECTION [all...] |
/external/qemu/android/skin/ |
H A D | scaler.c | 91 int sh = srect->size.h; local 102 drect->size.h = (int)(ceil((sy + sh) * scale + scaler->ydisp)) - drect->pos.y; 112 int sh ) 134 op.rd.h = (int)(ceil((sy + sh) * scaler->scale + scaler->ydisp)) - op.rd.y;
|
/external/valgrind/main/VEX/priv/ |
H A D | guest_ppc_helpers.c | 127 UInt vD_off, UInt sh, UInt shift_right ) 138 vassert( sh <= 15 ); 141 sh = 16-sh; 144 pU128_src = (U128*)&ref[sh]; 156 UInt vD_off, UInt sh, UInt shift_right ) 173 vassert( sh <= 15 ); 176 sh = 16-sh; 179 pU128_src = (U128*)&ref[sh]; 126 ppc32g_dirtyhelper_LVS( VexGuestPPC32State* gst, UInt vD_off, UInt sh, UInt shift_right ) argument 155 ppc64g_dirtyhelper_LVS( VexGuestPPC64State* gst, UInt vD_off, UInt sh, UInt shift_right ) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | uniform_query.cpp | 781 struct gl_shader *const sh = shProg->_LinkedShaders[i]; local 786 if (sh == NULL || sh->active_samplers == 0) 789 struct gl_program *const prog = sh->Program; 798 if ((sh->active_samplers & (1U << j)) != 0
|