Home
last modified time | relevance | path

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

12345678910>>...21

/external/python/cpython3/Objects/
Ddictobject.c226 static Py_ssize_t lookdict(PyDictObject *mp, PyObject *key,
228 static Py_ssize_t lookdict_unicode(PyDictObject *mp, PyObject *key,
231 lookdict_unicode_nodummy(PyDictObject *mp, PyObject *key,
233 static Py_ssize_t lookdict_split(PyDictObject *mp, PyObject *key,
236 static int dictresize(PyDictObject *mp, Py_ssize_t minused);
440 _PyDict_CheckConsistency(PyDictObject *mp) in _PyDict_CheckConsistency() argument
442 PyDictKeysObject *keys = mp->ma_keys; in _PyDict_CheckConsistency()
443 int splitted = _PyDict_HasSplitTable(mp); in _PyDict_CheckConsistency()
450 assert(0 <= mp->ma_used && mp->ma_used <= usable); in _PyDict_CheckConsistency()
495 for (i=0; i < mp->ma_used; i++) { in _PyDict_CheckConsistency()
[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/python/cpython3/Include/
Ddictobject.h70 PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key);
72 PyAPI_FUNC(PyObject *) _PyDict_GetItem_KnownHash(PyObject *mp, PyObject *key,
75 PyAPI_FUNC(PyObject *) PyDict_GetItemWithError(PyObject *mp, PyObject *key);
80 PyObject *mp, PyObject *key, PyObject *defaultobj);
82 PyAPI_FUNC(int) PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item);
84 PyAPI_FUNC(int) _PyDict_SetItem_KnownHash(PyObject *mp, PyObject *key,
87 PyAPI_FUNC(int) PyDict_DelItem(PyObject *mp, PyObject *key);
89 PyAPI_FUNC(int) _PyDict_DelItem_KnownHash(PyObject *mp, PyObject *key,
91 PyAPI_FUNC(int) _PyDict_DelItemIf(PyObject *mp, PyObject *key,
94 PyAPI_FUNC(void) PyDict_Clear(PyObject *mp);
[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(int) _PyDict_DelItemIf(PyObject *mp, PyObject *key,
117 PyAPI_FUNC(void) PyDict_Clear(PyObject *mp);
119 PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value);
121 PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value, long *hash);
122 PyAPI_FUNC(PyObject *) PyDict_Keys(PyObject *mp);
[all …]
/external/libchrome/mojo/core/
Dmessage_pipe_perftest.cc43 void WriteWaitThenRead(MojoHandle mp) { in WriteWaitThenRead() argument
45 WriteMessageRaw(MessagePipeHandle(mp), payload_.data(), payload_.size(), in WriteWaitThenRead()
49 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE, &hss), in WriteWaitThenRead()
51 CHECK_EQ(ReadMessageRaw(MessagePipeHandle(mp), &read_buffer_, nullptr, in WriteWaitThenRead()
57 void SendQuitMessage(MojoHandle mp) { in SendQuitMessage() argument
58 CHECK_EQ(WriteMessageRaw(MessagePipeHandle(mp), "", 0, nullptr, 0, in SendQuitMessage()
63 void Measure(MojoHandle mp) { in Measure() argument
65 WriteWaitThenRead(mp); in Measure()
73 WriteWaitThenRead(mp); in Measure()
79 void RunPingPongServer(MojoHandle mp) { in RunPingPongServer() argument
[all …]
/external/syzkaller/vendor/google.golang.org/api/gensupport/
Dmedia.go115 mp := &multipartReader{pipeOpen: true}
117 mp.pr, pw = io.Pipe()
119 mp.ctype = "multipart/related; boundary=" + mpw.Boundary()
139 return mp
142 func (mp *multipartReader) Read(data []byte) (n int, err error) {
143 return mp.pr.Read(data)
146 func (mp *multipartReader) Close() error {
147 if !mp.pipeOpen {
150 mp.pipeOpen = false
151 return mp.pr.Close()
[all …]
/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/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/blktrace/btt/
Dseek.c156 static void __mode(struct rb_node *n, struct mode *mp) in __mode() argument
161 __mode(n->rb_left, mp); in __mode()
163 __mode(n->rb_right, mp); in __mode()
166 if (mp->modes == NULL) { in __mode()
167 mp->modes = malloc(sizeof(long long)); in __mode()
168 mp->nmds = 0; in __mode()
169 } else if (sbp->nseeks > mp->most_seeks) in __mode()
170 mp->nmds = 0; in __mode()
171 else if (sbp->nseeks == mp->most_seeks) in __mode()
172 mp->modes = realloc(mp->modes, (mp->nmds + 1) * in __mode()
[all …]
/external/libchrome/mojo/core/test/
Dmojo_test_base.cc108 void MojoTestBase::WriteMessageWithHandles(MojoHandle mp, in WriteMessageWithHandles() argument
112 CHECK_EQ(WriteMessageRaw(MessagePipeHandle(mp), message.data(), in WriteMessageWithHandles()
119 void MojoTestBase::WriteMessage(MojoHandle mp, const std::string& message) { in WriteMessage() argument
120 WriteMessageWithHandles(mp, message, nullptr, 0); in WriteMessage()
125 MojoHandle mp, in ReadMessageWithHandles() argument
128 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE), MOJO_RESULT_OK); in ReadMessageWithHandles()
133 ReadMessageRaw(MessagePipeHandle(mp), &bytes, &handles, in ReadMessageWithHandles()
143 std::string MojoTestBase::ReadMessageWithOptionalHandle(MojoHandle mp, in ReadMessageWithOptionalHandle() argument
145 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE), MOJO_RESULT_OK); in ReadMessageWithOptionalHandle()
150 ReadMessageRaw(MessagePipeHandle(mp), &bytes, &handles, in ReadMessageWithOptionalHandle()
[all …]
Dmojo_test_base.h83 static void WriteMessageWithHandles(MojoHandle mp,
89 static void WriteMessage(MojoHandle mp, const std::string& message);
93 static std::string ReadMessageWithHandles(MojoHandle mp,
99 static std::string ReadMessageWithOptionalHandle(MojoHandle mp,
104 static std::string ReadMessage(MojoHandle mp);
108 static void ReadMessage(MojoHandle mp, char* data, size_t num_bytes);
116 static void VerifyEcho(MojoHandle mp, const std::string& message);
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_write_buffer.c174 const struct mode_s * mp; in print_modes() local
178 for (mp = mode_arr; mp->mode_string; ++mp) { in print_modes()
179 pr2serr(" %2d (0x%02x) %-18s%s\n", mp->mode, mp->mode, in print_modes()
180 mp->mode_string, mp->comment); in print_modes()
211 const struct mode_s * mp; in main() local
271 for (mp = mode_arr; mp->mode_string; ++mp) { in main()
272 if (0 == strncmp(mp->mode_string, optarg, len)) { in main()
273 wb_mode = mp->mode; in main()
277 if (! mp->mode_string) { in main()
/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/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/swiftshader/third_party/llvm-7.0/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/u-boot/fs/yaffs2/
Dyaffs_uboot_glue.c166 char *mp = NULL; in cmd_yaffs_devconfig() local
176 mp = strdup(_mp); in cmd_yaffs_devconfig()
178 if (!dev || !mp) { in cmd_yaffs_devconfig()
205 if (strcmp(chk->param.name, mp) == 0) { in cmd_yaffs_devconfig()
222 dev->param.name = mp; in cmd_yaffs_devconfig()
244 mp, flash_dev, start_block, end_block, in cmd_yaffs_devconfig()
250 free(mp); in cmd_yaffs_devconfig()
334 void cmd_yaffs_mount(char *mp) in cmd_yaffs_mount() argument
336 int retval = yaffs_mount(mp); in cmd_yaffs_mount()
338 printf("Error mounting %s, return value: %d, %s\n", mp, in cmd_yaffs_mount()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DIllustrationVideoView.java320 public boolean onInfo(MediaPlayer mp, int what, int extra) { in onInfo() argument
329 public void onPrepared(MediaPlayer mp) { in onPrepared() argument
331 mp.setLooping(shouldLoop()); in onPrepared()
334 if (mp.getVideoWidth() > 0 && mp.getVideoHeight() > 0) { in onPrepared()
335 aspectRatio = (float) mp.getVideoHeight() / mp.getVideoWidth(); in onPrepared()
337 Log.w(TAG, "Unexpected video size=" + mp.getVideoWidth() + "x" + mp.getVideoHeight()); in onPrepared()
349 public void onSeekComplete(MediaPlayer mp) { in onSeekComplete() argument
351 mp.start(); in onSeekComplete()
/external/lua/src/
Dltable.c462 Node *mp; in luaH_newkey() local
474 mp = mainposition(t, key); in luaH_newkey()
475 if (!ttisnil(gval(mp)) || isdummy(t)) { /* main position is taken? */ in luaH_newkey()
484 othern = mainposition(t, gkey(mp)); in luaH_newkey()
485 if (othern != mp) { /* is colliding node out of its main position? */ in luaH_newkey()
487 while (othern + gnext(othern) != mp) /* find previous */ in luaH_newkey()
490 *f = *mp; /* copy colliding node into free pos. (mp->next also goes) */ in luaH_newkey()
491 if (gnext(mp) != 0) { in luaH_newkey()
492 gnext(f) += cast_int(mp - f); /* correct 'next' */ in luaH_newkey()
493 gnext(mp) = 0; /* now 'mp' is free */ in luaH_newkey()
[all …]
/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/testpngs/
Dmakepngs.sh20 mp(){ function
27 mp "" "" "$2" "$3"
29 mp "--$1" "-$1" "$2" "$3"
36 mp "--tRNS" "-tRNS" "$2" "$3"
38 mp "--tRNS --$1" "-$1-tRNS" "$2" "$3"
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMediaPlayer.java147 public void run(MediaPlayer mp, ShadowMediaPlayer smp) { in run() argument
149 e.run(mp, smp); in run()
155 public void run(MediaPlayer mp, ShadowMediaPlayer smp); in run() argument
287 public void run(MediaPlayer mp, ShadowMediaPlayer smp) { in scheduleInfoAtOffset()
319 public void run(MediaPlayer mp, ShadowMediaPlayer smp) { in scheduleBufferUnderrunAtOffset()
326 public void run(MediaPlayer mp, ShadowMediaPlayer smp) { in scheduleBufferUnderrunAtOffset()
455 public void run(MediaPlayer mp, ShadowMediaPlayer smp) {
456 if (mp.isLooping()) {
468 public void run(MediaPlayer mp, ShadowMediaPlayer smp) {
475 public void run(MediaPlayer mp, ShadowMediaPlayer smp) {
[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/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/openssh/
Dpoly1305.c45 unsigned char mp[16]; in poly1305_auth() local
110 for (j = 0; j < inlen; j++) mp[j] = m[j]; in poly1305_auth()
111 mp[j++] = 1; in poly1305_auth()
112 for (; j < 16; j++) mp[j] = 0; in poly1305_auth()
115 t0 = U8TO32_LE(mp+0); in poly1305_auth()
116 t1 = U8TO32_LE(mp+4); in poly1305_auth()
117 t2 = U8TO32_LE(mp+8); in poly1305_auth()
118 t3 = U8TO32_LE(mp+12); in poly1305_auth()
/external/ImageMagick/coders/
Demf.c330 mp; in ReadEnhMetaFile() local
389 mp.mm=MM_ANISOTROPIC; in ReadEnhMetaFile()
390 mp.xExt=1000; in ReadEnhMetaFile()
391 mp.yExt=1000; in ReadEnhMetaFile()
392 mp.hMF=NULL; in ReadEnhMetaFile()
394 hTemp=SetWinMetaFileBits(dwSize,pBits,hDC,&mp); in ReadEnhMetaFile()
427 mp.mm=MM_ANISOTROPIC; in ReadEnhMetaFile()
428 mp.xExt=((PAPMHEADER) pBits)->bbox.Right-((PAPMHEADER) pBits)->bbox.Left; in ReadEnhMetaFile()
429 *width=mp.xExt; in ReadEnhMetaFile()
430 mp.xExt=(mp.xExt*2540l)/(DWORD) (((PAPMHEADER) pBits)->wInch); in ReadEnhMetaFile()
[all …]

12345678910>>...21