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

123456789

/haiku/src/libs/bsd/
H A Dstring.cpp15 // find the end of the token
16 char* token = *string; local
17 char* end = token;
21 // terminate the token and update the string pointer
28 return token;
/haiku/src/kits/app/
H A DTokenSpace.cpp20 // the default token space - all handlers will go into that one
25 BLocker("token space"),
42 int32 token = fTokenCount; local
45 fTokenMap[token] = tokenInfo;
52 return token;
57 Inserts the specified token into the token space. If that token
63 BTokenSpace::SetToken(int32 token, int16 type, void* object) argument
70 fTokenMap[token]
84 RemoveToken(int32 token) argument
101 CheckToken(int32 token, int16 type) const argument
114 GetToken(int32 token, int16 type, void** _object) const argument
131 SetHandlerTarget(int32 token, BDirectMessageTarget* target) argument
154 AcquireHandlerTarget(int32 token, BDirectMessageTarget** _target) argument
[all...]
/haiku/headers/private/app/
H A DTokenSpace.h20 // token types as specified in targets
25 // token types in the token list
42 bool SetToken(int32 token, int16 type, void* object);
44 bool RemoveToken(int32 token);
45 bool CheckToken(int32 token, int16 type) const;
46 status_t GetToken(int32 token, int16 type,
49 status_t SetHandlerTarget(int32 token,
51 status_t AcquireHandlerTarget(int32 token,
H A DMessengerPrivate.h27 void SetTo(team_id team, port_id port, int32 token) argument
28 { fMessenger->_SetTo(team, port, token); }
H A DMessagePrivate.h100 SetTarget(int32 token) argument
102 fMessage->fHeader->target = token;
180 SendMessage(port_id port, team_id portOwner, int32 token, argument
183 return fMessage->_SendMessage(port, portOwner, token,
188 SendMessage(port_id port, team_id portOwner, int32 token, argument
192 return fMessage->_SendMessage(port, portOwner, token,
212 int32 token, bigtime_t timeout)
215 port, token, timeout);
211 SendFlattenedMessage(void *data, int32 size, port_id port, int32 token, bigtime_t timeout) argument
/haiku/src/apps/haikudepot/server/
H A DJwtTokenHelper.cpp36 /*! A JWT token is split into three parts separated by a '.' character. The
39 about the token. This method will take a JWT token, will find the middle
44 JwtTokenHelper::ParseClaims(const BString& token, BMessage& message) argument
46 int firstDot = token.FindFirst('.');
53 int secondDot = token.FindFirst('.', firstDot + 1);
58 BMemoryIO memoryIo(&(token.String())[firstDot + 1], (secondDot - firstDot) - 1);
H A DJwtTokenHelper.h15 /*! The term "JWT" is short for "Java Web Token" and is a token format typically used to convey
16 proof of an authentication. The token is structured and contains three parts separated by the
30 static status_t ParseClaims(const BString& token,
/haiku/src/kits/shared/
H A DExpressionParser.cpp126 //printf("next token (recycled): '%s'\n", fCurrentToken.string.String());
269 //printf("next token: '%s'\n", fCurrentToken.string.String());
387 Token token = fTokenizer->NextToken(); local
388 if (token.type != TOKEN_END_OF_LINE)
389 throw ParseException("parse error", token.position);
423 Token token = fTokenizer->NextToken(); local
424 if (token.type != TOKEN_END_OF_LINE)
425 throw ParseException("parse error", token.position);
440 Token token = fTokenizer->NextToken(); local
441 if (token
485 Token token = fTokenizer->NextToken(); local
509 Token token = fTokenizer->NextToken(); local
543 Token token = fTokenizer->NextToken(); local
556 Token token = fTokenizer->NextToken(); local
602 _ParseFunction(const Token& token) argument
726 Token token = fTokenizer->NextToken(); local
795 Token token = fTokenizer->NextToken(); local
[all...]
/haiku/src/kits/support/
H A DArchivingManagers.cpp67 token(-1),
79 int32 token; member in struct:BArchiveManager::ArchiveInfo
113 _token = it->second.token;
133 info.token = fTokenMap.size() - 1;
144 _token = info.token;
174 pairs[info.token].first = info.archive;
175 pairs[info.token].second = it->first;
214 info.token = 0;
280 BUnarchiveManager::GetArchivableForToken(int32 token, argument
283 if (token >
314 IsInstantiated(int32 token) argument
380 int32 token = NULL_TOKEN; local
395 int32 token = NULL_TOKEN; local
[all...]
/haiku/headers/private/kernel/fs/
H A Dnode_monitor.h36 extern status_t _user_stop_notifying(port_id port, uint32 token);
38 port_id port, uint32 token);
40 uint32 token);
/haiku/headers/build/private/app/
H A DMessengerPrivate.h27 void SetTo(team_id team, port_id port, int32 token) argument
28 { fMessenger->_SetTo(team, port, token); }
/haiku/src/kits/storage/
H A DNodeMonitor.cpp36 int32 token = messengerPrivate.Token(); local
37 return _kern_start_watching(volume, (ino_t)-1, flags, port, token);
58 int32 token = messengerPrivate.Token(); local
65 return _kern_stop_watching(node->device, node->node, port, token);
72 B_WATCH_MOUNT, port, token);
85 token);
111 int32 token = messengerPrivate.Token(); local
113 return _kern_stop_notifying(port, token);
/haiku/src/kits/debugger/source_language/c_family/
H A DCLanguageExpressionEvaluator.cpp52 BString token; local
56 token = "+";
60 token = "-";
64 token = "*";
68 token = "/";
72 token = "%";
76 token = "(";
80 token = ")";
84 token = "&&";
88 token
1457 Token token = fTokenizer->NextToken(); local
1498 Token token = fTokenizer->NextToken(); local
1523 Token token = fTokenizer->NextToken(); local
1608 Token token = fTokenizer->NextToken(); local
1644 Token token = fTokenizer->NextToken(); local
1741 Token token = fTokenizer->NextToken(); local
1801 Token token = fTokenizer->NextToken(); local
1843 Token token = fTokenizer->NextToken(); local
1905 _RequestValueIfNeeded( const Token& token, ValueNodeChild* child) argument
1941 _GetNodeChildForPrimitive(const Token& token, const BVariant& value, ValueNodeChild*& _output) const argument
[all...]
H A DCLanguageFamilySyntaxHighlightInfo.cpp86 static bool IsLanguageKeyword(const Token& token) argument
94 int cmp = token.string.Compare(kLanguageKeywords[mid]);
103 return token.string.Compare(kLanguageKeywords[lower]) == 0;
270 const Token& token = fTokenizer->NextToken(); local
271 if (token.type == TOKEN_END_OF_LINE)
275 if (token.type == TOKEN_END_COMMENT_BLOCK)
281 } else if (token.type == TOKEN_INLINE_COMMENT) {
282 if (!_info->AddPair(token.position, SYNTAX_HIGHLIGHT_COMMENT))
287 syntax_highlight_type current = _MapTokenToSyntaxType(token);
292 if (!_info->AddPair(token
315 _MapTokenToSyntaxType(const Token& token) argument
[all...]
/haiku/headers/private/net/
H A Dnet_notifications.h33 uint32 token; member in struct:net_notifications_control
/haiku/src/servers/registrar/
H A DRosterAppInfo.h19 uint32 token; member in struct:RosterAppInfo
20 // token is meaningful only if state is APP_STATE_PRE_REGISTERED and
H A DMessageDeliverer.h20 virtual bool Next(port_id &port, int32 &token) = 0;
32 virtual bool Next(port_id &port, int32 &token);
45 SingleMessagingTargetSet(port_id port, int32 token);
49 virtual bool Next(port_id &port, int32 &token);
88 status_t _SendMessage(Message *message, port_id portID, int32 token);
H A DMessageDeliverer.cpp76 DefaultMessagingTargetSet::Next(port_id &port, int32 &token) argument
82 token = fTargets[fNextIndex].token;
112 SingleMessagingTargetSet::SingleMessagingTargetSet(port_id port, int32 token) argument
115 fToken(token),
134 SingleMessagingTargetSet::Next(port_id &port, int32 &token) argument
140 token = fToken;
232 object adds the token of a the target BHandler.
241 TargetMessage(Message *message, int32 token) argument
243 fToken(token)
357 PushMessage(Message *message, int32 token) argument
662 int32 token; local
734 _SendMessage(Message *message, port_id portID, int32 token) argument
769 int32 token; local
[all...]
H A DAppInfoListMessagingTargetSet.cpp36 AppInfoListMessagingTargetSet::Next(port_id &port, int32 &token) argument
42 token = B_PREFERRED_TOKEN;
/haiku/src/system/libroot/os/
H A Dfs_query.cpp23 uint32 flags, port_id port, int32 token)
31 int fd = _kern_open_query(device, query, strlen(query), flags, port, token);
57 uint32 flags, port_id port, int32 token)
65 return open_query_etc(device, query, flags | B_LIVE_QUERY, port, token);
22 open_query_etc(dev_t device, const char *query, uint32 flags, port_id port, int32 token) argument
56 fs_open_live_query(dev_t device, const char *query, uint32 flags, port_id port, int32 token) argument
/haiku/src/add-ons/kernel/partitioning_systems/vmdk/
H A Dvmdk.cpp125 next_token(char*& line, const char* lineEnd, Token& token) argument
133 token.SetToEnd();
134 return token.type;
141 token.SetToAssign();
142 return token.type;
148 token.SetToString();
164 token.PushChar(*(line++));
167 return token.type;
173 token.SetToString();
176 token
255 Token token; local
[all...]
/haiku/src/servers/app/
H A DEventDispatcher.h36 event_listener* FindListener(int32 token, int32* _index = NULL);
37 bool AddListener(int32 token, uint32 eventMask, uint32 options,
41 bool RemoveListener(int32 token);
42 bool RemoveTemporaryListener(int32 token);
76 bool AddListener(EventTarget& target, int32 token,
79 int32 token, uint32 eventMask, uint32 options);
80 void RemoveListener(EventTarget& target, int32 token);
81 void RemoveTemporaryListener(EventTarget& target, int32 token);
120 bool _AddListener(EventTarget& target, int32 token,
/haiku/src/system/kernel/debug/
H A Ddebug_parser.cpp191 // We can't reuse the token, since the parsing mode changed.
508 const Token& token = fTokenizer.NextToken(); local
509 if (token.type != TOKEN_END_OF_LINE)
510 parse_exception("parse error", token.position);
524 const Token& token = fTokenizer.NextToken(); local
528 int32 startPosition = token.position;
530 if (token.type == TOKEN_IDENTIFIER) {
533 if (token.type & TOKEN_ASSIGN_FLAG) {
544 } else if (token.type == TOKEN_STAR) {
550 parse_exception("expected command or assignment", token
586 const Token& token = fTokenizer.NextToken(); local
599 const Token& token = fTokenizer.NextToken(); local
783 const Token& token = _EatToken(TOKEN_IDENTIFIER); local
838 const Token& token = fTokenizer.NextToken(); local
900 const Token& token = fTokenizer.NextToken(); local
970 const Token& token = fTokenizer.NextToken(); local
993 Token token = fTokenizer.NextToken(); local
1100 const Token& token = fTokenizer.NextToken(); local
1144 const Token& token = fTokenizer.NextToken(); local
[all...]
/haiku/headers/private/kernel/
H A Dksystem_info.h33 int32 token);
35 int32 token);
/haiku/headers/private/system/
H A Dsystem_info.h56 int32 token);
58 int32 token);

Completed in 652 milliseconds

123456789