Home
last modified time | relevance | path

Searched refs:ih (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DInstructionList.java139 InstructionHandle ih = start; in findHandle() local
142 return ih; in findHandle()
144 ih = ih.getNext(); in findHandle()
173 InstructionHandle ih; in InstructionList() local
175 ih = append((BranchInstruction) i); in InstructionList()
177 ih = append(i); in InstructionList()
179 ih.setPosition(off); in InstructionList()
180 ihs[count] = ih; in InstructionList()
198 InstructionHandle ih = findHandle(ihs, pos, count, target); in InstructionList() local
199 if (ih == null) { in InstructionList()
[all …]
DLineNumberGen.java32 private InstructionHandle ih; field in LineNumberGen
41 public LineNumberGen(final InstructionHandle ih, final int src_line) { in LineNumberGen() argument
42 setInstruction(ih); in LineNumberGen()
51 public boolean containsTarget( final InstructionHandle ih ) { in containsTarget() argument
52 return this.ih == ih; in containsTarget()
62 if (old_ih != ih) { in updateTarget()
63 throw new ClassGenException("Not targeting " + old_ih + ", but " + ih + "}"); in updateTarget()
76 return new LineNumber(ih.getPosition(), src_line); in getLineNumber()
80 public void setInstruction( final InstructionHandle ih ) { // TODO could be package-protected? in setInstruction() argument
81 if (ih == null) { in setInstruction()
[all …]
DJsrInstruction.java61 InstructionHandle ih = super.getTarget(); in physicalSuccessor() local
63 while (ih.getPrev() != null) { in physicalSuccessor()
64 ih = ih.getPrev(); in physicalSuccessor()
67 while (ih.getInstruction() != this) { in physicalSuccessor()
68 ih = ih.getNext(); in physicalSuccessor()
70 final InstructionHandle toThis = ih; in physicalSuccessor()
71 while (ih != null) { in physicalSuccessor()
72 ih = ih.getNext(); in physicalSuccessor()
73 if ((ih != null) && (ih.getInstruction() == this)) { in physicalSuccessor()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DInstructionHandleTestCase.java29 …final InstructionHandle ih = InstructionHandle.getInstructionHandle(new NOP());// have to start wi… in testsetInstructionNull() local
30 Assert.assertNotNull(ih); in testsetInstructionNull()
31 ih.setInstruction(null); in testsetInstructionNull()
32 Assert.assertNotNull(ih); in testsetInstructionNull()
37 …final InstructionHandle ih = InstructionHandle.getInstructionHandle(new NOP());// have to start wi… in testsetInstructionI() local
38 Assert.assertNotNull(ih); in testsetInstructionI()
39 ih.setInstruction(new NOP()); in testsetInstructionI()
40 Assert.assertNotNull(ih); in testsetInstructionI()
45 …final InstructionHandle ih = InstructionHandle.getInstructionHandle(new NOP());// have to start wi… in testsetInstructionnotI() local
46 Assert.assertNotNull(ih); in testsetInstructionnotI()
[all …]
/external/avb/test/
Dimage_handler_unittest.py117 ih = avbtool.ImageHandler(self.TEST_FILE_SPARSE_PATH)
120 self.assertEqual(ih.tell(), 0)
123 self.assertEqual(ih.read(14), bytearray('Barfoo43Barfoo'))
124 self.assertEqual(ih.tell(), 14)
125 self.assertEqual(ih.read(2), bytearray('43'))
126 self.assertEqual(ih.tell(), 16)
129 ih.seek(0x6000 + 1)
130 self.assertEqual(ih.read(4), bytearray('\x02\x03\x04\x01'))
133 ih.seek(0x3000 - 10)
134 self.assertEqual(ih.read(12), bytearray('43Barfoo43\x00\x00'))
[all …]
/external/apache-commons-bcel/src/examples/
DJasminVisitor.java191 InstructionHandle ih = bi.getTarget(); in visitCode() local
192 put(ih, "Label" + label_counter++ + ":"); in visitCode()
198 InstructionHandle ih = lv.getStart(); in visitCode() local
199 put(ih, "Label" + label_counter++ + ":"); in visitCode()
200 ih = lv.getEnd(); in visitCode()
201 put(ih, "Label" + label_counter++ + ":"); in visitCode()
206 InstructionHandle ih = c.getStartPC(); in visitCode() local
208 put(ih, "Label" + label_counter++ + ":"); in visitCode()
209 ih = c.getEndPC(); in visitCode()
210 put(ih, "Label" + label_counter++ + ":"); in visitCode()
[all …]
/external/kernel-headers/original/uapi/linux/
Dcoda.h322 struct coda_in_hdr ih; member
336 struct coda_in_hdr ih; member
347 struct coda_in_hdr ih; member
358 struct coda_in_hdr ih; member
369 struct coda_in_hdr ih; member
386 struct coda_in_hdr ih; member
398 struct coda_in_hdr ih; member
409 struct coda_in_hdr ih; member
425 struct coda_in_hdr ih; member
440 struct coda_in_hdr ih; member
[all …]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/
Dunique.pass.cpp83 int ih[] = {0, 1, 1}; in test() local
84 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test()
85 r = std::unique(Iter(ih), Iter(ih+sh)); in test()
86 assert(base(r) == ih + 2); in test()
87 assert(ih[0] == 0); in test()
88 assert(ih[1] == 1); in test()
160 Ptr ih[3]; in test1() local
161 ih[1].reset(&one); in test1()
162 ih[2].reset(&one); in test1()
163 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test1()
[all …]
Dunique_pred.pass.cpp105 int ih[] = {0, 1, 1}; in test() local
106 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test()
108 r = std::unique(Iter(ih), Iter(ih+sh), count_equal()); in test()
109 assert(base(r) == ih + 2); in test()
110 assert(ih[0] == 0); in test()
111 assert(ih[1] == 1); in test()
198 Ptr ih[3]; in test1() local
199 ih[1].reset(&one); in test1()
200 ih[2].reset(&one); in test1()
201 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test1()
[all …]
/external/u-boot/arch/arm/lib/
Dimage.c32 struct Image_header *ih; in booti_setup() local
38 ih = (struct Image_header *)map_sysmem(image, 0); in booti_setup()
40 if (ih->magic != le32_to_cpu(LINUX_ARM64_IMAGE_MAGIC)) { in booti_setup()
50 if (ih->image_size == 0) { in booti_setup()
55 image_size = le64_to_cpu(ih->image_size); in booti_setup()
56 text_offset = le64_to_cpu(ih->text_offset); in booti_setup()
67 if (!force_reloc && (le64_to_cpu(ih->flags) & BIT(3))) in booti_setup()
74 unmap_sysmem(ih); in booti_setup()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/structurals/
DExceptionHandlers.java50 … for (InstructionHandle ih=ceg.getStartPC(); ih != ceg.getEndPC().getNext(); ih=ih.getNext()) { in ExceptionHandlers()
52 hs = exceptionhandlers.get(ih); in ExceptionHandlers()
55 exceptionhandlers.put(ih, hs); in ExceptionHandlers()
66 public ExceptionHandler[] getExceptionHandlers(final InstructionHandle ih) { in getExceptionHandlers() argument
67 final Set<ExceptionHandler> hsSet = exceptionhandlers.get(ih); in getExceptionHandlers()
/external/u-boot/common/spl/
Dspl_ymodem.c84 struct image_header *ih = NULL; in spl_ymodem_load_image() local
101 ih = (struct image_header *)addr; in spl_ymodem_load_image()
113 ret = spl_parse_image_header(spl_image, ih); in spl_ymodem_load_image()
135 ih = (struct image_header *)buf; in spl_ymodem_load_image()
136 ret = spl_parse_image_header(spl_image, ih); in spl_ymodem_load_image()
140 if (ih->ih_comp == IH_COMP_GZIP) in spl_ymodem_load_image()
146 ih = (struct image_header *)addr; in spl_ymodem_load_image()
166 (ih->ih_comp == IH_COMP_GZIP)) { in spl_ymodem_load_image()
167 if (gunzip((void *)(spl_image->load_addr + sizeof(*ih)), in spl_ymodem_load_image()
169 (void *)(CONFIG_SYS_LOAD_ADDR + sizeof(*ih)), in spl_ymodem_load_image()
/external/toybox/toys/net/
Dping.c92 struct icmphdr *ih = (void *)toybuf; in ping_main() local
209 memset(ih, 0, sizeof(*ih)); in ping_main()
210 ih->type = (ai->ai_family == AF_INET) ? 8 : 128; in ping_main()
211 ih->un.echo.id = getpid(); in ping_main()
212 ih->un.echo.sequence = ++seq; in ping_main()
213 if (TT.s >= 4) *(unsigned *)(ih+1) = tnow; in ping_main()
215 ih->checksum = pingchksum((void *)toybuf, TT.s+sizeof(*ih)); in ping_main()
216 xsendto(TT.sock, toybuf, TT.s+sizeof(*ih), TT.sa); in ping_main()
237 TT.fugit += (pkttime = millitime()-*(unsigned *)(ih+1)); in ping_main()
247 ih->un.echo.sequence, 0); in ping_main()
[all …]
/external/fdlibm/
Dk_rem_pio2.c170 int jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; local
205 ih = 0;
209 ih = iq[jz-1]>>(23-q0);
211 else if(q0==0) ih = iq[jz-1]>>23;
212 else if(z>=0.5) ih=2;
214 if(ih>0) { /* q > 0.5 */
232 if(ih==2) {
286 y[0] = (ih==0)? fw: -fw;
292 y[0] = (ih==0)? fw: -fw;
295 y[1] = (ih==0)? fw: -fw;
[all …]
/external/ltp/testcases/kernel/syscalls/utils/
Dinotify.h86 struct inotify_handle *ih; /* associated inotify handle */ member
176 static inline void inotify_destroy(struct inotify_handle *ih) in inotify_destroy() argument
180 static inline __s32 inotify_find_watch(struct inotify_handle *ih, struct inode *inode, in inotify_find_watch() argument
186 static inline __s32 inotify_find_update_watch(struct inotify_handle *ih, in inotify_find_update_watch() argument
192 static inline __s32 inotify_add_watch(struct inotify_handle *ih, in inotify_add_watch() argument
199 static inline int inotify_rm_watch(struct inotify_handle *ih, in inotify_rm_watch() argument
205 static inline int inotify_rm_wd(struct inotify_handle *ih, __u32 wd) in inotify_rm_wd() argument
210 static inline void inotify_remove_watch_locked(struct inotify_handle *ih, in inotify_remove_watch_locked() argument
/external/u-boot/fs/reiserfs/
Dreiserfs_private.h250 #define ih_version(ih) (__le16_to_cpu((ih)->ih_version)) argument
252 #define IH_KEY_OFFSET(ih) (ih_version(ih) == ITEM_VERSION_1 \ argument
253 ? __le32_to_cpu((ih)->ih_key.u.v1.k_offset) \
254 : offset_v2_k_offset(&((ih)->ih_key.u.v2)))
256 #define IH_KEY_ISTYPE(ih, type) (ih_version(ih) == ITEM_VERSION_1 \ argument
257 ? __le32_to_cpu((ih)->ih_key.u.v1.k_uniqueness) == V1_##type \
258 : offset_v2_k_type(&((ih)->ih_key.u.v2)) == V2_##type)
304 #define stat_data_v1(ih) (ih_version(ih) == ITEM_VERSION_1) argument
340 #define stat_data_v2(ih) (ih_version(ih) == ITEM_VERSION_2) argument
/external/webrtc/talk/session/media/
Dyuvscaler_unittest.cc98 bool TestScale(int iw, int ih, int ow, int oh, int offset, bool usefile, in TestScale() argument
102 size_t isize = I420_SIZE(iw, ih); in TestScale()
116 if (!LoadPlanarYuvTestImage("faces", iw, ih, ibuf) || in TestScale()
149 EXPECT_EQ(0, libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, in TestScale()
193 const int iw = 640, ih = 360; in TEST_F() local
195 ALIGN16(uint8_t ibuf[I420_SIZE(iw, ih)]); in TEST_F()
199 ASSERT_TRUE(LoadPlanarYuvTestImage("faces", iw, ih, ibuf)); in TEST_F()
201 libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, 0, false); in TEST_F()
209 const int iw = 640, ih = 360; in TEST_F() local
212 scoped_ptr<uint8_t[]> ibuffer(new uint8_t[I420_SIZE(iw, ih) + kAlignment]); in TEST_F()
[all …]
/external/libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/
Dhash.pred.pass.cpp94 int ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test() local
95 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test()
97 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3), sh*3); in test()
128 char ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test2() local
129 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test2()
131 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3), sh*3); in test2()
Dpred.pass.cpp88 int ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test() local
89 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test()
91 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3), sh*3); in test()
122 char ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test2() local
123 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test2()
125 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3), sh*3); in test2()
Ddefault.pass.cpp76 int ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test() local
77 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test()
79 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3)); in test()
115 char ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test2() local
116 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test2()
118 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3)); in test2()
/external/libcxx/test/std/utilities/function.objects/func.search/func.search.bm/
Ddefault.pass.cpp76 int ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test() local
77 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test()
79 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3)); in test()
115 char ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test2() local
116 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test2()
118 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3)); in test2()
/external/libcxx/test/std/experimental/func/func.searchers/func.searchers.boyer_moore/
Dhash.pass.cpp81 int ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test() local
82 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test()
84 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3), sh*3); in test()
115 char ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test2() local
116 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test2()
118 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3), sh*3); in test2()
Ddefault.pass.cpp75 int ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test() local
76 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test()
78 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3)); in test()
114 char ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test2() local
115 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test2()
117 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3)); in test2()
Dhash.pred.pass.cpp96 int ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test() local
97 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test()
99 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3), sh*3); in test()
133 char ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test2() local
134 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test2()
136 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3), sh*3); in test2()
/external/libcxx/test/std/experimental/func/func.searchers/func.searchers.boyer_moore_horspool/
Dhash.pred.pass.cpp93 int ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test() local
94 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test()
96 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3), sh*3); in test()
127 char ih[] = {0, 1, 1, 1, 1, 2, 3, 0, 1, 2, 3, 4}; in test2() local
128 const unsigned sh = sizeof(ih)/sizeof(ih[0]); in test2()
130 do_search(Iter1(ih), Iter1(ih+sh), Iter2(ii), Iter2(ii+3), Iter1(ih+3), sh*3); in test2()

12345678910>>...13