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

12

/haiku/headers/private/debugger/model/
H A DExpressionValues.h32 const BString* expression,
36 const BString& expression,
40 const BString* expression) const;
43 const BString& expression) const;
46 const BString& expression,
68 const BString& expression, BVariant& _value) const
70 return GetValue(function, thread, &expression, _value);
76 const BString& expression) const
78 return HasValue(function, thread, &expression);
67 GetValue(FunctionID* function, Thread* thread, const BString& expression, BVariant& _value) const argument
H A DExpressionInfo.h65 ExpressionInfo(const BString& expression);
68 void SetTo(const BString& expression);
/haiku/src/kits/tracker/
H A DTrackerString.h99 TrackerString::MatchesRegExp(const RegExp* expression) const
101 if (expression == NULL || expression->InitCheck() != B_OK)
104 return expression->Matches(*this);
109 TrackerString::MatchesRegExp(const RegExp &expression) const
111 if (expression.InitCheck() != B_OK)
114 return expression.Matches(*this);
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/apps/deskcalc/
H A DDeskCalc.cpp28 // evaluate expression from command line
29 BString expression; local
32 expression << argv[i];
38 BString result = parser.Evaluate(expression.String());
H A DExpressionTextView.h45 void SetExpression(const char* expression);
51 void AddExpressionToHistory(const char* expression);
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...]
/haiku/src/kits/debugger/model/
H A DExpressionValues.cpp20 BString expression; member in struct:ExpressionValues::Key
22 Key(FunctionID* function, ::Thread* thread, const BString& expression) argument
26 expression(expression)
33 ^ StringUtils::HashValue(expression);
40 && expression == other.expression;
50 const BString& expression)
52 Key(function, thread, expression)
111 if (SetValue(entry->function, entry->thread, entry->expression,
49 ValueEntry(FunctionID* function, ::Thread* thread, const BString& expression) argument
141 GetValue(FunctionID* function, ::Thread* thread, const BString* expression, BVariant& _value) const argument
162 SetValue(FunctionID* function, ::Thread* thread, const BString& expression, const BVariant& value) argument
[all...]
H A DExpressionInfo.cpp65 // it as a primitive, so the consumer of the expression
135 ExpressionInfo::ExpressionInfo(const BString& expression) argument
137 fExpression(expression)
143 ExpressionInfo::SetTo(const BString& expression) argument
145 fExpression = expression;
/haiku/src/kits/debugger/source_language/
H A DSourceLanguage.cpp24 SourceLanguage::EvaluateExpression(const BString& expression, argument
/haiku/src/kits/package/
H A DPathFinder.cpp26 find_package(const BPackageResolvableExpression& expression, argument
29 if (expression.InitCheck() != B_OK)
41 status_t error = packageManager.Solver()->FindPackages(expression.Name(),
49 if (package->Info().Matches(expression)
66 BPathFinder::BPathFinder(const BResolvableExpression& expression, argument
69 SetTo(expression, dependency);
74 BPathFinder::SetTo(const BResolvableExpression& expression, argument
78 fInitStatus = find_package(expression, versionedPackageName);
/haiku/headers/private/debugger/source_language/c_family/
H A DCLanguageFamily.h20 virtual status_t EvaluateExpression(const BString& expression,
/haiku/src/tools/update_package_requires/
H A Dupdate_package_requires.cpp52 update_requires_expression(BPackageResolvableExpression& expression, argument
60 if (!expression.Matches(*provides))
73 // Update the expression. Enforce the minimum found version, if the requires
77 switch (expression.Operator()) {
90 expression.SetTo(expression.Name(), newOperator, bestProvides->Version());
147 BPackageResolvableExpression expression = *it; local
148 ProvidesMap::iterator foundIt = providesMap.find(expression.Name());
150 update_requires_expression(expression, foundIt->second);
152 error = packageInfo.AddRequires(expression);
[all...]
/haiku/src/kits/debugger/value/value_nodes/
H A DExpressionValueNode.cpp51 ExpressionValueNodeChild::ExpressionValueNodeChild(const BString& expression, argument
54 fExpression(expression),
/haiku/src/add-ons/mail_daemon/inbound_filters/match_header/
H A DStringMatcher.h22 /** A utility class for doing globbing or regular expression matching. (A thin wrapper around the C regex calls) */
29 /** A constructor that sets the simple expression.
30 * @param matchString the wildcard pattern or regular expression to match with
38 * Set a new wildcard pattern or regular expression for this StringMatcher to use in future Match() calls.
39 * @param expression The new globbing pattern or regular expression to match with.
42 * @return True on success, false on error (e.g. expression wasn't parsable, or out of memory)
44 bool SetPattern(const char * const expression, bool isSimpleFormat=true);
46 /** Returns true iff (string) is matched by the current expression.
47 * @param string a string to match against using our current expression
[all...]
/haiku/src/kits/debugger/dwarf/
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...]
H A DDwarfExpressionEvaluator.h66 status_t Evaluate(const void* expression, size_t size,
68 status_t EvaluateLocation(const void* expression,
/haiku/headers/private/debugger/source_language/
H A DSourceLanguage.h32 virtual status_t EvaluateExpression(const BString& expression,
/haiku/src/build/libroot/
H A Dmisc.cpp27 _debuggerAssert(const char *file, int line, const char *expression) argument
30 snprintf(buffer, sizeof(buffer), "%s:%d: %s\n", file, line, expression);
/haiku/src/kits/debugger/source_language/c_family/
H A DCLanguageFamily.cpp44 CLanguageFamily::EvaluateExpression(const BString& expression, argument
52 _output = evaluator.Evaluate(expression, manager, info);
/haiku/headers/private/debugger/value/value_nodes/
H A DExpressionValueNode.h37 const BString& expression,
/haiku/headers/os/storage/
H A DPathFinder.h35 const BResolvableExpression& expression,
45 status_t SetTo(const BResolvableExpression& expression,
H A DQuery.h64 status_t SetPredicate(const char* expression);
89 status_t _SetPredicate(const char* expression);
/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);
/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.

Completed in 392 milliseconds

12