Home
last modified time | relevance | path

Searched refs:token_info (Results 1 – 14 of 14) 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.c4411 *token_info; in CLIListOperatorImages() local
4426 token_info=AcquireTokenInfo(); in CLIListOperatorImages()
4427 status=Tokenizer(token_info,0,token,length,arguments,"","=", in CLIListOperatorImages()
4429 token_info=DestroyTokenInfo(token_info); in CLIListOperatorImages()
Dmogrify.c8707 *token_info; in MogrifyImageList() local
8721 token_info=AcquireTokenInfo(); in MogrifyImageList()
8722 token_status=Tokenizer(token_info,0,token,length,argument,"", in MogrifyImageList()
8724 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.c1109 *token_info; in ComplexTextLayout() local
1112 token_info=AcquireTokenInfo(); in ComplexTextLayout()
1114 status_token=Tokenizer(token_info,0,token,50,features,"",",","",'\0', in ComplexTextLayout()
1119 status_token=Tokenizer(token_info,0,token,50,features,"",",","",'\0', in ComplexTextLayout()
1122 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/libcap/libcap/
Dcap_text.c88 const struct __cap_token_s *token_info; in lookupname() local
90 token_info = __cap_lookup_name(str.constp, len); in lookupname()
91 if (token_info != NULL) { in lookupname()
93 return token_info->index; in lookupname()
/external/ImageMagick/coders/
Dmeta.c329 *token_info; in parse8BIM() local
338 token_info=AcquireTokenInfo(); in parse8BIM()
350 while (Tokenizer(token_info,0,token,(size_t) inputlen,line,"","=","\"",0, in parse8BIM()
365 while (Tokenizer(token_info,0,newstr,(size_t) inputlen,token,"","#", in parse8BIM()
404 while (Tokenizer(token_info,0,newstr,(size_t) inputlen,token,"","&", in parse8BIM()
530 token_info=DestroyTokenInfo(token_info); in parse8BIM()
641 *token_info; in parse8BIMW() local
650 token_info=AcquireTokenInfo(); in parse8BIMW()
662 while (Tokenizer(token_info,0,token,(size_t) inputlen,line,"","=","\"",0, in parse8BIMW()
677 while (Tokenizer(token_info,0,newstr,(size_t) inputlen,token,"","#", in parse8BIMW()
[all …]
/external/python/cpython2/Lib/
Dtokenize.py176 for token_info in generate_tokens(readline):
177 tokeneater(*token_info)
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtokenize.py180 for token_info in generate_tokens(readline):
181 tokeneater(*token_info)
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtokenize.py168 for token_info in generate_tokens(readline):
169 tokeneater(*token_info)