Home
last modified time | relevance | path

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

12

/external/pdfium/fpdfsdk/
Dfpdf_annot_embeddertest.cpp75 ScopedFPDFAnnotation annot(FPDFPage_GetAnnot(page, i)); in VerifyAnnotationSubtypesAndFocusability() local
76 ASSERT_TRUE(annot); in VerifyAnnotationSubtypesAndFocusability()
77 EXPECT_EQ(expected_subtypes[i], FPDFAnnot_GetSubtype(annot.get())); in VerifyAnnotationSubtypesAndFocusability()
82 FORM_SetFocusedAnnot(form_handle, annot.get())); in VerifyAnnotationSubtypesAndFocusability()
120 ScopedFPDFAnnotation annot(FPDFPage_CreateAnnot(page.get(), FPDF_ANNOT_INK)); in TEST_F() local
121 ASSERT_TRUE(annot); in TEST_F()
125 EXPECT_FALSE(FPDFAnnot_SetAP(annot.get(), FPDF_ANNOT_APPEARANCEMODE_NORMAL, in TEST_F()
129 EXPECT_TRUE(FPDFAnnot_SetRect(annot.get(), &bounding_rect)); in TEST_F()
131 ASSERT_TRUE(FPDFAnnot_SetColor(annot.get(), FPDFANNOT_COLORTYPE_Color, in TEST_F()
134 EXPECT_TRUE(FPDFAnnot_SetAP(annot.get(), FPDF_ANNOT_APPEARANCEMODE_NORMAL, in TEST_F()
[all …]
Dfpdf_annot.cpp244 const FPDF_ANNOTATION annot) { in GetAnnotDictFromFPDFAnnotation() argument
245 CPDF_AnnotContext* context = CPDFAnnotContextFromFPDFAnnotation(annot); in GetAnnotDictFromFPDFAnnotation()
250 FPDF_ANNOTATION annot) { in GetMutableAnnotDictFromFPDFAnnotation() argument
251 CPDF_AnnotContext* context = CPDFAnnotContextFromFPDFAnnotation(annot); in GetMutableAnnotDictFromFPDFAnnotation()
293 CPDF_FormField* GetFormField(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot) { in GetFormField() argument
294 const CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in GetFormField()
307 FPDF_ANNOTATION annot) { in GetRadioButtonOrCheckBoxWidget() argument
308 const CPDF_Dictionary* pAnnotDict = GetAnnotDictFromFPDFAnnotation(annot); in GetRadioButtonOrCheckBoxWidget()
327 RetainPtr<const CPDF_Array> GetInkList(FPDF_ANNOTATION annot) { in GetInkList() argument
328 FPDF_ANNOTATION_SUBTYPE subtype = FPDFAnnot_GetSubtype(annot); in GetInkList()
[all …]
Dcpdfsdk_pageview.cpp95 std::unique_ptr<CPDFSDK_Annot> CPDFSDK_PageView::NewAnnot(CPDF_Annot* annot) { in NewAnnot() argument
96 const CPDF_Annot::Subtype sub_type = annot->GetSubtype(); in NewAnnot()
101 pdf_form->GetControlByDict(annot->GetAnnotDict()); in NewAnnot()
105 auto ret = std::make_unique<CPDFSDK_Widget>(annot, this, form); in NewAnnot()
117 return std::make_unique<CPDFSDK_BAAnnot>(annot, this); in NewAnnot()
238 CPDFSDK_Annot* annot = GetFocusAnnot(); in GetFocusedFormText() local
239 return annot ? annot->GetText() : WideString(); in GetFocusedFormText()
283 CPDFSDK_Annot* annot = GetFocusAnnot(); in GetSelectedText() local
284 if (!annot) in GetSelectedText()
286 return annot->GetSelectedText(); in GetSelectedText()
[all …]
Dfpdf_formfill_embeddertest.cpp716 FPDF_ANNOTATION annot = nullptr; in TEST_F() local
718 ASSERT_TRUE(FORM_GetFocusedAnnot(form_handle(), &page_index, &annot)); in TEST_F()
719 EXPECT_FALSE(annot); in TEST_F()
723 EXPECT_FALSE(FORM_GetFocusedAnnot(nullptr, &page_index, &annot)); in TEST_F()
725 EXPECT_FALSE(FORM_GetFocusedAnnot(form_handle(), nullptr, &annot)); in TEST_F()
739 ASSERT_TRUE(FORM_GetFocusedAnnot(form_handle(), &page_index, &annot)); in TEST_F()
740 ASSERT_TRUE(annot); in TEST_F()
742 EXPECT_EQ(kExpectedAnnotIndex, FPDFPage_GetAnnotIndex(pages[i], annot)); in TEST_F()
745 FPDFPage_CloseAnnot(annot); in TEST_F()
761 FPDF_ANNOTATION annot = nullptr; 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.h163 FPDF_ANNOTATION annot);
171 FPDF_EXPORT void FPDF_CALLCONV FPDFPage_CloseAnnot(FPDF_ANNOTATION annot);
190 FPDFAnnot_GetSubtype(FPDF_ANNOTATION annot);
215 FPDFAnnot_UpdateObject(FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj);
230 FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_AddInkStroke(FPDF_ANNOTATION annot,
243 FPDFAnnot_RemoveInkList(FPDF_ANNOTATION annot);
257 FPDFAnnot_AppendObject(FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj);
266 FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetObjectCount(FPDF_ANNOTATION annot);
276 FPDFAnnot_GetObject(FPDF_ANNOTATION annot, int index);
286 FPDFAnnot_RemoveObject(FPDF_ANNOTATION annot, int index);
[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/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/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/nullaway/jar-infer/jar-infer-lib/src/main/java/com/uber/nullaway/jarinfer/
DStubxWriter.java74 for (String annot : entry.getValue()) { in write()
76 out.writeInt(encodingDictionary.get(importedAnnotations.get(annot))); in write()
87 for (String annot : entry.getValue()) { in write()
89 out.writeInt(encodingDictionary.get(importedAnnotations.get(annot))); in write()
102 for (String annot : entry.getValue().getMethodAnnotations()) { in write()
104 out.writeInt(encodingDictionary.get(importedAnnotations.get(annot))); in write()
114 for (String annot : argEntry.getValue()) { in write()
117 out.writeInt(encodingDictionary.get(importedAnnotations.get(annot))); in write()
/external/tensorflow/tensorflow/python/debug/cli/
Dcli_shared_test.py134 annot = run_start_intro.font_attr_segs[11][0]
135 self.assertEqual(2, annot[0])
136 self.assertEqual(5, annot[1])
137 self.assertEqual("run", annot[2][0].content)
138 self.assertEqual("bold", annot[2][1])
139 annot = run_start_intro.font_attr_segs[13][0]
140 self.assertEqual(2, annot[0])
141 self.assertEqual(8, annot[1])
142 self.assertEqual("run -n", annot[2][0].content)
143 self.assertEqual("bold", annot[2][1])
[all …]
Dtensor_format.py333 annot = formatted.annotations
347 if r not in annot:
350 if BEGIN_INDICES_KEY in annot[r]:
352 elif OMITTED_INDICES_KEY in annot[r]:
357 if prev_indices <= ind < annot[r][indices_key]
369 OMITTED_INDICES_KEY in annot[prev_r]
379 prev_indices = annot[r][indices_key]
391 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/cronet/third_party/libxml/src/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.cc314 ScopedFPDFAnnotation annot(FPDFPage_GetAnnot(page, i)); in WriteAnnot() local
315 if (!annot) { in WriteAnnot()
320 FPDF_ANNOTATION_SUBTYPE subtype = FPDFAnnot_GetSubtype(annot.get()); in WriteAnnot()
325 AnnotFlagsToString(FPDFAnnot_GetFlags(annot.get())).c_str()); in WriteAnnot()
328 const int obj_count = FPDFAnnot_GetObjectCount(annot.get()); in WriteAnnot()
334 FPDFPageObj_GetType(FPDFAnnot_GetObject(annot.get(), j))); in WriteAnnot()
345 if (FPDFAnnot_GetColor(annot.get(), FPDFANNOT_COLORTYPE_Color, &R, &G, &B, in WriteAnnot()
351 if (FPDFAnnot_GetColor(annot.get(), FPDFANNOT_COLORTYPE_InteriorColor, &R, in WriteAnnot()
362 FPDFAnnot_GetStringValue(annot.get(), kContentsKey, nullptr, 0); in WriteAnnot()
364 FPDFAnnot_GetStringValue(annot.get(), kContentsKey, buf.data(), in WriteAnnot()
[all …]
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/
DNullabilityUtil.java217 AnnotationMirror annot = in getAnnotationValue() local
219 if (annot == null) { in getAnnotationValue()
224 annot.getElementValues(); in getAnnotationValue()
250 AnnotationMirror annot = null; in getAnnotationValueArray() local
254 annot = annotationMirror; in getAnnotationValueArray()
258 if (annot == null) { in getAnnotationValueArray()
262 annot.getElementValues(); in getAnnotationValueArray()
/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/testing/fuzzers/
Dpdf_xfa_fdp_fuzzer.cc126 FPDF_ANNOTATION annot = nullptr; in FormActionHandler() local
128 FORM_GetFocusedAnnot(form, &page_index, &annot); in FormActionHandler()
129 if (annot) { in FormActionHandler()
130 FORM_SetFocusedAnnot(form, annot); in FormActionHandler()
/external/pdfium/fxjs/
Dcjs_annot.cpp41 void CJS_Annot::SetSDKAnnot(CPDFSDK_BAAnnot* annot) { in SetSDKAnnot() argument
42 m_pAnnot.Reset(annot); in SetSDKAnnot()

12