Home
last modified time | relevance | path

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

12345678910

/external/syslinux/core/fs/xfs/
Dxfs_ag.h112 #define XFS_AGF_DADDR(mp) ((xfs_daddr_t)(1 << (mp)->m_sectbb_log)) argument
113 #define XFS_AGF_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGF_DADDR(mp)) argument
116 extern int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp,
139 #define XFS_AGI_DADDR(mp) ((xfs_daddr_t)(2 << (mp)->m_sectbb_log)) argument
140 #define XFS_AGI_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGI_DADDR(mp)) argument
143 extern int xfs_read_agi(struct xfs_mount *mp, struct xfs_trans *tp,
150 #define XFS_AGFL_DADDR(mp) ((xfs_daddr_t)(3 << (mp)->m_sectbb_log)) argument
151 #define XFS_AGFL_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGFL_DADDR(mp)) argument
152 #define XFS_AGFL_SIZE(mp) ((mp)->m_sb.sb_sectsize / sizeof(xfs_agblock_t)) argument
166 #define XFS_AG_MAXLEVELS(mp) ((mp)->m_ag_maxlevels) argument
[all …]
Dxfs_sb.h175 #define XFS_SB_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_SB_DADDR) argument
178 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d)) argument
179 #define XFS_DADDR_TO_FSB(mp,d) XFS_AGB_TO_FSB(mp, \ argument
180 xfs_daddr_to_agno(mp,d), xfs_daddr_to_agbno(mp,d))
181 #define XFS_FSB_TO_DADDR(mp,fsbno) XFS_AGB_TO_DADDR(mp, \ argument
182 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno))
187 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument
192 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) argument
193 #define XFS_BB_TO_FSB(mp,bb) \ argument
194 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
[all …]
/external/python/cpython2/Objects/
Ddictobject.c150 lookdict_string(PyDictObject *mp, PyObject *key, long hash);
210 #define INIT_NONZERO_DICT_SLOTS(mp) do { \ argument
211 (mp)->ma_table = (mp)->ma_smalltable; \
212 (mp)->ma_mask = PyDict_MINSIZE - 1; \
215 #define EMPTY_TO_MINSIZE(mp) do { \ argument
216 memset((mp)->ma_smalltable, 0, sizeof((mp)->ma_smalltable)); \
217 (mp)->ma_used = (mp)->ma_fill = 0; \
218 INIT_NONZERO_DICT_SLOTS(mp); \
243 register PyDictObject *mp; in PyDict_New() local
259 mp = free_list[--numfree]; in PyDict_New()
[all …]
/external/syslinux/com32/lib/syslinux/
Dshuffle.c64 struct syslinux_movelist *moves = NULL, *mp; in syslinux_do_shuffle() local
98 for (mp = fraglist; mp; mp = mp->next) { in syslinux_do_shuffle()
99 if (syslinux_add_memmap(&rxmap, mp->src, mp->len, SMT_ALLOC) || in syslinux_do_shuffle()
100 syslinux_add_memmap(&rxmap, mp->dst, mp->len, SMT_ALLOC)) in syslinux_do_shuffle()
140 for (mp = moves; mp; mp = mp->next) in syslinux_do_shuffle()
176 for (mp = moves; mp; mp = mp->next) { in syslinux_do_shuffle()
177 dp->dst = mp->dst; in syslinux_do_shuffle()
178 dp->src = mp->src; in syslinux_do_shuffle()
179 dp->len = mp->len; in syslinux_do_shuffle()
237 struct syslinux_movelist *mp; in syslinux_target_memmap() local
[all …]
Dzonelist.c81 struct syslinux_memmap *mp, **mpp; in syslinux_add_memmap() local
97 while (mp = *mpp, start > mp->start && mp->type != SMT_END) { in syslinux_add_memmap()
98 oldtype = mp->type; in syslinux_add_memmap()
99 mpp = &mp->next; in syslinux_add_memmap()
102 if (start < mp->start || mp->type == SMT_END) { in syslinux_add_memmap()
112 range->next = mp; in syslinux_add_memmap()
119 oldtype = mp->type; in syslinux_add_memmap()
120 mp->type = type; in syslinux_add_memmap()
121 mpp = &mp->next; in syslinux_add_memmap()
125 while (mp = *mpp, last > mp->start - 1) { in syslinux_add_memmap()
[all …]
Dmovebits.c226 struct syslinux_movelist *mp, **mpp, *mx, *np; in shuffle_dealias() local
240 while ((mp = *mpp)) { in shuffle_dealias()
241 dprintf("mp -> (%#x,%#x,%#x)\n", mp->dst, mp->src, mp->len); in shuffle_dealias()
242 ps = mp->src; in shuffle_dealias()
243 pe = mp->src + mp->len - 1; in shuffle_dealias()
244 for (mx = *fraglist; mx != mp; mx = mx->next) { in shuffle_dealias()
259 *mpp = mp->next; /* Remove from list */ in shuffle_dealias()
263 np = new_movelist(mp->dst + mp->len - delta, in shuffle_dealias()
264 mp->src + mp->len - delta, delta); in shuffle_dealias()
265 mp->len -= delta; in shuffle_dealias()
[all …]
/external/python/cpython2/Include/
Ddictobject.h87 PyDictEntry *(*ma_lookup)(PyDictObject *mp, PyObject *key, long hash);
110 PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key);
111 PyAPI_FUNC(PyObject *) _PyDict_GetItemWithError(PyObject *mp, PyObject *key);
112 PyAPI_FUNC(int) PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item);
113 PyAPI_FUNC(int) PyDict_DelItem(PyObject *mp, PyObject *key);
114 PyAPI_FUNC(void) PyDict_Clear(PyObject *mp);
116 PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value);
118 PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value, long *hash);
119 PyAPI_FUNC(PyObject *) PyDict_Keys(PyObject *mp);
120 PyAPI_FUNC(PyObject *) PyDict_Values(PyObject *mp);
[all …]
/external/valgrind/memcheck/
Dmc_malloc_wrappers.c258 MC_Mempool* mp; in live_block() local
260 while ( (mp = VG_(HT_Next)(MC_(mempool_list))) ) { in live_block()
261 if ( in_block_list (mp->chunks, mc) ) in live_block()
700 static void check_mempool_sane(MC_Mempool* mp); /*forward*/
702 static void free_mallocs_in_mempool_block (MC_Mempool* mp, in free_mallocs_in_mempool_block() argument
709 tl_assert(mp->auto_free); in free_mallocs_in_mempool_block()
728 die_and_free_mem(tid, mc, mp->rzB); in free_mallocs_in_mempool_block()
736 MC_Mempool* mp; in MC_() local
751 mp = VG_(HT_lookup)(MC_(mempool_list), (UWord)pool); in MC_()
752 if (mp != NULL) { in MC_()
[all …]
/external/syslinux/extlinux/
Dxfs_sb.h445 #define XFS_SB_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_SB_DADDR) argument
448 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d)) argument
449 #define XFS_DADDR_TO_FSB(mp,d) XFS_AGB_TO_FSB(mp, \ argument
450 xfs_daddr_to_agno(mp,d), xfs_daddr_to_agbno(mp,d))
451 #define XFS_FSB_TO_DADDR(mp,fsbno) XFS_AGB_TO_DADDR(mp, \ argument
452 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno))
457 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument
462 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) argument
463 #define XFS_BB_TO_FSB(mp,bb) \ argument
464 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
[all …]
/external/libmojo/mojo/edk/system/
Dmessage_pipe_perftest.cc44 void WriteWaitThenRead(MojoHandle mp) { in WriteWaitThenRead() argument
45 CHECK_EQ(MojoWriteMessage(mp, payload_.data(), in WriteWaitThenRead()
50 CHECK_EQ(MojoWait(mp, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE, in WriteWaitThenRead()
54 CHECK_EQ(MojoReadMessage(mp, &read_buffer_[0], &read_buffer_size, nullptr, in WriteWaitThenRead()
60 void SendQuitMessage(MojoHandle mp) { in SendQuitMessage() argument
61 CHECK_EQ(MojoWriteMessage(mp, "", 0, nullptr, 0, in SendQuitMessage()
66 void Measure(MojoHandle mp) { in Measure() argument
68 WriteWaitThenRead(mp); in Measure()
76 WriteWaitThenRead(mp); in Measure()
82 void RunPingPongServer(MojoHandle mp) { in RunPingPongServer() argument
[all …]
/external/clang/test/Layout/
Dms-x86-member-pointers.cpp8 struct SD { char a; int S::*mp; }; member
9 struct MD { char a; int M::*mp; }; member
10 struct VD { char a; int V::*mp; }; member
11 struct UD { char a; int U::*mp; }; member
12 struct SF { char a; int (S::*mp)(); }; member
13 struct MF { char a; int (M::*mp)(); }; member
14 struct VF { char a; int (V::*mp)(); }; member
15 struct UF { char a; int (U::*mp)(); }; member
/external/libmojo/mojo/edk/test/
Dmojo_test_base.cc106 void MojoTestBase::WriteMessageWithHandles(MojoHandle mp, in WriteMessageWithHandles() argument
110 CHECK_EQ(MojoWriteMessage(mp, message.data(), in WriteMessageWithHandles()
117 void MojoTestBase::WriteMessage(MojoHandle mp, const std::string& message) { in WriteMessage() argument
118 WriteMessageWithHandles(mp, message, nullptr, 0); in WriteMessage()
123 MojoHandle mp, in ReadMessageWithHandles() argument
126 CHECK_EQ(MojoWait(mp, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE, in ReadMessageWithHandles()
132 CHECK_EQ(MojoReadMessage(mp, nullptr, &message_size, nullptr, &num_handles, in ReadMessageWithHandles()
138 CHECK_EQ(MojoReadMessage(mp, &message[0], &message_size, handles, in ReadMessageWithHandles()
148 std::string MojoTestBase::ReadMessageWithOptionalHandle(MojoHandle mp, in ReadMessageWithOptionalHandle() argument
150 CHECK_EQ(MojoWait(mp, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE, in ReadMessageWithOptionalHandle()
[all …]
Dmojo_test_base.h85 static void WriteMessageWithHandles(MojoHandle mp,
91 static void WriteMessage(MojoHandle mp, const std::string& message);
95 static std::string ReadMessageWithHandles(MojoHandle mp,
101 static std::string ReadMessageWithOptionalHandle(MojoHandle mp,
106 static std::string ReadMessage(MojoHandle mp);
110 static void ReadMessage(MojoHandle mp, char* data, size_t num_bytes);
118 static void VerifyEcho(MojoHandle mp, const std::string& message);
/external/clang/test/CodeGenCXX/
Dmicrosoft-abi-member-pointers.cpp256 bool nullTestDataUnspecified(int Unspecified::*mp) { in nullTestDataUnspecified() argument
257 return mp; in nullTestDataUnspecified()
278 bool nullTestFunctionUnspecified(void (Unspecified::*mp)()) { in nullTestFunctionUnspecified() argument
279 return mp; in nullTestFunctionUnspecified()
497 void (Multiple::*convertB2FuncToMultiple(void (B2::*mp)()))() { in convertB2FuncToMultiple() argument
498 return mp; in convertB2FuncToMultiple()
515 void (B2::*convertMultipleFuncToB2(void (Multiple::*mp)()))() { in convertMultipleFuncToB2() argument
518 return static_cast<void (B2::*)()>(mp); in convertMultipleFuncToB2()
546 void (D::*convertCToD(void (C::*mp)()))() { in convertCToD() argument
547 return mp; in convertCToD()
[all …]
/external/blktrace/btt/
Dseek.c159 static void __mode(struct rb_node *n, struct mode *mp) in __mode() argument
164 __mode(n->rb_left, mp); in __mode()
166 __mode(n->rb_right, mp); in __mode()
169 if (mp->modes == NULL) { in __mode()
170 mp->modes = malloc(sizeof(long long)); in __mode()
171 mp->nmds = 0; in __mode()
172 } else if (sbp->nseeks > mp->most_seeks) in __mode()
173 mp->nmds = 0; in __mode()
174 else if (sbp->nseeks == mp->most_seeks) in __mode()
175 mp->modes = realloc(mp->modes, (mp->nmds + 1) * in __mode()
[all …]
/external/libgsm/src/
Dpreprocess.c42 word mp = S->mp; variable
105 msp = GSM_MULT_R( mp, -28180 );
106 mp = SASR( L_temp, 15 );
107 *so++ = GSM_ADD( mp, msp );
112 S->mp = mp;
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMediaPlayer.java31 MediaPlayer mp = new MediaPlayer(); in create() local
32 shadowOf(mp).sourceResId = resId; in create()
34 mp.prepare(); in create()
37 return mp; in create()
42 MediaPlayer mp = new MediaPlayer(); in create() local
44 mp.setDataSource(context, uri); in create()
45 mp.prepare(); in create()
48 return mp; in create()
/external/llvm/test/MC/ARM/
Ddirective-arch_extension-mp.s16 .arch_extension mp
18 @ CHECK-V6-NEXT: .arch_extension mp
21 .type mp,%function
22 mp: label
24 @ CHECK-V6: error: instruction requires: mp-extensions armv7
25 @ CHECK-V7M: error: instruction requires: mp-extensions
35 @ CHECK-V6: error: instruction requires: mp-extensions armv7
36 @ CHECK-V7: error: instruction requires: mp-extensions
37 @ CHECK-V7M: error: instruction requires: mp-extensions
/external/syslinux/com32/mboot/
Dmboot.c94 struct module_data *mp; in get_modules() local
105 *mdp = mp = malloc(module_count * sizeof(struct module_data)); in get_modules()
106 if (!mp) { in get_modules()
116 rv = zloadfile(*argp, &mp->data, &mp->len); in get_modules()
133 mp->cmdline = strdup(""); in get_modules()
136 mp->cmdline = p = malloc(arglen); in get_modules()
143 mp++; in get_modules()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
DMakefile31 @set -e; for mp in $(MAN_PGS); \
32 do install -o root -g root -m 644 $$mp $(MANDIR)/$(MAN_PREF); \
33 gzip -9f $(MANDIR)/$(MAN_PREF)/$$mp; \
41 @set -e; for mp in $(MAN_PGS); do \
42 rm -f $(MANDIR)/$(MAN_PREF)/$$mp.gz; \
/external/libpng/contrib/libtests/
Dgentests.sh23 mp="$PWD/makepng"
24 test -x "$mp" || {
28 echo " $mp"
82 "$mp" $gamma "$1" "$2" "test-$1-$2$gname.png"
/external/skia/third_party/lua/src/
Dltable.c406 Node *mp; in luaH_newkey() local
410 mp = mainposition(t, key); in luaH_newkey()
411 if (!ttisnil(gval(mp)) || isdummy(mp)) { /* main position is taken? */ in luaH_newkey()
420 othern = mainposition(t, gkey(mp)); in luaH_newkey()
421 if (othern != mp) { /* is colliding node out of its main position? */ in luaH_newkey()
423 while (gnext(othern) != mp) othern = gnext(othern); /* find previous */ in luaH_newkey()
425 *n = *mp; /* copy colliding node into free pos. (mp->next also goes) */ in luaH_newkey()
426 gnext(mp) = NULL; /* now `mp' is free */ in luaH_newkey()
427 setnilvalue(gval(mp)); in luaH_newkey()
431 gnext(n) = gnext(mp); /* chain new position */ in luaH_newkey()
[all …]
/external/python/cpython2/Tools/webchecker/
Dwcgui.py154 self.__mp = mp = MultiPanel(parent)
155 sys.stdout = self.__log = LogPanel(mp, "Log")
156 self.__todo = ListPanel(mp, "To check", self, self.showinfo)
157 self.__done = ListPanel(mp, "Checked", self, self.showinfo)
158 self.__bad = ListPanel(mp, "Bad links", self, self.showinfo)
159 self.__errors = ListPanel(mp, "Pages w/ bad links", self, self.showinfo)
160 self.__details = LogPanel(mp, "Details")
322 def __init__(self, mp, name, checker, showinfo=None): argument
323 self.mp = mp
327 self.panel = mp.addpanel(name)
[all …]
/external/syslinux/com32/lua/src/
Dltable.c407 Node *mp; in luaH_newkey() local
411 mp = mainposition(t, key); in luaH_newkey()
412 if (!ttisnil(gval(mp)) || isdummy(mp)) { /* main position is taken? */ in luaH_newkey()
421 othern = mainposition(t, gkey(mp)); in luaH_newkey()
422 if (othern != mp) { /* is colliding node out of its main position? */ in luaH_newkey()
424 while (gnext(othern) != mp) othern = gnext(othern); /* find previous */ in luaH_newkey()
426 *n = *mp; /* copy colliding node into free pos. (mp->next also goes) */ in luaH_newkey()
427 gnext(mp) = NULL; /* now `mp' is free */ in luaH_newkey()
428 setnilvalue(gval(mp)); in luaH_newkey()
432 gnext(n) = gnext(mp); /* chain new position */ in luaH_newkey()
[all …]
/external/libunwind/src/setjmp/
Dsetjmp_i.h84 void *mp; in resume_restores_sigmask() local
92 mp = &wp[JB_MASK]; in resume_restores_sigmask()
97 mp = &current_mask; in resume_restores_sigmask()
99 memcpy (&sc->sc_mask, mp, sizeof (sc->sc_mask)); in resume_restores_sigmask()

12345678910