Searched refs:expression (Results 1 - 25 of 49) sorted by last modified time

12

/haiku/src/kits/package/
H A DPackageInfo.cpp623 BPackageInfo::Matches(const BPackageResolvableExpression& expression) const
626 if (expression.Name().StartsWith("pkg:")) {
627 return fName == expression.Name().String() + 4
628 && expression.Matches(fVersion, fVersion);
635 if (expression.Matches(*provides))
1308 const BPackageResolvableExpression* expression = expressions.ItemAt(i); local
1310 if ((error = archive->AddString(nameField, expression->Name())) != B_OK
1312 expression->Operator())) != B_OK
1314 expression->Version())) != B_OK) {
1587 BPackageResolvableExpression* expression
[all...]
/haiku/headers/os/package/
H A DPackageInfo.h115 expression) const;
/haiku/src/apps/deskcalc/
H A DExpressionTextView.cpp30 InputTextView(frame, "expression text view",
75 // Handle expression history
98 // As soon as something is typed, we are at the end of the expression
103 // If changes where not applied the value has become a new expression
186 ExpressionTextView::SetExpression(const char* expression) argument
188 SetText(expression);
189 int32 lastPos = strlen(expression);
375 ExpressionTextView::AddExpressionToHistory(const char* expression) argument
382 if (*item == expression && fPreviousExpressions.RemoveItem(i)) {
389 BString* item = new (nothrow) BString(expression);
[all...]
H A DCalcView.cpp511 // render border around expression text view
741 // layout expression text view
752 // configure expression text view font size and color
815 BString expression = fExpressionTextView->Text();
817 expression.String(), expression.Length()) == B_OK) {
841 BString expression(buffer);
842 int32 j = expression.Length();
843 while (j > 0 && expression[j - 1] == '\n')
845 expression
[all...]
H A DExpressionTextView.h45 void SetExpression(const char* expression);
51 void AddExpressionToHistory(const char* expression);
/haiku/src/kits/tracker/
H A DTracker.cpp768 BString expression; local
769 expression << "^";
770 expression << name;
771 expression << "$";
775 selectMessage->AddString("Expression", expression);
H A DPoseView.cpp6562 BString expression; local
6572 expression = expressionPointer;
6580 // Make sure we don't have any errors in the expression
6583 regExpression.SetTo(expression);
6587 B_TRANSLATE("Error in regular expression:\n\n'%errstring'"));
6598 // function compiles the expression for every entry. One could use
6599 // TrackerString::CompileRegExp and reuse the expression. However, then we
6604 if (name.Matches(expression.String(), !ignoreCase, expressionType)
H A DSelectionWindow.cpp85 menu->AddItem(new BMenuItem(B_TRANSLATE("matches wildcard expression"),
87 menu->AddItem(new BMenuItem(B_TRANSLATE("matches regular expression"),
97 // Set up the expression text control
98 fExpressionTextControl = new BTextControl("expression", NULL, "", NULL);
152 BString expression; local
153 Expression(expression);
154 selectionInfo->AddString("Expression", expression.String());
/haiku/src/kits/debugger/dwarf/
H A DDwarfFile.h70 const void* expression,
H A DDwarfFile.cpp113 // set flag already to prevent recursion for a buggy expression
123 // get the expression
124 const void* expression; local
127 fInstructionPointer, expression, expressionLength);
131 // evaluate the expression
133 error = evaluator.Evaluate(expression, expressionLength,
167 // get the expression
784 DIESubprogram* subprogramEntry, const void* expression,
797 return evaluator.Evaluate(expression, expressionLength, _result);
809 // get the expression
783 EvaluateExpression(CompilationUnit* unit, uint8 addressSize, bool isBigEndian, DIESubprogram* subprogramEntry, const void* expression, off_t expressionLength, const DwarfTargetInterface* targetInterface, target_addr_t instructionPointer, target_addr_t framePointer, target_addr_t valueToPush, bool pushValue, target_addr_t& _result) argument
810 const void* expression; local
3194 const void* expression = dataReader.Data(); local
[all...]
H A DDwarfExpressionEvaluator.h66 status_t Evaluate(const void* expression, size_t size,
68 status_t EvaluateLocation(const void* expression,
H A DDwarfExpressionEvaluator.cpp31 // maximum number of operations we allow to be performed for a single expression
143 DwarfExpressionEvaluator::Evaluate(const void* expression, size_t size, argument
146 fDataReader.SetTo(expression, size, fContext->AddressSize(), fContext->IsBigEndian());
165 DwarfExpressionEvaluator::EvaluateLocation(const void* expression, size_t size, argument
170 // the empty expression is a valid one
178 fDataReader.SetTo(expression, size, fContext->AddressSize(), fContext->IsBigEndian());
180 // parse the first (and maybe only) expression
192 // if that's all, it's only a simple expression without composition
243 // each expression must be followed by a composition operator
586 "DW_OP_regx in non-location expression");
[all...]
H A DAttributeValue.h247 } expression; member in union:MemberLocation::__anon9
270 && expression.data != NULL;
286 expression.data = data;
287 expression.length = length;
305 } expression; // location expression member in union:LocationDescription::__anon11
313 expression.data = NULL;
314 expression.length = 0;
320 && expression.data != NULL;
341 expression
[all...]
/haiku/src/kits/debugger/debug_info/
H A DDwarfTypes.cpp947 memberLocation->expression.data,
948 memberLocation->expression.length);
/haiku/src/system/kernel/debug/
H A Ddebug.cpp2084 parse_expression(const char* expression) argument
2087 return evaluate_debug_expression(expression, &result, true) ? result : 0;
H A Ddebug_parser.cpp28 expression := term | assignment
30 expression
36 dereference := "*" [ "{" expression "}" ] unary
37 atom := variable | ( "(" expression ")" ) | ( "[" command "]" )
43 argument := ( "(" expression ")" ) | ( "[" commandLine "]" )
842 // this starts an expression
1102 parse_exception("unexpected end of expression", token.position);
1125 // it can only be a "[ command ]" expression now
1160 evaluate_debug_expression(const char* expression, uint64* _result, bool silent) argument
1174 result = ExpressionParser().EvaluateExpression(expression);
[all...]
/haiku/src/apps/debugger/user_interface/cli/
H A DCliContext.cpp298 CliContext::EvaluateExpression(const char* expression, argument
302 fExpressionInfo->SetTo(expression);
325 printf("Unable to evaluate expression: %s\n",
H A DCliContext.h85 status_t EvaluateExpression(const char * expression,
/haiku/src/add-ons/kernel/file_systems/bfs/
H A Dkernel_interface.cpp2271 Expression* expression = new(std::nothrow) Expression((char*)queryString); local
2272 if (expression == NULL)
2275 if (expression->InitCheck() < B_OK) {
2277 queryString, expression->Position()));
2279 delete expression;
2283 Query* query = new(std::nothrow) Query(volume, expression, flags);
2285 delete expression;
2312 Expression* expression = query->GetExpression(); local
2314 delete expression;
H A DQuery.cpp632 // inode matches with the rest of the expression - we don't have to
1087 FATAL(("Corrupt tree in expression!\n"));
1231 Query::Query(Volume* volume, Expression* expression, uint32 flags)
1234 fExpression(expression),
1241 // If the expression has a valid root pointer, the whole tree has
1244 if (volume == NULL || expression == NULL || expression->Root() == NULL)
1276 // put the whole expression on the stack
/haiku/src/bin/package/
H A DPackageInfoPrinter.h406 const BPackageResolvableExpression& expression) const
408 printf("\t%s: %s\n", fieldName, expression.ToString().String());
/haiku/src/bin/
H A Dleak_analyser.sh38 Exclude allocations that match a regular expression. The
39 expression is matched against the whole text block of the
46 and they will be ored to form the final expression.
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DVariablesView.cpp552 // for expression variables, always consider the initial
590 VariablesExpressionInfo(const BString& expression, ModelNode* node) argument
592 ExpressionInfo(expression),
2180 const char* expression; local
2181 if (message->FindString("expression", &expression) != B_OK)
2187 status_t error = _AddExpression(expression, persistentExpression,
2742 result = _AddContextAction("Add watch expression" B_UTF8_ELLIPSIS,
2748 result = _AddContextAction("Remove watch expression",
3168 VariablesView::_AddExpression(const char* expression, argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/etherpci/
H A Detherpci.c384 #define INTR_LOCK(data, expression) (expression)
398 #define INTR_LOCK(data, expression) (intr_lock(data), (expression), intr_unlock(data))
/haiku/src/kits/storage/
H A DQuery.cpp204 // Assigns the passed-in predicate expression.
206 BQuery::SetPredicate(const char* expression) argument
208 status_t error = (expression ? B_OK : B_BAD_VALUE);
212 error = _SetPredicate(expression);
459 \param expression The predicate string to set.
466 BQuery::_SetPredicate(const char* expression) argument
473 if (expression) {
474 fPredicate = new(nothrow) char[strlen(expression) + 1];
476 strcpy(fPredicate, expression);

Completed in 188 milliseconds

12