Home
last modified time | relevance | path

Searched refs:FindData (Results 1 – 25 of 135) sorted by relevance

123456

/haiku/src/tests/kits/app/bmessage/
H A DMessageInt32ItemTest.cpp34 CPPUNIT_ASSERT(msg.FindData("an int32", B_INT32_TYPE, &ptr, &size) == in MessageInt32ItemTest1()
51 CPPUNIT_ASSERT(msg.FindData("an int32", B_INT32_TYPE, (const void**)&pout, in MessageInt32ItemTest2()
72 CPPUNIT_ASSERT(msg.FindData("an int32", B_INT32_TYPE, (const void**)&pout, in MessageInt32ItemTest3()
88 CPPUNIT_ASSERT(msg.FindData("an int32", B_INT32_TYPE, 1, &ptr, &size) == in MessageInt32ItemTest4()
112 CPPUNIT_ASSERT(msg.FindData("an int32", B_INT32_TYPE, i, in MessageInt32ItemTest5()
140 CPPUNIT_ASSERT(msg.FindData("an int32", B_INT32_TYPE, rIndex, in MessageInt32ItemTest6()
159 CPPUNIT_ASSERT(msg.FindData("an int32", B_INT32_TYPE, (const void**)&pout, in MessageInt32ItemTest7()
185 CPPUNIT_ASSERT(msg.FindData("an int32", B_INT32_TYPE, i, in MessageInt32ItemTest8()
H A DMessageItemTest.h87 const void**, ssize_t*) const = &BMessage::FindData
120 static status_t FindData(BMessage& msg, const char* name, type_code type, in FindData() function
220 CPPUNIT_ASSERT(FuncPolicy::FindData(msg, "item", TypeCode, 0, &ptr, &size) == in MessageItemTest1()
249 status_t err = FuncPolicy::FindData(msg, "item", TypeCode, 0, in MessageItemTest2()
283 CPPUNIT_ASSERT(FuncPolicy::FindData(msg, "item", TypeCode, 0, in MessageItemTest3()
311 CPPUNIT_ASSERT(FuncPolicy::FindData(msg, "item", TypeCode, 1, &ptr, &size) == in MessageItemTest4()
347 CPPUNIT_ASSERT(FuncPolicy::FindData(msg, "item", TypeCode, i, in MessageItemTest5()
387 CPPUNIT_ASSERT(FuncPolicy::FindData(msg, "item", TypeCode, rIndex, in MessageItemTest6()
420 CPPUNIT_ASSERT(FuncPolicy::FindData(msg, "item", TypeCode, 0, in MessageItemTest7()
459 CPPUNIT_ASSERT(FuncPolicy::FindData(msg, "item", TypeCode, i, in MessageItemTest8()
[all …]
H A DMessageRefItemTest.h50 static status_t FindData(BMessage& msg, const char* name, type_code type,
87 status_t TRefFuncPolicy::FindData(BMessage& msg, const char* name, in FindData() function
93 status_t err = msg.FindData(name, type, index, (const void**)&ptr, size); in FindData()
H A DMessageBStringItemTest.h36 static status_t FindData(BMessage& msg, const char* name, type_code type,
90 status_t TBStringFuncPolicy::FindData(BMessage& msg, const char* name, in FindData() function
96 status_t err = msg.FindData(name, type, index, (const void**)&ptr, size); in FindData()
H A DMessagePointerItemTest.h45 static status_t FindData(BMessage& msg, const char* name, type_code type, in FindData() function
47 { return msg.FindData(name, type, index, data, size); } in FindData()
H A DMessageMessengerItemTest.h47 static status_t FindData(BMessage& msg, const char* name, type_code type, in FindData() function
49 { return msg.FindData(name, type, index, data, size); } in FindData()
H A DBMessageCases82 0; FindData() should return B_NAME_NOT_FOUND and set data param to NULL.
86 added item; FindData() should return B_OK and set data param to added item.
90 set data param to replacement; FindData() should return B_OK and set data
95 and set data param to 0; FindData() should return B_NAME_NOT_FOUND and
100 data param to added item; FindData() should return B_OK and set data param
105 should return B_OK and set data param to replacement; FindData() should
110 data param to added item; FindData() should return B_OK and set data param to
115 return B_OK and set data param to added item; FindData() should return B_OK
170 status_t FindData(const char *name, type_code type,
172 status_t FindData(const char *name, type_code type, int32 index,
H A DMessageMessageItemTest.h36 static status_t FindData(BMessage& msg, const char* name, type_code type,
96 inline status_t TMessageFuncPolicy::FindData(BMessage& msg, const char* name, in FindData() function
102 status_t err = msg.FindData(name, type, index, (const void**)&ptr, size); in FindData()
H A DMessageFlattenableItemTest.h121 static status_t FindData(BMessage& msg, const char* name, type_code type, in FindData() function
126 status_t err = msg.FindData(name, type, index, (const void**)&ptr, size); in FindData()
/haiku/src/servers/media/
H A DNotificationManager.cpp89 msg->FindData("node", B_RAW_TYPE, reinterpret_cast<const void **>(&node), in RequestNotifications()
125 msg->FindData("node", B_RAW_TYPE, reinterpret_cast<const void **>(&node), in CancelNotifications()
213 msg->FindData("node", B_RAW_TYPE, in SendNotifications()
221 msg->FindData("source", B_RAW_TYPE, in SendNotifications()
224 msg->FindData("destination", B_RAW_TYPE, in SendNotifications()
/haiku/src/preferences/bluetooth/
H A DBluetoothSettings.cpp61 status_t status = fSettingsMessage.FindData("BDAddress", B_RAW_TYPE, in LoadSettings()
69 status = fSettingsMessage.FindData("DeviceClass", B_RAW_TYPE, in LoadSettings()
/haiku/src/apps/cortex/AddOnHost/
H A DAddOnHostApp.cpp84 err = message->FindData("info", B_RAW_TYPE, &data, &dataSize); in MessageReceived()
130 err = message->FindData("info", B_RAW_TYPE, &data, &dataSize); in MessageReceived()
/haiku/src/apps/patchbay/
H A DEndpointInfo.cpp106 if (msg->FindData(VECTOR_ICON_NAME, VECTOR_ICON_TYPE, &data, in CreateIcon()
136 if (msg->FindData(iconName, iconType, &data, &size) == B_OK) { in CreateIcon()
/haiku/src/libs/print/libprint/
H A DPrintUtils.cpp145 if (!overwrite && to->FindData(name, type, 0, &data, &size) == B_OK) in AddFields()
152 if (from->FindData(name, type, j, &data, &size) == B_OK) { in AddFields()
/haiku/src/add-ons/translators/wonderbrush/support/
H A Dbitmap_compression.cpp137 if (((ret = from->FindData(fieldName, in extract_bitmap()
141 || (ret = from->FindData("current compressed data", in extract_bitmap()
/haiku/src/tests/kits/app/bclipboard/
H A DReadWriteTester.cpp115 data->FindData("text/plain",B_MIME_TYPE, (const void **)&str, &size); in Revert2()
167 data->FindData("text/plain",B_MIME_TYPE, (const void **)&str, &size); in Commit2()
216 data->FindData("text/plain",B_MIME_TYPE, (const void **)&str, &size); in Data2()
/haiku/src/kits/mail/
H A Dcrypt.cpp20 …if (msg->FindData(name,B_RAW_TYPE,(const void **)&encryptedPassword,&length) < B_OK || !encryptedP… in get_passwd()
H A DNodeMessage.cpp33 m.FindData (name,type,0,&data,&bytes); in operator <<()
/haiku/src/apps/haikudepot/model/
H A DCaptcha.cpp31 if (from->FindData(KEY_PNG_IMAGE_DATA, B_ANY_TYPE, &data, &len) != B_OK) in Captcha()
/haiku/headers/private/kernel/util/
H A DKMessage.h83 status_t FindData(const char* name, type_code type,
85 status_t FindData(const char* name, type_code type,
353 status_t error = FindData(name, type, index, &data, &size); in _FindType()
461 return FindData(name, B_STRING_TYPE, index, (const void**)value, &size); in FindString()
570 if (FindData(name, B_STRING_TYPE, index, (const void**)&value, &size) in GetString()
/haiku/src/kits/debugger/debugger_interface/remote/
H A DRemoteDebugRequest.cpp265 status_t error = data.FindData("data", B_RAW_TYPE, &messageData, in LoadSpecificInfoFromMessage()
580 status_t error = data.FindData("state", B_RAW_TYPE, (const void**)&buffer, in LoadSpecificInfoFromMessage()
823 error = data.FindData("data", B_RAW_TYPE, &messageData, &numBytes); in LoadSpecificInfoFromMessage()
889 status_t error = data.FindData("state", B_RAW_TYPE, (const void**)&buffer, in LoadSpecificInfoFromMessage()
/haiku/src/preferences/backgrounds/
H A DBackgrounds.cpp73 if (message->WasDropped() && message->FindData("RGBColor", B_RGB_COLOR_TYPE, in MessageReceived()
/haiku/src/servers/app/
H A DCursorSet.cpp191 if (message.FindData("_data", B_RAW_TYPE, (const void **)&buffer, in FindCursor()
244 if (message.FindData("_data", B_RAW_TYPE, (const void **)&buffer, in FindCursor()
/haiku/src/system/libroot/posix/
H A Dgrp.cpp100 || (error = sGroupDBReply.FindData("entries", B_RAW_TYPE, in init_group_db()
255 || reply.FindData("groups", B_INT32_TYPE, (const void**)&groups, in getgrouplist()
/haiku/src/apps/resedit/
H A DBitmapView.cpp206 if (response.FindData("image/jpeg", B_MIME_DATA, in MessageReceived()
209 if (response.FindData("image/png", B_PNG_FORMAT, in MessageReceived()
579 status = datamsg.FindData("_data", B_RAW_TYPE, (const void **)&buffer, &bufferLength); in BitmapFromClipboard()
609 status = flattened.FindData("_data", B_RAW_TYPE, (const void **)&buffer, &bufferLength); in BitmapFromClipboard()

123456