/haiku-fatelf/src/bin/findutils/find/ |
H A D | tree.c | 34 static struct predicate *scan_rest PARAMS((struct predicate **input, 35 struct predicate *head, 37 static void merge_pred PARAMS((struct predicate *beg_list, struct predicate *end_list, struct predicate **last_p)); 38 static struct predicate *set_new_parent PARAMS((struct predicate *curr, enum predicate_precedence high_prec, struct predicate **prevp)); 42 Set *INPUT to point at the next input predicate nod [all...] |
H A D | defs.h | 144 struct predicate; 146 /* Pointer to a predicate function. */ 147 typedef boolean (*PRED_FUNC)(char *pathname, struct stat *stat_buf, struct predicate *pred_ptr); 264 struct segment *next; /* Next segment for this predicate. */ 275 struct predicate struct 277 /* Pointer to the function that implements this predicate. */ 292 /* True if this predicate node produces side effects. 297 /* True if this predicate node requires default print be turned off. */ 300 /* True if this predicate node requires a stat system call to execute. */ 303 /* True if this predicate nod [all...] |
H A D | util.c | 38 /* Return a pointer to a new predicate structure, which has been 42 Set `last_pred' to point to the new last predicate in the list. 46 struct predicate * 49 register struct predicate *new_pred; 58 predicates = (struct predicate *) 59 xmalloc (sizeof (struct predicate)); 64 new_pred = (struct predicate *) xmalloc (sizeof (struct predicate)); 87 /* Return a pointer to a new predicate, with operator check. 89 predicate i [all...] |
H A D | pred.c | 150 static boolean insert_lname PARAMS((char *pathname, struct stat *stat_buf, struct predicate *pred_ptr, boolean ignore_case)); 156 typedef boolean (*PFB) (char *, struct stat *, struct predicate *); 261 *PRED_PTR contains information for applying the predicate. 263 Return true if the file passes this predicate, false if not. */ 274 pred_timewindow(time_t the_time, struct predicate const *pred_ptr, int window) 297 pred_amin (char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) 304 pred_and (char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) 321 pred_anewer (char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) 331 pred_atime (char *pathname, struct stat *stat_buf, struct predicate *pred_ptr) 338 pred_closeparen (char *pathname, struct stat *stat_buf, struct predicate *pred_pt [all...] |
H A D | parser.c | 309 parse_begin_user_args (char **args, int argno, const struct predicate *last, const struct predicate *predicates) 319 parse_end_user_args (char **args, int argno, const struct predicate *last, const struct predicate *predicates) 331 /* Return a pointer to the parser function to invoke for predicate 333 Return NULL if SEARCH_NAME is not a valid predicate name. */ 412 The predicate structure is updated with the new information. */ 417 struct predicate *our_pred; 438 struct predicate *our_pred; 457 struct predicate *our_pre [all...] |
H A D | find.c | 89 static void complete_pending_execdirs(struct predicate *p); 90 static void complete_pending_execs (struct predicate *p); 94 static boolean default_prints PARAMS((struct predicate *pred)); 100 struct predicate *predicates; 102 /* The last predicate allocated. */ 103 struct predicate *last_pred; 106 static struct predicate *eval_tree = NULL; 349 struct predicate *pred_ptr) 405 struct predicate *cur_pred; 406 char *predicate_name; /* Name of predicate bein [all...] |
/haiku-fatelf/src/kits/storage/ |
H A D | QueryPredicate.cpp | 11 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 D | Query.cpp | 71 // delete the predicate stack and the predicate 85 /*! \brief Pushes an attribute name onto the BQuery's predicate stack. 93 Calling PushXYZ() after a Fetch() does change the predicate on R5, 95 predicate can not even be used for the next query, since in order 97 to be called and Clear() also deletes the predicate. 106 /*! \brief Pushes an operator onto the BQuery's predicate stack. 114 Calling PushXYZ() after a Fetch() does change the predicate on R5, 116 predicate can not even be used for the next query, since in order 118 to be called and Clear() also deletes the predicate 453 GetPredicate(BString* predicate) argument 757 BString predicate; local [all...] |
/haiku-fatelf/headers/private/storage/ |
H A D | QueryPredicate.h | 7 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-fatelf/src/apps/debugger/dwarf/ |
H A D | DwarfUtils.h | 34 const Predicate& predicate); 40 DwarfUtils::GetDIEByPredicate(EntryType* entry, const Predicate& predicate) argument 42 if (predicate(entry)) 49 if (predicate(entry)) 57 if (predicate(entry))
|
/haiku-fatelf/src/bin/ |
H A D | query.cpp | 57 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-fatelf/src/tests/system/kernel/ |
H A D | live_query.cpp | 53 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-fatelf/src/libs/print/libprint/ |
H A D | PrinterCap.cpp | 324 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 D | JobSetupDlg.cpp | 558 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-fatelf/src/kits/shared/ |
H A D | QueryFile.cpp | 150 BString predicate; local 151 query.GetPredicate(&predicate); 153 fStatus = SetPredicate(predicate.String()); 173 BQueryFile::SetPredicate(const char* predicate) argument 175 fPredicate = predicate;
|
/haiku-fatelf/headers/private/shared/ |
H A D | QueryFile.h | 31 status_t SetPredicate(const char* predicate);
|
/haiku-fatelf/src/kits/support/ |
H A D | PointerList.cpp | 224 _PointerList_::UnaryPredicateGlue predicate) 225 : fPredicate(predicate) 357 UnaryPredicateGlue predicate) const 359 PointerListHelperUsePredicate helper(predicate); 223 PointerListHelperUsePredicate( _PointerList_::UnaryPredicateGlue predicate) argument
|
/haiku-fatelf/src/tests/kits/storage/ |
H A D | QueryTest.cpp | 578 //printf("predicate: `%s'\n", predicateString.String()); 585 printf("predicate: `%s'\n", predicateString.String()); 590 BString predicate; local 591 // CPPUNIT_ASSERT( query.GetPredicate(&predicate) == getResult ); 592 error = query.GetPredicate(&predicate); 594 printf("predicate: `%s'\n", predicateString.String()); 601 CPPUNIT_ASSERT( predicateString == predicate ); 633 BString predicate; local 634 CPPUNIT_ASSERT( query.GetPredicate(&predicate) == B_OK ); 635 CPPUNIT_ASSERT( predicateString == predicate ); 683 BString predicate; local 789 BString predicate; local 803 BString predicate; local 825 BString predicate; local 980 TestFetchPredicateInit(Query &query, TestSet &testSet, const char *mountPoint, const char *predicate, QueryTestEntry **entries, int32 entryCount) argument 1000 TestFetchPredicate(const char *mountPoint, const char *predicate, QueryTestEntry **entries, int32 entryCount) argument [all...] |
/haiku-fatelf/src/system/libroot/posix/stdlib/ |
H A D | exit.cpp | 148 call_exit_hooks(const Predicate& predicate) argument 157 if (predicate(info)) {
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_cond_timedwait/ |
H A D | s-c.c | 112 int * predicate;
member in struct:__anon6005 234 while ((ret == 0) && (*(dt->predicate) == 0));
269 int predicate;
local 278 td.predicate = &predicate;
337 predicate = 0;
356 predicate = 1;
413 predicate = 1;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/ |
H A D | 1-2.c | 174 int predicate; /* Boolean associated to the condvar */ member in struct:__anon5968 206 /* Wait while the predicate is false */ 212 output("[child] Wokenup timed=%i, Predicate=%i, ret=%i\n", timed, td->predicate, ret); 214 } while ((ret == 0) && (td->predicate==0)); 472 td->predicate=1;
|
/haiku-fatelf/headers/os/storage/ |
H A D | Query.h | 81 status_t GetPredicate(BString* predicate);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/ |
H A D | 1-2.c | 187 int predicate; /* Boolean associated to the condvar */ member in struct:__anon5954 219 /* Wait while the predicate is false */ 225 output("[child] Wokenup timed=%i, Predicate=%i, ret=%i\n", timed, td->predicate, ret); 227 } while ((ret == 0) && (td->predicate==0)); 566 td->predicate=1;
|
H A D | 2-3.c | 174 int predicate; /* Boolean associated to the condvar */ member in struct:__anon5956 216 /* Wait while the predicate is false */ 222 output("[child] Wokenup timed=%i, Predicate=%i, ret=%i\n", timed, td->predicate, ret); 224 } while ((ret == 0) && (td->predicate==0)); 504 td->predicate=1;
|
/haiku-fatelf/src/kits/tracker/ |
H A D | NodeWalker.h | 151 TQueryWalker(const char* predicate);
|