Home
last modified time | relevance | path

Searched refs:cacheable (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/ability/idl_tool/test/sa_test/keyword_cacheable_test_003/foo/
H A DIFoo.idl17 [cacheable 3.14]void test001(); // decimal
18 [cacheable -1]void test002(); // negative numbers
19 [cacheable 2147483648]void test003(); // exceed the maximum 32-bit integer
20 [cacheable 12ab34cd]void test004(); // invalid cacheable time
21 [cacheable]void test005(); // no cacheable time
22 [cacheable cacheable]void test006(); // no cacheable time
/ohos5.0/foundation/ability/idl_tool/test/sa_test/keyword_cacheable_test_001/foo/
H A DIFoo.idl17 [cacheable 100]int test001([in] short param1);
18 [cacheable 0]void test002([in] int param1);
19 [cacheable 00000]void test003([in] float param1, [out] int param2);
20 [cacheable 00200]void test004([in] Map<long, long> inParam, [out] Map<long, long> outParam);
21 [cacheable 2147483647]void test005([in] short param1, [out] double param2);
/ohos5.0/foundation/ability/idl_tool/test/sa_test/keyword_cacheable_test_002/foo/
H A DIFoo.idl17 [cacheable 100, oneway]void test001([in] int param1);
18 [oneway, cacheable 0]void test002([in] double param1);
19 [cacheable 0]void test005([in] short param1, [out] double param2);
20 [cacheable 2]void test005([in] int param1, [out] int param2);
/ohos5.0/foundation/ability/idl_tool/parser/
H A Dparser.cpp231 bool Parser::ParseMethodProperties(bool& oneway, bool& cacheable, int& cacheTime) in ParseMethodProperties() argument
237 cacheable = false; in ParseMethodProperties()
251 } else if (token == Token::CACHEABLE && cacheable == false) { in ParseMethodProperties()
256 cacheable = true; in ParseMethodProperties()
277 void Parser::SetMethodAttr(ASTMethod* method, ASTType *returnType, bool oneway, bool cacheable, int… in SetMethodAttr() argument
282 if (cacheable == true) { in SetMethodAttr()
377 bool cacheable = false; in ParseMethod() local
380 …if ((token == Token::BRACKETS_LEFT) && (ParseMethodProperties(oneway, cacheable, cacheTime) == fal… in ParseMethod()
395 SetMethodAttr(method, type, oneway, cacheable, cacheTime); in ParseMethod()
H A Dparser.h68 bool ParseMethodProperties(bool& oneway, bool& cacheable, int& cacheTime);
80 …void SetMethodAttr(ASTMethod* method, ASTType *returnType, bool oneway, bool cacheable, int cacheT…
/ohos5.0/foundation/ability/idl_tool/test/sa_test/keyword_cacheable_test_003/target_cpp/
H A Dfail_output.txt1 [IDL-GEN]: [CheckIntfSaAstMethods:139] error:intf sa: method attr cacheable time invalid
10 [IDL-GEN]: [ParseAttributeInfo:373] [IFoo.idl:22:13] error:expected ',' or ']' before 'cacheable' t…
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast.h222 void SetHasCacheableProxyMethods(bool cacheable) in SetHasCacheableProxyMethods() argument
224 hasCacheableProxyMethods_ = cacheable; in SetHasCacheableProxyMethods()