Searched defs:memset (Results 1 - 25 of 43) sorted by relevance

12

/external/linux-tools-perf/perf-3.12.0/arch/arm/lib/
H A Dmemset.S2 * linux/arch/arm/lib/memset.S
18 ENTRY(memset) function
123 ENDPROC(memset)
/external/linux-tools-perf/perf-3.12.0/arch/arm64/lib/
H A Dmemset.S30 ENTRY(memset) function
53 ENDPROC(memset)
/external/linux-tools-perf/perf-3.12.0/arch/avr32/lib/
H A Dmemset.S4 * Based on linux/arch/arm/lib/memset.S
23 .global memset
24 .type memset, @function
26 memset: label
49 /* Fastpath ends here, exactly 32 bytes from memset */
72 .size memset, . - memset
/external/linux-tools-perf/perf-3.12.0/arch/sh/lib/
H A Dmemset-sh4.S2 * "memset" implementation for SH4
10 * void *memset(void *s, int c, size_t n);
15 ENTRY(memset) function
H A Dmemset.S1 /* $Id: memset.S,v 1.1 2000/04/14 16:49:01 mjd Exp $
3 * "memset" implementation of SuperH
10 * void *memset(void *s, int c, size_t n);
15 ENTRY(memset) function
/external/linux-tools-perf/perf-3.12.0/arch/x86/lib/
H A Dmemset_64.S9 * ISO C memset - set a memory block to a byte value. This function uses fast
38 * ISO C memset - set a memory block to a byte value. This function uses
59 ENTRY(memset) function
135 ENDPROC(memset)
144 * Otherwise, use original memset function.
150 altinstruction_entry memset,.Lmemset_c,X86_FEATURE_REP_GOOD,\
151 .Lfinal-memset,.Lmemset_e-.Lmemset_c
152 altinstruction_entry memset,.Lmemset_c_e,X86_FEATURE_ERMS, \
153 .Lfinal-memset,.Lmemset_e_e-.Lmemset_c_e
/external/linux-tools-perf/perf-3.12.0/arch/xtensa/lib/
H A Dmemset.S2 * arch/xtensa/lib/memset.S
4 * ANSI C standard library function memset
17 * void *memset(void *dst, int c, size_t length)
42 .global memset
43 .type memset,@function
44 memset: label
/external/clang/test/Frontend/
H A Dmacros.c9 #define memset(x,y,z) ({ stuff(x,y,z); x; }) macro
12 memset(a,b,c); // No warning!
/external/linux-tools-perf/perf-3.12.0/arch/frv/lib/
H A Dmemset.S0 /* memset.S: optimised assembly memset
18 # void *memset(void *p, char ch, size_t count)
25 .globl memset,__memset_end
26 .type memset,@function
27 memset: label
148 .size memset, __memset_end-memset
163 # abuse memset to do the dirty work
166 call memset
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/bench/
H A Dmem-memset-x86-64-asm.S1 #define memset MEMSET /* don't hide glibc's memset() */ define
/external/linux-tools-perf/perf-3.12.0/arch/alpha/lib/
H A Dmemset.S2 * linux/arch/alpha/lib/memset.S
4 * This is an efficient (and small) implementation of the C library "memset()"
20 .globl memset
124 memset = __memset define
/external/linux-tools-perf/perf-3.12.0/arch/m32r/lib/
H A Dmemset.S2 * linux/arch/m32r/lib/memset.S
7 * void *memset(void *dst, int val, int len);
17 .global memset
22 memset: label
100 memset: label
/external/linux-tools-perf/perf-3.12.0/arch/mn10300/lib/
H A Dmemset.S18 # void *memset(void *dst, int c, size_t n)
21 .globl memset
22 .type memset,@function
23 memset: label
121 .size memset, memset_end-memset
/external/linux-tools-perf/perf-3.12.0/arch/sparc/lib/
H A Dmemset.S1 /* linux/arch/sparc/lib/memset.S: Sparc optimized memset, bzero and clear_user code
64 .globl memset
67 memset: label
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
H A Darray.pxd50 memset, memchr, memcmp, memcpy, memmove namespace
134 memset(op.data.as_chars, 0, length * op.ob_descr.itemsize)
161 memset(self.data.as_chars, 0, Py_SIZE(self) * self.ob_descr.itemsize)
/external/nanopb-c/extra/
H A Dpb_syshdr.h93 static void * memset( void * s, int c, size_t n ) function
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/
H A Dvpx_mem.h118 # define memset vpx_memset macro
163 # define vpx_memset memset
/external/e2fsprogs/e2fsck/
H A Dmtrace.h84 #ifndef memset
85 #define memset(s, zero, n) bzero ((s), (n)) macro
/external/libvpx/libvpx/vpx_mem/
H A Dvpx_mem.h115 # define memset vpx_memset macro
160 # define vpx_memset memset
/external/valgrind/main/coregrind/m_demangle/
H A Dvg_libciface.h52 #define memset(_ss,_cc,_sz) VG_(memset)((_ss),(_cc),(_sz)) macro
/external/compiler-rt/lib/asan/
H A Dasan_dll_thunk.cc316 INTERCEPT_LIBRARY_FUNCTION(memset); variable
336 // executed, otherwise functions like memset might be invoked.
/external/eigen/unsupported/Eigen/src/Skyline/
H A DSkylineMatrix.h378 memset(m_colStartIndex, 0, (m_outerSize + 1) * sizeof (Index));
379 memset(m_rowStartIndex, 0, (m_outerSize + 1) * sizeof (Index));
438 memset(this->_upperPtr() + start, 0, (bandIncrement - 1) * sizeof (Scalar));
469 memset(this->_lowerPtr() + start, 0, (bandIncrement - 1) * sizeof (Scalar));
496 memset(this->_upperPtr() + m_rowStartIndex[inner] + previousProfile + 1, 0, (bandIncrement - 1) * sizeof (Scalar));
523 memset(this->_lowerPtr() + m_colStartIndex[outer] + previousProfile + 1, 0, (bandIncrement - 1) * sizeof (Scalar));
622 memset(m_colStartIndex, 0, (cols + 1) * sizeof (Index));
623 memset(m_rowStartIndex, 0, (rows + 1) * sizeof (Index));
235 eigen_assert(idx < outerSize()); eigen_assert(idx < innerSize()); return this->m_data.diag(idx); } inline Scalar coeffLower(Index row, Index col) const { const Index outer = IsRowMajor ? row : col; const Index inner = IsRowMajor ? col : row; eigen_assert(outer < outerSize()); eigen_assert(inner < innerSize()); eigen_assert(inner != outer); if (IsRowMajor) { const Index minInnerIndex = outer - m_data.lowerProfile(outer); if (inner >= minInnerIndex) return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer))); else return Scalar(0); } else { const Index maxInnerIndex = outer + m_data.lowerProfile(outer); if (inner <= maxInnerIndex) return this->m_data.lower(m_rowStartIndex[outer] + (inner - outer)); else return Scalar(0); } } inline Scalar coeffUpper(Index row, Index col) const { const Index outer = IsRowMajor ? row : col; const Index inner = IsRowMajor ? col : row; eigen_assert(outer < outerSize()); eigen_assert(inner < innerSize()); eigen_assert(inner != outer); if (IsRowMajor) { const Index minOuterIndex = inner - m_data.upperProfile(inner); if (outer >= minOuterIndex) return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner))); else return Scalar(0); } else { const Index maxOuterIndex = inner + m_data.upperProfile(inner); if (outer <= maxOuterIndex) return this->m_data.upper(m_colStartIndex[inner] + (outer - inner)); else return Scalar(0); } } inline Scalar& coeffRefDiag(Index idx) { eigen_assert(idx < outerSize()); eigen_assert(idx < innerSize()); return this->m_data.diag(idx); } inline Scalar& coeffRefLower(Index row, Index col) { const Index outer = IsRowMajor ? row : col; const Index inner = IsRowMajor ? col : row; eigen_assert(outer < outerSize()); eigen_assert(inner < innerSize()); eigen_assert(inner != outer); if (IsRowMajor) { const Index minInnerIndex = outer - m_data.lowerProfile(outer); eigen_assert(inner >= minInnerIndex && �); return this->m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer))); } else { const Index maxInnerIndex = outer + m_data.lowerProfile(outer); eigen_assert(inner <= maxInnerIndex && �); return this->m_data.lower(m_rowStartIndex[outer] + (inner - outer)); } } inline bool coeffExistLower(Index row, Index col) { const Index outer = IsRowMajor ? row : col; const Index inner = IsRowMajor ? col : row; eigen_assert(outer < outerSize()); eigen_assert(inner < innerSize()); eigen_assert(inner != outer); if (IsRowMajor) { const Index minInnerIndex = outer - m_data.lowerProfile(outer); return inner >= minInnerIndex; } else { const Index maxInnerIndex = outer + m_data.lowerProfile(outer); return inner <= maxInnerIndex; } } inline Scalar& coeffRefUpper(Index row, Index col) { const Index outer = IsRowMajor ? row : col; const Index inner = IsRowMajor ? col : row; eigen_assert(outer < outerSize()); eigen_assert(inner < innerSize()); eigen_assert(inner != outer); if (IsRowMajor) { const Index minOuterIndex = inner - m_data.upperProfile(inner); eigen_assert(outer >= minOuterIndex && �); return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner))); } else { const Index maxOuterIndex = inner + m_data.upperProfile(inner); eigen_assert(outer <= maxOuterIndex && �); return this->m_data.upper(m_colStartIndex[inner] + (outer - inner)); } } inline bool coeffExistUpper(Index row, Index col) { const Index outer = IsRowMajor ? row : col; const Index inner = IsRowMajor ? col : row; eigen_assert(outer < outerSize()); eigen_assert(inner < innerSize()); eigen_assert(inner != outer); if (IsRowMajor) { const Index minOuterIndex = inner - m_data.upperProfile(inner); return outer >= minOuterIndex; } else { const Index maxOuterIndex = inner + m_data.upperProfile(inner); return outer <= maxOuterIndex; } } protected: public: class InnerUpperIterator; class InnerLowerIterator; class OuterUpperIterator; class OuterLowerIterator; inline void setZero() { m_data.clear(); memset(m_colStartIndex, 0, (m_outerSize + 1) * sizeof (Index)); memset(m_rowStartIndex, 0, (m_outerSize + 1) * sizeof (Index)); } inline Index nonZeros() const { return m_data.diagSize() + m_data.upperSize() + m_data.lowerSize(); } inline void reserve(Index reserveSize, Index reserveUpperSize, Index reserveLowerSize) { m_data.reserve(reserveSize, reserveUpperSize, reserveLowerSize); } EIGEN_DONT_INLINE Scalar & insert(Index row, Index col) { const Index outer = IsRowMajor ? row : col; const Index inner = IsRowMajor ? col : row; eigen_assert(outer < outerSize()); eigen_assert(inner < innerSize()); if (outer == inner) return m_data.diag(col); if (IsRowMajor) { if (outer < inner) { Index minOuterIndex = 0; minOuterIndex = inner - m_data.upperProfile(inner); if (outer < minOuterIndex) { const Index previousProfile = m_data.upperProfile(inner); m_data.upperProfile(inner) = inner - outer; const Index bandIncrement = m_data.upperProfile(inner) - previousProfile; const Index stop = m_colStartIndex[cols()]; const Index start = m_colStartIndex[inner]; for (Index innerIdx = stop; innerIdx >= start; innerIdx--) { m_data.upper(innerIdx + bandIncrement) = m_data.upper(innerIdx); } for (Index innerIdx = cols(); innerIdx > inner; innerIdx--) { m_colStartIndex[innerIdx] += bandIncrement; } memset(this->_upperPtr() + start, 0, (bandIncrement - 1) * sizeof (Scalar)); return m_data.upper(m_colStartIndex[inner]); } else { return m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner))); } } if (outer > inner) { const Index minInnerIndex = outer - m_data.lowerProfile(outer); if (inner < minInnerIndex) { const Index previousProfile = m_data.lowerProfile(outer); m_data.lowerProfile(outer) = outer - inner; const Index bandIncrement = m_data.lowerProfile(outer) - previousProfile; const Index stop = m_rowStartIndex[rows()]; const Index start = m_rowStartIndex[outer]; for (Index innerIdx = stop; innerIdx >= start; innerIdx--) { m_data.lower(innerIdx + bandIncrement) = m_data.lower(innerIdx); } for (Index innerIdx = rows(); innerIdx > outer; innerIdx--) { m_rowStartIndex[innerIdx] += bandIncrement; } memset(this->_lowerPtr() + start, 0, (bandIncrement - 1) * sizeof (Scalar)); return m_data.lower(m_rowStartIndex[outer]); } else { return m_data.lower(m_rowStartIndex[outer] + inner - (outer - m_data.lowerProfile(outer))); } } } else { if (outer > inner) { const Index maxOuterIndex = inner + m_data.upperProfile(inner); if (outer > maxOuterIndex) { const Index previousProfile = m_data.upperProfile(inner); m_data.upperProfile(inner) = outer - inner; const Index bandIncrement = m_data.upperProfile(inner) - previousProfile; const Index stop = m_rowStartIndex[rows()]; const Index start = m_rowStartIndex[inner + 1]; for (Index innerIdx = stop; innerIdx >= start; innerIdx--) { m_data.upper(innerIdx + bandIncrement) = m_data.upper(innerIdx); } for (Index innerIdx = inner + 1; innerIdx < outerSize() + 1; innerIdx++) { m_rowStartIndex[innerIdx] += bandIncrement; } memset(this->_upperPtr() + m_rowStartIndex[inner] + previousProfile + 1, 0, (bandIncrement - 1) * sizeof (Scalar)); return m_data.upper(m_rowStartIndex[inner] + m_data.upperProfile(inner)); } else { return m_data.upper(m_rowStartIndex[inner] + (outer - inner)); } } if (outer < inner) { const Index maxInnerIndex = outer + m_data.lowerProfile(outer); if (inner > maxInnerIndex) { const Index previousProfile = m_data.lowerProfile(outer); m_data.lowerProfile(outer) = inner - outer; const Index bandIncrement = m_data.lowerProfile(outer) - previousProfile; const Index stop = m_colStartIndex[cols()]; const Index start = m_colStartIndex[outer + 1]; for (Index innerIdx = stop; innerIdx >= start; innerIdx--) argument
/external/valgrind/main/drd/tests/
H A Dunit_bitmap.c47 void* VG_(memset)(void *s, Int c, SizeT sz) function
48 { return memset(s, c, sz); }
H A Dunit_vc.c35 void* VG_(memset)(void *s, Int c, SizeT sz) function
36 { return memset(s, c, sz); }
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dos.h502 #define os_memset(s, c, n) memset(s, c, n)
620 #define memset OS_DO_NOT_USE_memset macro

Completed in 490 milliseconds

12