Home
last modified time | relevance | path

Searched refs:FindInt32 (Results 1 – 25 of 575) sorted by relevance

12345678910>>...23

/haiku/src/tests/kits/app/bmessage/
H A DMessageInt32ItemTest.cpp28 CPPUNIT_ASSERT(msg.FindInt32("an int32", &out) == B_NAME_NOT_FOUND); in MessageInt32ItemTest1()
30 CPPUNIT_ASSERT(msg.FindInt32("an int32") == 0); in MessageInt32ItemTest1()
46 CPPUNIT_ASSERT(msg.FindInt32("an int32") == in); in MessageInt32ItemTest2()
47 CPPUNIT_ASSERT(msg.FindInt32("an int32", &out) == B_OK); in MessageInt32ItemTest2()
66 CPPUNIT_ASSERT(msg.FindInt32("an int32") == in2); in MessageInt32ItemTest3()
67 CPPUNIT_ASSERT(msg.FindInt32("an int32", &out) == B_OK); in MessageInt32ItemTest3()
82 CPPUNIT_ASSERT(msg.FindInt32("an int32", 1, &out) == B_NAME_NOT_FOUND); in MessageInt32ItemTest4()
84 CPPUNIT_ASSERT(msg.FindInt32("an int32", 1) == 0); in MessageInt32ItemTest4()
109 CPPUNIT_ASSERT(msg.FindInt32("an int32", i) == in[i]); in MessageInt32ItemTest5()
110 CPPUNIT_ASSERT(msg.FindInt32("an int32", i, &out) == B_OK); in MessageInt32ItemTest5()
[all …]
H A DMessageInt32ItemTest.h29 &BMessage::FindInt32,
30 &BMessage::FindInt32,
31 &BMessage::FindInt32,
H A DBMessageCases73 status_t FindInt32(const char *name, int32 *value) const;
74 status_t FindInt32(const char *name, int32 index, int32 *val) const;
78 int32 FindInt32(const char *, int32 n = 0) const;
80 case: No item added. HasInt32() should return false; simple FindInt32() should
81 return 0; FindInt32() should return B_NAME_NOT_FOUND and set data param to
84 case: Add single item. HasInt32() should return true; simple FindInt32() should
85 return added item; FindInt32() should return B_OK and set data param to
89 FindInt32() should return replacement; FindInt32() should return B_OK and
94 FindInt32() should return 0; FindInt32() should return B_NAME_NOT_FOUND
99 FindInt32() should return added item; FindInt32() should return B_OK and set
[all …]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DNodeMonitoringEvent.cpp37 if (message->FindInt32("device", &volumeID) != B_OK in Init()
56 if (message->FindInt32("device", &volumeID) != B_OK in Init()
74 if (message->FindInt32("device", &volumeID) != B_OK in Init()
95 if (message->FindInt32("device", &volumeID) != B_OK in Init()
111 if (message->FindInt32("device", &volumeID) != B_OK in Init()
129 if (message->FindInt32("new device", &newVolumeID) != B_OK in Init()
130 || message->FindInt32("device", &volumeID) != B_OK in Init()
145 if (message->FindInt32("device", &volumeID) != B_OK) in Init()
/haiku/src/kits/storage/
H A DNodeMonitorHandler.cpp50 if (msg->FindInt32("opcode", &opcode) == B_OK) { in MessageReceived()
154 (msg->FindInt32("device", &device) != B_OK) || in HandleEntryCreated()
172 (msg->FindInt32("device", &device) != B_OK) || in HandleEntryRemoved()
195 (msg->FindInt32("device", &device) != B_OK) || in HandleEntryMoved()
196 (msg->FindInt32("node device", &deviceNode) != B_OK) || in HandleEntryMoved()
213 (msg->FindInt32("device", &device) != B_OK) || in HandleStatChanged()
214 (msg->FindInt32("fields", &statFields) != B_OK)) { in HandleStatChanged()
228 (msg->FindInt32("device", &device) != B_OK)) { in HandleAttrChanged()
242 if ((msg->FindInt32("new device", &new_device) != B_OK) || in HandleDeviceMounted()
243 (msg->FindInt32("device", &device) != B_OK) || in HandleDeviceMounted()
[all …]
H A DMimeType.cpp280 err = reply.FindInt32("result", &result); in Install()
310 err = reply.FindInt32("result", &result); in Delete()
447 err = signatures->FindInt32("result", &result); in GetSupportingApps()
502 err = reply.FindInt32("result", &result); in SetPreferredApp()
534 err = reply.FindInt32("result", &result); in SetAttrInfo()
569 err = reply.FindInt32("result", &result); in SetFileExtensions()
609 err = reply.FindInt32("result", &result); in SetShortDescription()
649 err = reply.FindInt32("result", &result); in SetLongDescription()
675 err = supertypes->FindInt32("result", &result); in GetInstalledSupertypes()
713 err = types->FindInt32("result", &result); in GetInstalledTypes()
[all …]
/haiku/src/tests/system/libroot/os/
H A Dsystem_watching_test.cpp137 if (message.FindInt32("opcode", &opcode) != B_OK) in main()
145 if (message.FindInt32("team", &teamID) == B_OK) in main()
156 if (message.FindInt32("team", &teamID) == B_OK) in main()
167 if (message.FindInt32("team", &teamID) == B_OK) in main()
179 if (message.FindInt32("thread", &threadID) == B_OK) in main()
190 if (message.FindInt32("thread", &threadID) == B_OK) in main()
201 if (message.FindInt32("thread", &threadID) == B_OK) in main()
/haiku/src/preferences/time/
H A DBaseView.cpp61 if (message->FindInt32("hour", &hour) != B_OK) in ChangeTime()
65 if (message->FindInt32("minute", &minute) != B_OK) in ChangeTime()
69 if (message->FindInt32("second", &second) != B_OK) in ChangeTime()
77 if (message->FindInt32("day", &day) != B_OK) in ChangeTime()
81 if (message->FindInt32("year", &year) != B_OK) in ChangeTime()
85 if (message->FindInt32("month", &month) != B_OK) in ChangeTime()
H A DDateTimeView.cpp87 message->FindInt32(B_OBSERVE_WHAT_CHANGE, &change); in MessageReceived()
216 if (message->FindInt32("month", &month) == B_OK in _UpdateDateTime()
217 && message->FindInt32("day", &day) == B_OK in _UpdateDateTime()
218 && message->FindInt32("year", &year) == B_OK) { in _UpdateDateTime()
234 if (message->FindInt32("hour", &hour) == B_OK in _UpdateDateTime()
235 && message->FindInt32("minute", &minute) == B_OK in _UpdateDateTime()
236 && message->FindInt32("second", &second) == B_OK) { in _UpdateDateTime()
/haiku/src/kits/screensaver/
H A DScreenSaverSettings.cpp57 if (fSettings.FindInt32("windowtab", &value) == B_OK) in Load()
59 if (fSettings.FindInt32("timeflags", &value) == B_OK) in Load()
62 if (fSettings.FindInt32("timefade", &value) == B_OK) in Load()
64 if (fSettings.FindInt32("timestandby", &value) == B_OK) in Load()
66 if (fSettings.FindInt32("timesuspend", &value) == B_OK) in Load()
68 if (fSettings.FindInt32("timeoff", &value) == B_OK) in Load()
71 if (fSettings.FindInt32("cornernow", &value) == B_OK) in Load()
73 if (fSettings.FindInt32("cornernever", &value) == B_OK) in Load()
79 if (fSettings.FindInt32("lockdelay", &value) == B_OK) in Load()
/haiku/src/preferences/input/
H A DInputMouse.cpp89 if (message->FindInt32("be:value", &type) == B_OK) { in MessageReceived()
103 if (message->FindInt32("be:value", &mode) == B_OK) { in MessageReceived()
116 if (message->FindInt32("mode_focus_follows_mouse", &mode) == B_OK) { in MessageReceived()
147 if (message->FindInt32("be:value", &value) == B_OK) { in MessageReceived()
159 if (message->FindInt32("be:value", &value) == B_OK) { in MessageReceived()
172 if (message->FindInt32("be:value", &value) == B_OK) { in MessageReceived()
186 if (message->FindInt32("index", &index) == B_OK in MessageReceived()
187 && message->FindInt32("button", &button) == B_OK) { in MessageReceived()
/haiku/src/add-ons/screen_savers/glife/
H A DGLifeState.h49 if (pbmPrefs->FindInt32("gridWidth", &fGridWidth) != B_OK) in RestoreState()
51 if (pbmPrefs->FindInt32("gridHeight", &fGridHeight) != B_OK) in RestoreState()
53 if (pbmPrefs->FindInt32("gridBorder", &fGridBorder) != B_OK) in RestoreState()
55 if (pbmPrefs->FindInt32("gridDelay", &fGridDelay) != B_OK) in RestoreState()
/haiku/src/libs/print/libprint/
H A DJobData.cpp138 return fSettings.FindInt32(key, &value) == B_OK; in HasInt()
147 fSettings.FindInt32(key, &value); in GetInt()
268 fPaper = (Paper)message->FindInt32(kJDPaper); in Load()
277 message->FindInt32(kJDResolution, &fResolutionID); in Load()
309 fOrientation = (Orientation)message->FindInt32(kJDOrientation); in Load()
358 fFirstPage = message->FindInt32(kJDFirstPage); in Load()
363 fLastPage = message->FindInt32(kJDLastPage); in Load()
368 fNup = message->FindInt32(kJDNup); in Load()
383 fPaperSource = (PaperSource)fMsg->FindInt32(kJDPaperSource); in Load()
391 fCopies = message->FindInt32(kJDCopies); in Load()
[all …]
/haiku/src/servers/net/
H A DPPPServer.cpp64 if (message->FindInt32("interface", reinterpret_cast<int32*>(&id)) != B_OK) in HandleReportMessage()
68 message->FindInt32("type", &type); in HandleReportMessage()
69 message->FindInt32("code", &code); in HandleReportMessage()
/haiku/src/apps/icon-o-matic/generic/gui/stateview/
H A DStateView.cpp53 if (message->FindInt32("raw_char", (int32*)&key) >= B_OK in Filter()
54 && message->FindInt32("modifiers", (int32*)&modifiers) >= B_OK) in Filter()
68 if (message->FindInt32("raw_char", (int32*)&key) >= B_OK in Filter()
69 && message->FindInt32("modifiers", (int32*)&modifiers) >= B_OK) in Filter()
180 if (message->FindInt32("modifiers", (int32*)&mods) != B_OK) in MessageReceived()
205 if (!message || message->FindInt32("buttons", (int32*)&buttons) != B_OK) in MouseDown()
207 if (!message || message->FindInt32("clicks", (int32*)&clicks) != B_OK) in MouseDown()
300 && message->FindInt32("raw_char", (int32*)&key) >= B_OK in KeyDown()
301 && message->FindInt32("modifiers", (int32*)&modifiers) >= B_OK) { in KeyDown()
316 && message->FindInt32("raw_char", (int32*)&key) >= B_OK in KeyUp()
[all …]
/haiku/src/system/libroot/posix/
H A Dshadow.cpp55 if ((error = sShadowPwdDBReply.FindInt32("count", &count)) != B_OK in init_shadow_pwd_db()
178 || (error = reply.FindInt32("last changed", &lastChanged)) != B_OK in getspnam_r()
179 || (error = reply.FindInt32("min", &min)) != B_OK in getspnam_r()
180 || (error = reply.FindInt32("max", &max)) != B_OK in getspnam_r()
181 || (error = reply.FindInt32("warn", &warn)) != B_OK in getspnam_r()
182 || (error = reply.FindInt32("inactive", &inactive)) != B_OK in getspnam_r()
183 || (error = reply.FindInt32("expiration", &expiration)) != B_OK in getspnam_r()
184 || (error = reply.FindInt32("flags", &flags)) != B_OK) { in getspnam_r()
/haiku/src/apps/switcher/
H A DSwitcher.cpp54 uint32 location = (uint32)message->FindInt32("location"); in MessageReceived()
62 (team_id)message->FindInt32("team")); in MessageReceived()
71 if (message->FindInt32("location", (int32*)&location) == B_OK) in MessageReceived()
/haiku/src/kits/app/
H A DClipboard.cpp51 handlerReply.FindInt32("result", &result); in BClipboard()
105 && reply.FindInt32("count", &value) == B_OK) in SystemCount()
123 reply.FindInt32("result", &result); in StartWatching()
141 if (reply.FindInt32("result", &result) == B_OK) in StopWatching()
214 if (reply.FindInt32("count", &count) == B_OK) in Commit()
296 && reply.FindInt32("count", (int32 *)&fCount) == B_OK) in _DownloadFromSystem()
/haiku/src/kits/tracker/
H A DViewState.cpp151 if (message.FindInt32(kColumnAlignmentName, index, (int32*)&fAlignment) in BColumn()
159 if (message.FindInt32(kColumnAttrHashName, index, (int32*)&fAttrHash) in BColumn()
164 if (message.FindInt32(kColumnAttrTypeName, index, (int32*)&fAttrType) in BColumn()
237 if (message.FindInt32(kColumnVersionName, index, &messageVersion) != B_OK) in InstantiateFromMessage()
373 message.FindInt32(kViewStateViewModeName, (int32*)&fViewMode); in BViewState()
374 message.FindInt32(kViewStateLastIconModeName, (int32*)&fLastIconMode); in BViewState()
375 message.FindInt32(kViewStateLastIconSizeName,(int32*)&fLastIconSize); in BViewState()
376 message.FindInt32(kViewStateIconSizeName, (int32*)&fIconSize); in BViewState()
379 message.FindInt32(kViewStatePrimarySortAttrName, in BViewState()
381 message.FindInt32(kViewStatePrimarySortTypeName, in BViewState()
[all …]
/haiku/src/apps/serialconnect/
H A DSerialWindow.cpp386 if (message->FindInt32("databits", (int32*)&dataBits) == B_OK) { in MessageReceived()
390 item->Message()->FindInt32("databits", &code); in MessageReceived()
397 if (message->FindInt32("stopbits", (int32*)&stopBits) == B_OK) { in MessageReceived()
401 item->Message()->FindInt32("stopbits", &code); in MessageReceived()
408 if (message->FindInt32("parity", (int32*)&parity) == B_OK) in MessageReceived()
413 item->Message()->FindInt32("parity", &code); in MessageReceived()
420 if (message->FindInt32("flowcontrol", (int32*)&flowcontrol) in MessageReceived()
425 item->Message()->FindInt32("flowcontrol", &code); in MessageReceived()
432 if (message->FindInt32("baudrate", &baudrate) == B_OK) { in MessageReceived()
438 item->Message()->FindInt32("baudrate", &code); in MessageReceived()
[all …]
H A DSerialApp.cpp206 if (message->FindInt32("databits", (int32*)&dataBits) == B_OK) in MessageReceived()
209 if (message->FindInt32("stopbits", (int32*)&stopBits) == B_OK) in MessageReceived()
212 if (message->FindInt32("parity", (int32*)&parity) == B_OK) in MessageReceived()
215 if (message->FindInt32("flowcontrol", (int32*)&flowcontrol) == B_OK) in MessageReceived()
218 if (message->FindInt32("baudrate", &baudrate) == B_OK) { in MessageReceived()
249 int32 rate = message->FindInt32("data"); in MessageReceived()
261 int32 bits = message->FindInt32("data"); in MessageReceived()
273 int32 bits = message->FindInt32("data"); in MessageReceived()
/haiku/src/kits/interface/
H A DDeskbar.cpp111 if (reply.FindInt32("location", &value) == B_OK) in Location()
276 result = reply.FindInt32("id", _id); in GetItemInfo()
317 return reply.FindInt32("count"); in CountItems()
367 result = reply.FindInt32("id", _id); in AddItem()
369 reply.FindInt32("error", &result); in AddItem()
386 status = reply.FindInt32("id", _id); in AddItem()
388 reply.FindInt32("error", &status); in AddItem()
/haiku/src/kits/shared/
H A DLongAndDragTrackingFilter.cpp80 message->FindInt32("buttons", (int32*)&fClickButtons); in Filter()
81 message->FindInt32("clicks", (int32*)&clicks); in Filter()
104 message->FindInt32("buttons", (int32*)&fClickButtons); in Filter()
/haiku/src/bin/network/ppp_up/
H A DPPPDeskbarReplicant.cpp38 message->FindInt32("interface", reinterpret_cast<int32*>(&fID)); in PPPDeskbarReplicant()
92 message->FindInt32("type", &type); in MessageReceived()
110 Looper()->CurrentMessage()->FindInt32("buttons", &fLastButtons); in MouseDown()
/haiku/src/apps/cortex/InfoView/
H A DInfoWindowManager.cpp532 if (message->FindInt32("nodeID", &nodeID) != B_OK) { in MessageReceived()
541 if (message->FindInt32("addOnID", &info.addon) != B_OK) { in MessageReceived()
544 if (message->FindInt32("flavorID", &info.flavor_id) != B_OK) { in MessageReceived()
553 if (message->FindInt32("source_port", &source.port) != B_OK) { in MessageReceived()
556 if (message->FindInt32("source_id", &source.id) != B_OK) { in MessageReceived()
560 if (message->FindInt32("destination_port", &destination.port) != B_OK) { in MessageReceived()
563 if (message->FindInt32("destination_id", &destination.id) != B_OK) { in MessageReceived()
572 if (message->FindInt32("destination_port", &destination.port) != B_OK) { in MessageReceived()
575 if (message->FindInt32("destination_id", &destination.id) != B_OK) { in MessageReceived()
584 if (message->FindInt32("source_port", &source.port) != B_OK) { in MessageReceived()
[all …]

12345678910>>...23