/external/adhd/cras/src/server/ |
H A D | buffer_share.c | 12 static inline struct id_offset *find_unused(const struct buffer_share *mix) argument 16 for (i = 0; i < mix->id_sz; i++) { 17 if (!mix->wr_idx[i].used) 18 return &mix->wr_idx[i]; 25 static inline struct id_offset *find_id(const struct buffer_share *mix, argument 30 for (i = 0; i < mix->id_sz; i++) { 31 if (mix->wr_idx[i].used && id == mix->wr_idx[i].id) 32 return &mix->wr_idx[i]; 38 static void alloc_more_ids(struct buffer_share *mix) argument 53 struct buffer_share *mix; local 63 buffer_share_destroy(struct buffer_share *mix) argument 71 buffer_share_add_id(struct buffer_share *mix, unsigned int id, void *data) argument 92 buffer_share_rm_id(struct buffer_share *mix, unsigned int id) argument 105 buffer_share_offset_update(struct buffer_share *mix, unsigned int id, unsigned int delta) argument 121 buffer_share_get_new_write_point(struct buffer_share *mix) argument 145 get_id_offset(const struct buffer_share *mix, unsigned int id) argument 159 buffer_share_id_offset(const struct buffer_share *mix, unsigned int id) argument 166 buffer_share_get_data(const struct buffer_share *mix, unsigned int id) argument [all...] |
H A D | buffer_share.h | 31 void buffer_share_destroy(struct buffer_share *mix); 34 int buffer_share_add_id(struct buffer_share *mix, unsigned int id, void *data); 37 int buffer_share_rm_id(struct buffer_share *mix, unsigned int id); 40 int buffer_share_offset_update(struct buffer_share *mix, unsigned int id, 47 unsigned int buffer_share_get_new_write_point(struct buffer_share *mix); 53 unsigned int buffer_share_id_offset(const struct buffer_share *mix, 59 void *buffer_share_get_data(const struct buffer_share *mix,
|
/external/clang/test/CodeGen/ |
H A D | pragma-weak.c | 96 void mix(void); 97 #pragma weak mix macro 98 __attribute((weak)) void mix(void) { } function 99 // CHECK-LABEL: define weak void @mix()
|
/external/llvm/test/MC/AsmParser/ |
H A D | macros-argument-parsing-diagnostics.s | 16 # CHECK: error: cannot mix positional and keyword arguments
|
/external/mesa3d/docs/specs/ |
H A D | EXT_shader_integer_mix.spec | 41 GLSL 1.30 (and GLSL ES 3.00) expanded the mix() built-in function to 43 selects. This extension extends mix() to select between int, uint, 62 genIType mix(genIType x, Selects which vector each returned component comes 65 genUType mix(genUType x, component of a that is true, the corresponding 68 genBType mix(genBType x, 118 2) Should we allow mix() to select between boolean components? 136 2 08/26/2013 mattst88 Change vendor prefix to MESA. Add mix() that
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | stateless_random_ops.cc | 76 const auto mix = random::PhiloxRandom(counter, key)(); variable 77 key[0] = mix[0]; 78 key[1] = mix[1]; 80 counter[2] = mix[2]; 81 counter[3] = mix[3];
|
/external/clang/test/CXX/except/except.spec/ |
H A D | p1.cpp | 44 namespace mix { namespace
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
H A D | compatibility.hpp | 64 template <typename T> GLM_FUNC_QUALIFIER T lerp(T x, T y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) 65 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec2<T, P> lerp(const detail::tvec2<T, P>& x, const detail::tvec2<T, P>& y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) 67 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec3<T, P> lerp(const detail::tvec3<T, P>& x, const detail::tvec3<T, P>& y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) 68 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec4<T, P> lerp(const detail::tvec4<T, P>& x, const detail::tvec4<T, P>& y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) 69 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec2<T, P> lerp(const detail::tvec2<T, P>& x, const detail::tvec2<T, P>& y, const detail::tvec2<T, P>& a){return mix(x, y, a);} //!< \brief Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) 70 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec3<T, P> lerp(const detail::tvec3<T, P>& x, const detail::tvec3<T, P>& y, const detail::tvec3<T, P>& a){return mix(x, y, a);} //!< \brief Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) 71 template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec4<T, P> lerp(const detail::tvec4<T, P>& x, const detail::tvec4<T, P>& y, const detail::tvec4<T, P>& a){return mix(x, y, a);} //!< \brief Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) 73 template <typename T, precision P> GLM_FUNC_QUALIFIER T slerp(detail::tquat<T, P> const & x, detail::tquat<T, P> const & y, T const & a){return mix(x, y, a);} //!< \brief Returns the slurp interpolation between two quaternions.
|
H A D | simd_quat.hpp | 226 detail::fquatSIMD mix( 260 /// This is the same as mix(), except for two rules: 267 /// @see - mix(detail::fquatSIMD const & x, detail::fquatSIMD const & y, T const & a)
|
/external/adhd/cras/src/tests/ |
H A D | rstream_unittest.cc | 221 void buffer_share_destroy(struct buffer_share *mix) { argument 224 int buffer_share_offset_update(struct buffer_share *mix, unsigned int id, argument 229 unsigned int buffer_share_get_new_write_point(struct buffer_share *mix) { argument 233 int buffer_share_add_id(struct buffer_share *mix, unsigned int id) { argument 237 int buffer_share_rm_id(struct buffer_share *mix, unsigned int id) { argument 241 unsigned int buffer_share_id_offset(const struct buffer_share *mix, argument
|
/external/libnl/lib/ |
H A D | hash.c | 11 hash_word(), hashlittle(), hashlittle2(), hashbig(), mix(), and final() 25 mix(a,b,c); 27 mix(a,b,c); 33 a mix of things, see the comments above hashlittle(). 36 then mix those integers. This is fast (you can do a lot more thorough 59 mix -- mix 3 32-bit values reversibly. 61 This is reversible, so any information in (a,b,c) before mix() is 62 still in (a,b,c) after mix(). 64 If four pairs of (a,b,c) inputs are run through mix(), o 101 #define mix macro [all...] |
/external/toybox/toys/posix/ |
H A D | ps.c | 1377 } plist[2], *plold, *plnew, old, new, mix; local 1417 // Collate old and new into "mix", depends on /proc read in pid sort order 1420 mix.tb = xmalloc((old.count+new.count)*sizeof(struct procpid)); 1421 mix.count = 0; 1436 if (!old.count || *otb->slot > *ntb->slot) mix.tb[mix.count] = ntb; 1440 mix.tb[mix.count] = otb; 1441 mix.count++; 1455 qsort(mix [all...] |
/external/vulkan-validation-layers/libs/glm/detail/ |
H A D | func_common.hpp | 233 /// genType mix(genType x, genType y, genType(a)) 236 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/mix.xml">GLSL mix man page</a> 256 /// glm::vec4 r = glm::mix(g, h, a); // Interpolate with a floating-point scalar two vectors. 257 /// glm::vec4 s = glm::mix(g, h, b); // Teturns g or h; 258 /// glm::dvec3 t = glm::mix(e, f, a); // Types of the third parameter is not required to match with the first and the second. 259 /// glm::vec4 u = glm::mix(g, h, r); // Interpolations can be perform per component with a vector for the last parameter. 262 GLM_FUNC_DECL vecType<T, P> mix( 268 GLM_FUNC_DECL vecType<T, P> mix( 274 GLM_FUNC_DECL genTypeT mix( [all...] |
/external/elfutils/libdwfl/ |
H A D | dwfl_segment_report_module.c | 173 for (size_t mix = 0; mix < count; mix++) 181 firstix = lastix = mix; 183 lastix = mix; 191 for (ssize_t mix = 0; mix <= lastix; mix++) 196 if (mix == firstix) 198 if (firstix < mix [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | Hashing.h | 265 /// This effectively performs the initial mix. 271 state.mix(s); 288 /// We mix all 64 bytes even when the chunk length is smaller, but we 290 void mix(const char *s) { function in struct:llvm::hashing::detail::hash_state 426 // a mix of the last 64-bytes. That is how the algorithm works when we 431 state.mix(buffer); 460 state.mix(s_begin); 464 state.mix(s_end - 64); 526 // either initialize the hash state (on the first full buffer) or mix 534 state.mix(buffe [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | Hashing.h | 265 /// This effectively performs the initial mix. 271 state.mix(s); 288 /// We mix all 64 bytes even when the chunk length is smaller, but we 290 void mix(const char *s) { function in struct:llvm::hashing::detail::hash_state 426 // a mix of the last 64-bytes. That is how the algorithm works when we 431 state.mix(buffer); 460 state.mix(s_begin); 464 state.mix(s_end - 64); 526 // either initialize the hash state (on the first full buffer) or mix 534 state.mix(buffe [all...] |
/external/deqp/framework/referencerenderer/ |
H A D | rrRenderer.cpp | 249 const ClipVec4 clippedV0 = tcu::mix(v0, v1, ComponentPlane<+1, CompNdx>().clipLineSegmentEnd(v0, v1)); 250 const ClipVec4 clippedV1 = tcu::mix(v0, v1, ComponentPlane<-1, CompNdx>().clipLineSegmentEnd(v0, v1)); 255 return tcu::mix(clippedV0, clippedV1, clipRatio); 259 return tcu::mix(clippedV1, clippedV0, complementClipRatio); 297 const ClipVec4 approximatedClipPoint = tcu::mix(inside.position, outside.position, hitDist); 301 middle.weight[0] = tcu::mix(inside.weight[0], outside.weight[0], hitDist); 302 middle.weight[1] = tcu::mix(inside.weight[1], outside.weight[1], hitDist); 303 middle.weight[2] = tcu::mix(inside.weight[2], outside.weight[2], hitDist); 321 const ClipVec4 approximatedClipPoint = tcu::mix(inside.position, outside.position, hitDist); 325 middle.weight[0] = tcu::mix(insid [all...] |
/external/skia/src/gpu/effects/ |
H A D | GrMagnifierEffect.fp | 41 sk_OutColor = texture(src, mix(coord, zoom_coord, weight));
|
/external/skqp/src/gpu/effects/ |
H A D | GrMagnifierEffect.fp | 41 sk_OutColor = texture(src, mix(coord, zoom_coord, weight));
|
/external/selinux/libsepol/src/ |
H A D | avtab.c | 66 #define mix(input) { \ macro 76 mix(keyp->target_class); 77 mix(keyp->target_type); 78 mix(keyp->source_type); 80 #undef mix macro
|
/external/opencv/cvaux/src/ |
H A D | cvhmm1d.cpp | 169 obs->mix = (int*)icvAlloc( total * sizeof(int) ); 183 icvFree( &(obs_info->mix) ); 384 samples_mix[state][counter[state]] = &(obs->mix[i]); 924 info->mix[i] = 0; 935 info->mix[i] = m; 1035 mixture = info->mix[i]; 1064 int mixture = info->mix[j];
|
H A D | cvhmm.cpp | 82 obs->mix = (int*)cvAlloc( total * sizeof(int) ); 96 cvFree( &(obs_info->mix) ); 452 samples_mix[state][counter[state]] = &(obs->mix[i]); 1027 info->mix[counter] = 0; 1038 info->mix[counter] = m; 1071 info->mix[counter] = 0; 1083 info->mix[counter] = m; 1408 mixture = info->mix[i]; 1437 int mixture = info->mix[j];
|
/external/webrtc/webrtc/voice_engine/ |
H A D | transmit_mixer.h | 134 void SetMixWithMicStatus(bool mix);
|
/external/webp/src/enc/ |
H A D | histogram_enc.c | 172 double mix; local 178 // Let's mix in a bit of entropy to favor good clustering when 188 mix = 0.95; 190 mix = 0.7; // nonzeros == 4. 193 mix = 0.627; 198 min_limit = mix * min_limit + (1.0 - mix) * entropy->entropy;
|
/external/deqp/framework/common/ |
H A D | tcuVectorUtil.hpp | 69 inline float mix (float x, float y, float a) { return x * (1.0f - a) + y * a; } function in namespace:tcu 79 inline double mix (double x, double y, double a) { return x * (1.0 - a) + y * a; } function in namespace:tcu 205 Vector<float, Size> mix (const Vector<float, Size>& x, const Vector<float, Size>& y, float a) function in namespace:tcu 214 Vector<double, Size> mix (const Vector<double, Size>& x, const Vector<double, Size>& y, double a) function in namespace:tcu 459 TCU_DECLARE_VECTOR_TERNARY_FUNC(mix, deFloatMix)
|