Home
last modified time | relevance | path

Searched refs:annot (Results 1 – 25 of 37) sorted by relevance

12

/external/pdfium/fpdfsdk/
Dfpdf_annot_embeddertest.cpp122 ScopedFPDFAnnotation annot(FPDFPage_GetAnnot(page, 0)); in TEST_F() local
123 ASSERT_TRUE(annot); in TEST_F()
124 EXPECT_EQ(FPDF_ANNOT_HIGHLIGHT, FPDFAnnot_GetSubtype(annot.get())); in TEST_F()
131 ASSERT_TRUE(FPDFAnnot_GetColor(annot.get(), FPDFANNOT_COLORTYPE_Color, &R, in TEST_F()
141 FPDFAnnot_GetValueType(annot.get(), kAuthorKey)); in TEST_F()
143 FPDFAnnot_GetStringValue(annot.get(), kAuthorKey, nullptr, 0); in TEST_F()
146 EXPECT_EQ(28u, FPDFAnnot_GetStringValue(annot.get(), kAuthorKey, buf.data(), in TEST_F()
153 FPDFAnnot_GetValueType(annot.get(), pdfium::annotation::kContents)); in TEST_F()
155 annot.get(), pdfium::annotation::kContents, nullptr, 0); in TEST_F()
158 EXPECT_EQ(2690u, FPDFAnnot_GetStringValue(annot.get(), in TEST_F()
[all …]
Dfpdf_annot.cpp216 CPDF_Dictionary* GetAnnotDictFromFPDFAnnotation(FPDF_ANNOTATION annot) { in GetAnnotDictFromFPDFAnnotation() argument
217 CPDF_AnnotContext* context = CPDFAnnotContextFromFPDFAnnotation(annot); in GetAnnotDictFromFPDFAnnotation()
259 CPDF_FormField* GetFormField(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot) { in GetFormField() argument
260 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in GetFormField()
337 FPDF_ANNOTATION annot) { in FPDFPage_GetAnnotIndex() argument
342 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFPage_GetAnnotIndex()
362 FPDF_EXPORT void FPDF_CALLCONV FPDFPage_CloseAnnot(FPDF_ANNOTATION annot) { in FPDFPage_CloseAnnot() argument
363 delete CPDFAnnotContextFromFPDFAnnotation(annot); in FPDFPage_CloseAnnot()
381 FPDFAnnot_GetSubtype(FPDF_ANNOTATION annot) { in FPDFAnnot_GetSubtype() argument
382 CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in FPDFAnnot_GetSubtype()
[all …]
Dfpdf_annot_unittest.cpp47 ScopedFPDFAnnotation annot(FPDFPage_CreateAnnot(page.get(), FPDF_ANNOT_INK)); in TEST_F() local
48 ASSERT_TRUE(annot); in TEST_F()
52 EXPECT_FALSE(FPDFAnnot_SetAP(annot.get(), FPDF_ANNOT_APPEARANCEMODE_NORMAL, in TEST_F()
56 EXPECT_TRUE(FPDFAnnot_SetRect(annot.get(), &bounding_rect)); in TEST_F()
58 ASSERT_TRUE(FPDFAnnot_SetColor(annot.get(), FPDFANNOT_COLORTYPE_Color, in TEST_F()
61 EXPECT_TRUE(FPDFAnnot_SetAP(annot.get(), FPDF_ANNOT_APPEARANCEMODE_NORMAL, in TEST_F()
65 CPDF_AnnotContext* context = CPDFAnnotContextFromFPDFAnnotation(annot.get()); in TEST_F()
85 annot.get(), FPDF_ANNOT_APPEARANCEMODE_NORMAL, nullptr, 0); in TEST_F()
89 FPDFAnnot_GetAP(annot.get(), FPDF_ANNOT_APPEARANCEMODE_NORMAL, in TEST_F()
102 ScopedFPDFAnnotation annot(FPDFPage_CreateAnnot(page.get(), FPDF_ANNOT_INK)); in TEST_F() local
[all …]
Dcpdfsdk_helpers.h61 CPDF_AnnotContext* annot) { in FPDFAnnotationFromCPDFAnnotContext() argument
62 return reinterpret_cast<FPDF_ANNOTATION>(annot); in FPDFAnnotationFromCPDFAnnotContext()
65 FPDF_ANNOTATION annot) { in CPDFAnnotContextFromFPDFAnnotation() argument
66 return reinterpret_cast<CPDF_AnnotContext*>(annot); in CPDFAnnotContextFromFPDFAnnotation()
/external/pdfium/public/
Dfpdf_annot.h142 FPDF_ANNOTATION annot);
150 FPDF_EXPORT void FPDF_CALLCONV FPDFPage_CloseAnnot(FPDF_ANNOTATION annot);
169 FPDFAnnot_GetSubtype(FPDF_ANNOTATION annot);
194 FPDFAnnot_UpdateObject(FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj);
208 FPDFAnnot_AppendObject(FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj);
217 FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetObjectCount(FPDF_ANNOTATION annot);
227 FPDFAnnot_GetObject(FPDF_ANNOTATION annot, int index);
237 FPDFAnnot_RemoveObject(FPDF_ANNOTATION annot, int index);
250 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetColor(FPDF_ANNOTATION annot,
269 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetColor(FPDF_ANNOTATION annot,
[all …]
/external/llvm/test/Transforms/LoopUnroll/
Dignore-annotation-intrinsic-cost.ll27 %annot.0 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
28 %annot.1 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
29 %annot.2 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
30 %annot.3 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
31 %annot.4 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
32 %annot.5 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
33 %annot.6 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
34 %annot.7 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
35 %annot.8 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
36 %annot.9 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
[all …]
/external/llvm-project/llvm/test/Transforms/LoopUnroll/
Dignore-annotation-intrinsic-cost.ll27 %annot.0 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
28 %annot.1 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
29 %annot.2 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
30 %annot.3 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
31 %annot.4 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
32 %annot.5 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
33 %annot.6 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
34 %annot.7 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
35 %annot.8 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
36 %annot.9 = tail call i32 @llvm.annotation.i32(i32 %i.01, i8* null, i8* null, i32 0)
[all …]
/external/pdfium/testing/resources/javascript/
Dannot_properties.in32 app.alert("Test that non-existent annot fetch gives error");
41 var annot = this.getAnnot(0, "Annot-1");
42 app.alert("annot: " + typeof annot);
43 app.alert("hidden: " + annot.hidden);
44 app.alert("name: " + annot.name);
45 app.alert("type: " + annot.type);
47 annot.hidden = true;
48 app.alert("hidden now: " + annot.hidden);
49 annot.hidden = false;
50 app.alert("hidden now: " + annot.hidden);
[all …]
Dannot_properties_expected.txt1 Alert: Test that non-existent annot fetch gives error
4 Alert: annot: object
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp135 unsigned annot; in isTexture() local
136 if (findOneNVVMAnnotation(gv, "texture", annot)) { in isTexture()
137 assert((annot == 1) && "Unexpected annotation on a texture symbol"); in isTexture()
146 unsigned annot; in isSurface() local
147 if (findOneNVVMAnnotation(gv, "surface", annot)) { in isSurface()
148 assert((annot == 1) && "Unexpected annotation on a surface symbol"); in isSurface()
159 unsigned annot; in isSampler() local
160 if (findOneNVVMAnnotation(gv, AnnotationName, annot)) { in isSampler()
161 assert((annot == 1) && "Unexpected annotation on a sampler symbol"); in isSampler()
167 std::vector<unsigned> annot; in isSampler() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp135 unsigned annot; in isTexture() local
136 if (findOneNVVMAnnotation(gv, "texture", annot)) { in isTexture()
137 assert((annot == 1) && "Unexpected annotation on a texture symbol"); in isTexture()
146 unsigned annot; in isSurface() local
147 if (findOneNVVMAnnotation(gv, "surface", annot)) { in isSurface()
148 assert((annot == 1) && "Unexpected annotation on a surface symbol"); in isSurface()
159 unsigned annot; in isSampler() local
160 if (findOneNVVMAnnotation(gv, AnnotationName, annot)) { in isSampler()
161 assert((annot == 1) && "Unexpected annotation on a sampler symbol"); in isSampler()
167 std::vector<unsigned> annot; in isSampler() local
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp132 unsigned annot; in isTexture() local
135 annot)) { in isTexture()
136 assert((annot == 1) && "Unexpected annotation on a texture symbol"); in isTexture()
145 unsigned annot; in isSurface() local
148 annot)) { in isSurface()
149 assert((annot == 1) && "Unexpected annotation on a surface symbol"); in isSurface()
158 unsigned annot; in isSampler() local
161 annot)) { in isSampler()
162 assert((annot == 1) && "Unexpected annotation on a sampler symbol"); in isSampler()
168 std::vector<unsigned> annot; in isSampler() local
[all …]
/external/libxml2/result/schemas/
Dannot-err_0_0.err1 ./test/schemas/annot-err_0.xsd:7: element annotation: Schemas parser error : Element '{http://www.w…
2 ./test/schemas/annot-err_0.xsd:7: element annotation: Schemas parser error : Element '{http://www.w…
3 ./test/schemas/annot-err_0.xsd:10: element appinfo: Schemas parser error : Element '{http://www.w3.…
4 ./test/schemas/annot-err_0.xsd:10: element appinfo: Schemas parser error : Element '{http://www.w3.…
5 ./test/schemas/annot-err_0.xsd:14: element documentation: Schemas parser error : Element '{http://w…
6 ./test/schemas/annot-err_0.xsd:14: element documentation: Schemas parser error : Element '{http://w…
7 ./test/schemas/annot-err_0.xsd:14: element documentation: Schemas parser error : Element '{http://w…
/external/tensorflow/tensorflow/python/debug/cli/
Dcli_shared_test.py138 annot = run_start_intro.font_attr_segs[11][0]
139 self.assertEqual(2, annot[0])
140 self.assertEqual(5, annot[1])
141 self.assertEqual("run", annot[2][0].content)
142 self.assertEqual("bold", annot[2][1])
143 annot = run_start_intro.font_attr_segs[13][0]
144 self.assertEqual(2, annot[0])
145 self.assertEqual(8, annot[1])
146 self.assertEqual("run -n", annot[2][0].content)
147 self.assertEqual("bold", annot[2][1])
[all …]
Dtensor_format.py338 annot = formatted.annotations
352 if r not in annot:
355 if BEGIN_INDICES_KEY in annot[r]:
357 elif OMITTED_INDICES_KEY in annot[r]:
362 if prev_indices <= ind < annot[r][indices_key]
374 OMITTED_INDICES_KEY in annot[prev_r]
384 prev_indices = annot[r][indices_key]
396 OMITTED_INDICES_KEY in annot[prev_r]
/external/libxml2/include/libxml/
DschemasInternals.h257 xmlSchemaAnnotPtr annot; member
310 xmlSchemaAnnotPtr annot; member
368 xmlSchemaAnnotPtr annot; member
609 xmlSchemaAnnotPtr annot; member
772 xmlSchemaAnnotPtr annot; member
828 xmlSchemaAnnotPtr annot; member
844 xmlSchemaAnnotPtr annot; member
929 xmlSchemaAnnotPtr annot; member
/external/pdfium/samples/
Dpdfium_test_write_helper.cc284 ScopedFPDFAnnotation annot(FPDFPage_GetAnnot(page, i)); in WriteAnnot() local
285 if (!annot) { in WriteAnnot()
290 FPDF_ANNOTATION_SUBTYPE subtype = FPDFAnnot_GetSubtype(annot.get()); in WriteAnnot()
295 AnnotFlagsToString(FPDFAnnot_GetFlags(annot.get())).c_str()); in WriteAnnot()
298 const int obj_count = FPDFAnnot_GetObjectCount(annot.get()); in WriteAnnot()
304 FPDFPageObj_GetType(FPDFAnnot_GetObject(annot.get(), j))); in WriteAnnot()
315 if (FPDFAnnot_GetColor(annot.get(), FPDFANNOT_COLORTYPE_Color, &R, &G, &B, in WriteAnnot()
321 if (FPDFAnnot_GetColor(annot.get(), FPDFANNOT_COLORTYPE_InteriorColor, &R, in WriteAnnot()
332 FPDFAnnot_GetStringValue(annot.get(), kContentsKey, nullptr, 0); in WriteAnnot()
334 FPDFAnnot_GetStringValue(annot.get(), kContentsKey, buf.data(), in WriteAnnot()
[all …]
/external/desugar/java/com/google/devtools/common/options/processor/
DProcessorUtils.java46 for (AnnotationMirror annot : element.getAnnotationMirrors()) { in getAnnotation()
47 if (typeUtils.isSameType(annot.getAnnotationType(), annotationMirror)) { in getAnnotation()
48 return annot; in getAnnotation()
/external/pdfium/testing/resources/pixel/
Dbug_492.in42 var annot = this.getAnnot(0, "Annot-1");
43 annot.hidden = false;
/external/pdfium/public/cpp/
Dfpdf_deleters.h21 inline void operator()(FPDF_ANNOTATION annot) { FPDFPage_CloseAnnot(annot); } in operator()
/external/ltp/testcases/kernel/security/smack/
Dsmack_set_socket_labels.c70 char *annot = "security.SMACK64IPNOT"; in set_socket_labels() local
98 rc = fsetxattr(sock, annot, avnot, strlen(avnot) + 1, 0); in set_socket_labels()
/external/pdfium/fxjs/
Dcjs_annot.cpp42 void CJS_Annot::SetSDKAnnot(CPDFSDK_BAAnnot* annot) { in SetSDKAnnot() argument
43 m_pAnnot.Reset(annot); in SetSDKAnnot()
Dcjs_annot.h23 void SetSDKAnnot(CPDFSDK_BAAnnot* annot);
/external/libxml2/os400/libxmlrpg/
DschemasInternals.rpgle362 d annot like(xmlSchemaAnnotPtr)
419 d annot like(xmlSchemaAnnotPtr)
482 d annot like(xmlSchemaAnnotPtr)
757 d annot like(xmlSchemaAnnotPtr)
941 d annot like(xmlSchemaAnnotPtr)
1001 d annot like(xmlSchemaAnnotPtr)
1018 d annot like(xmlSchemaAnnotPtr)
1113 d annot like(xmlSchemaAnnotPtr)
/external/libxml2/
Dxmlschemas.c496 xmlSchemaAnnotPtr annot; member
509 xmlSchemaAnnotPtr annot; member
526 xmlSchemaAnnotPtr annot; member
671 xmlSchemaAnnotPtr annot; member
691 xmlSchemaAnnotPtr annot; member
709 xmlSchemaAnnotPtr annot; member
746 xmlSchemaAnnotPtr annot; member
3766 xmlSchemaFreeAnnot(xmlSchemaAnnotPtr annot) in xmlSchemaFreeAnnot() argument
3768 if (annot == NULL) in xmlSchemaFreeAnnot()
3770 if (annot->next == NULL) { in xmlSchemaFreeAnnot()
[all …]

12