Home
last modified time | relevance | path

Searched refs:token_info (Results 1 – 15 of 15) sorted by relevance

/external/ImageMagick/MagickWand/
Dscript-token.c208 *token_info; in AcquireScriptTokenInfo() local
210 token_info=(ScriptTokenInfo *) AcquireMagickMemory(sizeof(*token_info)); in AcquireScriptTokenInfo()
211 if (token_info == (ScriptTokenInfo *) NULL) in AcquireScriptTokenInfo()
212 return token_info; in AcquireScriptTokenInfo()
213 (void) memset(token_info,0,sizeof(*token_info)); in AcquireScriptTokenInfo()
215 token_info->opened=MagickFalse; in AcquireScriptTokenInfo()
217 token_info->stream=stdin; in AcquireScriptTokenInfo()
218 token_info->opened=MagickFalse; in AcquireScriptTokenInfo()
221 token_info->stream=fdopen(StringToLong(filename+3),"r"); in AcquireScriptTokenInfo()
222 token_info->opened=MagickFalse; in AcquireScriptTokenInfo()
[all …]
Dmagick-cli.c115 *token_info; in ProcessScriptOptions() local
139 token_info = AcquireScriptTokenInfo(filename); in ProcessScriptOptions()
140 if (token_info == (ScriptTokenInfo *) NULL) { in ProcessScriptOptions()
159 { MagickBooleanType status = GetScriptToken(token_info); in ProcessScriptOptions()
160 cli_wand->line=token_info->token_line; in ProcessScriptOptions()
161 cli_wand->column=token_info->token_column; in ProcessScriptOptions()
169 CloneString(&option,token_info->token); in ProcessScriptOptions()
198 if (GetScriptToken(token_info) == MagickFalse) in ProcessScriptOptions()
200 CloneString(&arg1,token_info->token); in ProcessScriptOptions()
206 if (GetScriptToken(token_info) == MagickFalse) in ProcessScriptOptions()
[all …]
Doperation.c4532 *token_info; in CLIListOperatorImages() local
4547 token_info=AcquireTokenInfo(); in CLIListOperatorImages()
4548 status=Tokenizer(token_info,0,token,length,arguments,"","=", in CLIListOperatorImages()
4550 token_info=DestroyTokenInfo(token_info); in CLIListOperatorImages()
Dmogrify.c8882 *token_info; in MogrifyImageList() local
8896 token_info=AcquireTokenInfo(); in MogrifyImageList()
8897 token_status=Tokenizer(token_info,0,token,length,argument,"", in MogrifyImageList()
8899 token_info=DestroyTokenInfo(token_info); in MogrifyImageList()
/external/ImageMagick/MagickWand/tests/
Dscript-token-test.c87 *token_info; in main() local
89 token_info = AcquireScriptTokenInfo( (argc>1) ? argv[1] : "-" ); in main()
90 if (token_info == (ScriptTokenInfo *) NULL) { in main()
96 if( GetScriptToken(token_info) == MagickFalse ) in main()
99 if( strlen(token_info->token) > INITAL_TOKEN_LENGTH-1 ) { in main()
100 token_info->token[INITAL_TOKEN_LENGTH-4] = '.'; in main()
101 token_info->token[INITAL_TOKEN_LENGTH-3] = '.'; in main()
102 token_info->token[INITAL_TOKEN_LENGTH-2] = '.'; in main()
103 token_info->token[INITAL_TOKEN_LENGTH-1] = '\0'; in main()
106 token_info->token_line, token_info->token_column, in main()
[all …]
/external/ImageMagick/MagickCore/
Dtoken.c99 *token_info; in AcquireTokenInfo() local
101 token_info=(TokenInfo *) AcquireCriticalMemory(sizeof(*token_info)); in AcquireTokenInfo()
102 token_info->signature=MagickCoreSignature; in AcquireTokenInfo()
103 return(token_info); in AcquireTokenInfo()
129 MagickExport TokenInfo *DestroyTokenInfo(TokenInfo *token_info) in DestroyTokenInfo() argument
132 assert(token_info != (TokenInfo *) NULL); in DestroyTokenInfo()
133 assert(token_info->signature == MagickCoreSignature); in DestroyTokenInfo()
134 token_info->signature=(~MagickCoreSignature); in DestroyTokenInfo()
135 token_info=(TokenInfo *) RelinquishMagickMemory(token_info); in DestroyTokenInfo()
136 return(token_info); in DestroyTokenInfo()
[all …]
Dannotate.c1141 *token_info; in ComplexTextLayout() local
1144 token_info=AcquireTokenInfo(); in ComplexTextLayout()
1146 status_token=Tokenizer(token_info,0,token,50,features,"",",","",'\0', in ComplexTextLayout()
1151 status_token=Tokenizer(token_info,0,token,50,features,"",",","",'\0', in ComplexTextLayout()
1154 token_info=DestroyTokenInfo(token_info); in ComplexTextLayout()
/external/python/oauth2client/tests/
Dtest_service_account.py402 token_info = self.jwt.get_access_token()
404 token_info.access_token,
410 self.assertEqual(token_info.expires_in, T1_EXPIRY - T1)
414 token_info = self.jwt.get_access_token()
416 token_info.access_token,
420 self.assertEqual(token_info.expires_in, T1_EXPIRY - T2)
425 token_info = self.jwt.get_access_token()
427 token_info.access_token,
429 expires_in = token_info.expires_in
440 token_info = self.jwt.get_access_token(
[all …]
Dtest_client.py1186 token_info = credentials.get_access_token()
1190 self.assertIsInstance(token_info, client.AccessTokenInfo)
1191 self.assertEqual(token_info.access_token,
1193 self.assertEqual(token_info.expires_in,
1208 token_info = credentials.get_access_token(http_obj)
1209 self.assertIsInstance(token_info, client.AccessTokenInfo)
1210 self.assertEqual(token_info.access_token,
1212 self.assertEqual(token_info.expires_in,
/external/ImageMagick/coders/
Dmeta.c336 *token_info; in parse8BIM() local
345 token_info=AcquireTokenInfo(); in parse8BIM()
357 while (Tokenizer(token_info,0,token,inputlen,line,"","=","\"",0, in parse8BIM()
372 while (Tokenizer(token_info,0,newstr,inputlen,token,"","#", in parse8BIM()
411 while (Tokenizer(token_info,0,newstr,inputlen,token,"","&", in parse8BIM()
537 token_info=DestroyTokenInfo(token_info); in parse8BIM()
654 *token_info; in parse8BIMW() local
663 token_info=AcquireTokenInfo(); in parse8BIMW()
675 while (Tokenizer(token_info,0,token,inputlen,line,"","=","\"",0, in parse8BIMW()
690 while (Tokenizer(token_info,0,newstr,inputlen,token,"","#", in parse8BIMW()
[all …]
/external/libcap/libcap/
Dcap_text.c112 const struct __cap_token_s *token_info; in lookupname() local
114 token_info = __cap_lookup_name(str.constp, len); in lookupname()
115 if (token_info != NULL) { in lookupname()
117 return token_info->index; in lookupname()
/external/perfetto/src/kallsyms/
Dkernel_symbol_map.cc352 const TokenInfo& token_info = token_map_entry->second; in Parse() local
353 TokenId token_id = token_info.id << 1; in Parse()
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtokenize.py180 for token_info in generate_tokens(readline):
181 tokeneater(*token_info)
/external/python/cpython2/Lib/
Dtokenize.py176 for token_info in generate_tokens(readline):
177 tokeneater(*token_info)
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtokenize.py168 for token_info in generate_tokens(readline):
169 tokeneater(*token_info)