Searched refs:tokens (Results 1 - 15 of 15) sorted by relevance

/haiku/src/kits/app/
H A DAppMisc.cpp179 int32* tokens = get_token_list(team, &tokenCount); local
181 if (tokens != NULL) {
182 MemoryDeleter tokenDeleter(tokens);
185 client_window_info* matchWindowInfo = get_window_info(tokens[index]);
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_common.c85 * Split string into tokens
88 char **tokens, int maxtokens, char delim)
93 if (string == NULL || tokens == NULL) {
103 tokens[tok++] = &string[i];
87 nvme_str_split(char *string, int stringlen, char **tokens, int maxtokens, char delim) argument
H A Dnvme_common.h96 * Split string into tokens
99 char **tokens, int maxtokens, char delim);
/haiku/src/apps/deskbar/
H A DWindowMenu.cpp116 int32* tokens = get_token_list(theTeam, &tokenCount); local
119 client_window_info* wInfo = get_window_info(tokens[j]);
173 free(tokens);
H A DSwitcher.cpp951 int32* tokens = get_token_list(-1, &tokenCount); local
952 if (tokens == NULL) {
964 client_window_info* matchWindowInfo = get_window_info(tokens[i]);
983 free(tokens);
1068 int32* tokens = get_token_list(-1, &tokenCount); local
1069 if (tokens == NULL)
1081 client_window_info* windowInfo = get_window_info(tokens[i]);
1099 free(tokens);
1120 int32* tokens = get_token_list(teamID, &count); local
1121 if (!tokens)
1162 int32* tokens = get_token_list(-1, &count); local
[all...]
H A DExpandoMenuBar.cpp995 int32* tokens = get_token_list(theTeam, &count); local
999 = get_window_info(tokens[k]);
1047 free(tokens);
/haiku/src/apps/screenshot/
H A DScreenshot.cpp268 int32* tokens = get_token_list(appInfo.team, &tokenCount); local
292 free(tokens);
294 &tokens, &tokenCount);
295 if (status != B_OK || !tokens || tokenCount < 1)
305 token = tokens[i];
321 free(tokens);
/haiku/src/tests/kits/app/bmessenger/
H A DMessengerComparissonTester.cpp254 int32 tokens[] = { -1, 0, 1 } ; local
258 int32 tokenCount = sizeof(tokens) / sizeof(int32);
264 int32 token1 = tokens[to1];
278 int32 token2 = tokens[to2];
/haiku/src/apps/switcher/
H A DWindowsView.cpp37 int32* tokens = get_token_list(team, &count); local
40 client_window_info* info = get_window_info(tokens[i]);
49 free(tokens);
/haiku/src/tools/gensyscalls/
H A Dgensyscallinfos.cpp224 void PutTokens(stack<string>& tokens) argument
230 while (!tokens.empty()) {
231 fTokens.push_front(tokens.top());
232 tokens.pop();
/haiku/src/tests/kits/storage/
H A DMimeSnifferTest.cpp60 Token *tokens[256];
764 if (testCases[i].tokens[j]->Type() == CharacterString)
765 cout << " token2 == " << (testCases[i].tokens[j])->String() << endl;
775 if (testCases[i].tokens[j]->Type() == CharacterString)
777 const std::string &str = (testCases[i].tokens[j])->String();
796 CHK(*token == *(testCases[i].tokens[j]));
797 delete testCases[i].tokens[j];
/haiku/src/kits/interface/
H A DInterfaceDefs.cpp1740 int32* tokens = (int32*)malloc(count * sizeof(int32)); local
1741 if (tokens == NULL)
1744 link.Read(tokens, count * sizeof(int32));
1746 return tokens;
/haiku/src/apps/haikudepot/build/scripts/
H A Dustache.py601 :param comments: whether yield comment tokens or not (ignore comments)
848 tokens = tokenize(data, tags=current_tags, cache=cache)
849 rewind = tokens.send
850 for a, b, c, token_name, token_content, token_option in tokens:
/haiku/src/bin/
H A Dhey.cpp66 // Hey(target,const char*,reply) was previously limited to 100 tokens. It
365 char* tokens = new char[strlen(arg) * 2]; local
366 // number of tokens is limited only by memory
367 char* currentToken = tokens;
400 // This used to be "return Hey(...);"---so tokens wasn't delete'd.
401 delete[] tokens;
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_ht.c2685 static int tokens = 0; /* XXX */ local
2695 dialogtoken = (tokens+1) % 63; /* XXX */
2730 tokens = dialogtoken; /* allocate token */

Completed in 178 milliseconds