Searched refs:predicate (Results 1 - 25 of 25) sorted by relevance

/haiku/src/kits/debugger/dwarf/
H A DDwarfUtils.h41 const Predicate& predicate);
47 DwarfUtils::GetDIEByPredicate(EntryType* entry, const Predicate& predicate) argument
49 if (predicate(entry))
56 if (predicate(entry))
64 if (predicate(entry))
72 if (predicate(entry))
/haiku/src/kits/storage/
H A DQueryPredicate.cpp11 BQuery predicate helper classes implementation.
181 AttributeNode::GetString(BString &predicate) argument
183 predicate.SetTo(fAttribute);
230 StringNode::GetString(BString &predicate) argument
234 predicate.SetTo("");
235 predicate << "\"" << escaped << "\"";
251 DateNode::GetString(BString &predicate) argument
255 predicate.SetTo("");
256 predicate << "%" << escaped << "%";
266 ValueNode<float>::GetString(BString &predicate) argument
283 GetString(BString &predicate) argument
309 GetString(BString &predicate) argument
326 GetString(BString &predicate) argument
353 GetString(BString &predicate) argument
[all...]
H A DQuery.cpp67 // delete the predicate stack and the predicate
81 // Pushes an attribute name onto the predicate stack.
89 // Pushes an operator onto the predicate stack.
119 // Pushes a uint32 onto the predicate stack.
127 // Pushes an int32 onto the predicate stack.
135 // Pushes a uint64 onto the predicate stack.
143 // Pushes an int64 onto the predicate stack.
151 // Pushes a float onto the predicate stack.
159 // Pushes a double onto the predicate stac
263 GetPredicate(BString* predicate) argument
507 BString predicate; local
[all...]
/haiku/headers/private/storage/
H A DQueryPredicate.h7 BQuery predicate helper classes interface declaration.
31 virtual status_t GetString(BString &predicate) = 0;
79 virtual status_t GetString(BString &predicate);
90 virtual status_t GetString(BString &predicate);
103 virtual status_t GetString(BString &predicate);
115 virtual status_t GetString(BString &predicate);
132 ValueNode<ValueType>::GetString(BString &predicate) argument
134 predicate.SetTo("");
135 predicate << fValue;
140 template<> status_t ValueNode<float>::GetString(BString &predicate);
[all...]
/haiku/src/bin/
H A Dquery.cpp57 perform_query(BVolume &volume, const char *predicate) argument
65 query.SetPredicate(predicate);
71 string << predicate; local
93 if (sLocalizedAppNames && predicate != NULL) {
100 if (string.IFindFirst(predicate) < 0)
/haiku/src/tests/system/kernel/
H A Dlive_query.cpp53 const char* predicate);
161 const char* predicate; local
163 || message->FindString("predicate", &predicate) != B_OK)
169 // Set up the volume and predicate for the query.
171 query->SetPredicate(predicate);
230 LiveQuery::_AddQuery(BVolume& volume, const char* predicate) argument
234 add.AddString("predicate", predicate);
/haiku/src/libs/print/libprint/
H A DPrinterCap.cpp324 PrinterCap::FindCap(CapID category, Predicate& predicate) const
332 if (predicate(*base_cap)) {
344 IDPredicate predicate(id);
345 return static_cast<const EnumCap*>(FindCap(category, predicate));
352 LabelPredicate predicate(label);
353 return FindCap(category, predicate);
360 KeyPredicate predicate(key);
361 return static_cast<const EnumCap*>(FindCap(category, predicate));
H A DJobSetupDlg.cpp558 PrinterCap::KeyPredicate predicate(value.c_str());
561 categoryCount, predicate);
706 const BaseCap** capabilities, int count, Predicate& predicate)
730 if (predicate(capability)) {
752 PrinterCap::IDPredicate predicate(id);
755 FillCapabilityMenu(menu, message, capabilities, count, predicate);
763 PrinterCap::IDPredicate predicate(id);
764 FillCapabilityMenu(menu, message, capabilities, count, predicate);
705 FillCapabilityMenu(BPopUpMenu* menu, uint32 message, const BaseCap** capabilities, int count, Predicate& predicate) argument
/haiku/src/apps/mail/
H A DQueryList.h40 status_t Init(const char* predicate,
58 const char* predicate);
H A DQueryList.cpp65 QueryList::Init(const char* predicate, BVolume* specificVolume) argument
83 _AddVolume(volume, predicate);
86 _AddVolume(*specificVolume, predicate);
193 QueryList::_AddVolume(BVolume& volume, const char* predicate) argument
197 || query->SetPredicate(predicate) != B_OK
H A DMailWindow.cpp1470 char predicate[128]; local
1471 sprintf(predicate, "%s = *", INDEX_SIGNATURE);
1472 query.SetPredicate(predicate);
/haiku/src/bin/filteredquery/
H A Dquery.cpp80 perform_query(BVolume &volume, const char *predicate, const char *filterpath) argument
84 // Set up the volume and predicate for the query.
86 query.SetPredicate(predicate);
98 string << predicate; local
/haiku/src/kits/shared/
H A DQueryFile.cpp150 BString predicate; local
151 query.GetPredicate(&predicate);
153 fStatus = SetPredicate(predicate.String());
173 BQueryFile::SetPredicate(const char* predicate) argument
175 fPredicate = predicate;
/haiku/headers/private/shared/
H A DQueryFile.h31 status_t SetPredicate(const char* predicate);
/haiku/src/kits/support/
H A DPointerList.cpp224 _PointerList_::UnaryPredicateGlue predicate)
225 : fPredicate(predicate)
357 UnaryPredicateGlue predicate) const
359 PointerListHelperUsePredicate helper(predicate);
223 PointerListHelperUsePredicate( _PointerList_::UnaryPredicateGlue predicate) argument
/haiku/src/tests/kits/storage/
H A DQueryTest.cpp581 //printf("predicate: `%s'\n", predicateString.String());
588 printf("predicate: `%s'\n", predicateString.String());
593 BString predicate; local
594 // CPPUNIT_ASSERT( query.GetPredicate(&predicate) == getResult );
595 error = query.GetPredicate(&predicate);
597 printf("predicate: `%s'\n", predicateString.String());
604 CPPUNIT_ASSERT( predicateString == predicate );
636 BString predicate; local
637 CPPUNIT_ASSERT( query.GetPredicate(&predicate) == B_OK );
638 CPPUNIT_ASSERT( predicateString == predicate );
686 BString predicate; local
792 BString predicate; local
806 BString predicate; local
828 BString predicate; local
983 TestFetchPredicateInit(Query &query, TestSet &testSet, const char *mountPoint, const char *predicate, QueryTestEntry **entries, int32 entryCount) argument
1003 TestFetchPredicate(const char *mountPoint, const char *predicate, QueryTestEntry **entries, int32 entryCount) argument
[all...]
/haiku/src/system/libroot/posix/stdlib/
H A Dexit.cpp148 call_exit_hooks(const Predicate& predicate) argument
157 if (predicate(info)) {
/haiku/headers/os/storage/
H A DQuery.h70 status_t GetPredicate(BString* predicate);
/haiku/src/kits/tracker/
H A DNodeWalker.h149 TQueryWalker(const char* predicate);
H A DNodeWalker.cpp636 TQueryWalker::TQueryWalker(const char* predicate) argument
641 fPredicate = strdup(predicate);
H A DFindPanel.cpp365 FindWindow::GetPredicateString(BString& predicate, bool& dynamicDate) argument
371 query.GetPredicate(&predicate);
379 predicate.SetTo(textControl->Text(), 1023);
385 query.GetPredicate(&predicate);
442 BString predicate; local
444 GetPredicateString(predicate, dynamicDate);
445 file->WriteAttrString(kAttrQueryString, &predicate);
616 // generated from the predicate, etc.
/haiku/headers/libs/print/libprint/
H A DJobSetupDlg.h130 Predicate& predicate);
H A DPrinterCap.h288 const BaseCap* FindCap(CapID category, Predicate& predicate) const;
/haiku/headers/os/support/
H A DObjectList.h180 // matches predicate
246 // existing item that matches the predicate
655 BObjectList<T>::FindIf(const UnaryPredicate<T>& predicate) const
659 if (predicate.operator()(ItemAt(index)) == 0)
667 BObjectList<T>::FindIf(const UnaryPredicate<T>& predicate) argument
671 if (predicate.operator()(ItemAt(index)) == 0)
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DTeamWindow.cpp2122 BString predicate; local
2127 error = query.GetPredicate(&predicate);
2140 error = query.SetPredicate(predicate.String());

Completed in 269 milliseconds