Home
last modified time | relevance | path

Searched refs:cur1 (Results 1 – 18 of 18) sorted by relevance

/third_party/iowow/src/kv/tests/
Diwkv_test5.c32 IWKV_cursor cur1; in iwkv_test5_2() local
55 rc = iwkv_cursor_open(db, &cur1, IWKV_CURSOR_BEFORE_FIRST, 0); in iwkv_test5_2()
58 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_NEXT); in iwkv_test5_2()
60 rc = iwkv_cursor_del(cur1, 0); in iwkv_test5_2()
63 rc = iwkv_cursor_close(&cur1); in iwkv_test5_2()
66 rc = iwkv_cursor_open(db, &cur1, IWKV_CURSOR_BEFORE_FIRST, 0); in iwkv_test5_2()
68 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_NEXT); in iwkv_test5_2()
70 rc = iwkv_cursor_close(&cur1); in iwkv_test5_2()
86 rc = iwkv_cursor_open(db, &cur1, IWKV_CURSOR_AFTER_LAST, 0); in iwkv_test5_2()
89 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_PREV); in iwkv_test5_2()
[all …]
Diwkv_test1.c479 IWKV_cursor cur1; in iwkv_test1_impl() local
481 rc = iwkv_cursor_open(db1, &cur1, IWKV_CURSOR_BEFORE_FIRST, 0); in iwkv_test1_impl()
483 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_PREV); in iwkv_test1_impl()
485 rc = iwkv_cursor_close(&cur1); in iwkv_test1_impl()
488 rc = iwkv_cursor_open(db1, &cur1, IWKV_CURSOR_AFTER_LAST, 0); in iwkv_test1_impl()
490 rc = iwkv_cursor_get(cur1, &key, &val); in iwkv_test1_impl()
492 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_NEXT); in iwkv_test1_impl()
494 rc = iwkv_cursor_close(&cur1); in iwkv_test1_impl()
497 rc = iwkv_cursor_open(db1, &cur1, IWKV_CURSOR_AFTER_LAST, 0); in iwkv_test1_impl()
500 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_PREV); in iwkv_test1_impl()
[all …]
/third_party/python/Lib/sqlite3/test/
Dtransactions.py37 self.cur1 = self.con1.cursor()
43 self.cur1.close()
55 self.cur1.execute("create table test(i)")
56 self.cur1.execute("insert into test(i) values (5)")
57 self.cur1.execute("create table test2(j)")
63 self.cur1.execute("create table test(i)")
64 self.cur1.execute("insert into test(i) values (5)")
70 self.cur1.execute("create table test(i)")
71 self.cur1.execute("insert into test(i) values (5)")
73 self.cur1.execute("update test set i=6")
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_bwdif.c126 static void filter_intra(void *dst1, void *cur1, int w, int prefs, int mrefs, in filter_intra() argument
130 uint8_t *cur = cur1; in filter_intra()
136 static void filter_line_c(void *dst1, void *prev1, void *cur1, void *next1, in filter_line_c() argument
143 uint8_t *cur = cur1; in filter_line_c()
154 static void filter_edge(void *dst1, void *prev1, void *cur1, void *next1, in filter_edge() argument
160 uint8_t *cur = cur1; in filter_edge()
171 static void filter_intra_16bit(void *dst1, void *cur1, int w, int prefs, int mrefs, in filter_intra_16bit() argument
175 uint16_t *cur = cur1; in filter_intra_16bit()
181 static void filter_line_c_16bit(void *dst1, void *prev1, void *cur1, void *next1, in filter_line_c_16bit() argument
188 uint16_t *cur = cur1; in filter_line_c_16bit()
[all …]
Dvf_yadif.c95 void *prev1, void *cur1, void *next1, in filter_line_c() argument
100 uint8_t *cur = cur1; in filter_line_c()
114 static void filter_edges(void *dst1, void *prev1, void *cur1, void *next1, in filter_edges() argument
119 uint8_t *cur = cur1; in filter_edges()
134 cur = (uint8_t*)cur1 + offset; in filter_edges()
146 void *prev1, void *cur1, void *next1, in filter_line_c_16bit() argument
152 uint16_t *cur = cur1; in filter_line_c_16bit()
163 static void filter_edges_16bit(void *dst1, void *prev1, void *cur1, void *next1, in filter_edges_16bit() argument
168 uint16_t *cur = cur1; in filter_edges_16bit()
184 cur = (uint16_t*)cur1 + offset; in filter_edges_16bit()
Dbwdif.h29 void (*filter_intra)(void *dst1, void *cur1, int w, int prefs, int mrefs,
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djquant2.c934 register LOCFSERROR cur0, cur1, cur2; /* current error or pixel value */ in pass2_fs_dither() local
972 cur0 = cur1 = cur2 = 0; in pass2_fs_dither()
987 cur1 = RIGHT_SHIFT(cur1 + errorptr[dir3 + 1] + 8, 4); in pass2_fs_dither()
993 cur1 = error_limit[cur1]; in pass2_fs_dither()
1000 cur1 += GETJSAMPLE(inptr[1]); in pass2_fs_dither()
1003 cur1 = GETJSAMPLE(range_limit[cur1]); in pass2_fs_dither()
1007 &histogram[cur0 >> C0_SHIFT][cur1 >> C1_SHIFT][cur2 >> C2_SHIFT]; in pass2_fs_dither()
1011 fill_inverse_cmap(cinfo, cur0 >> C0_SHIFT, cur1 >> C1_SHIFT, in pass2_fs_dither()
1019 cur1 -= GETJSAMPLE(colormap1[pixcode]); in pass2_fs_dither()
1034 bnexterr = cur1; /* Process component 1 */ in pass2_fs_dither()
[all …]
/third_party/libjpeg-turbo/
Djquant2.c934 register LOCFSERROR cur0, cur1, cur2; /* current error or pixel value */ in pass2_fs_dither() local
972 cur0 = cur1 = cur2 = 0; in pass2_fs_dither()
987 cur1 = RIGHT_SHIFT(cur1 + errorptr[dir3 + 1] + 8, 4); in pass2_fs_dither()
993 cur1 = error_limit[cur1]; in pass2_fs_dither()
1000 cur1 += GETJSAMPLE(inptr[1]); in pass2_fs_dither()
1003 cur1 = GETJSAMPLE(range_limit[cur1]); in pass2_fs_dither()
1007 &histogram[cur0 >> C0_SHIFT][cur1 >> C1_SHIFT][cur2 >> C2_SHIFT]; in pass2_fs_dither()
1011 fill_inverse_cmap(cinfo, cur0 >> C0_SHIFT, cur1 >> C1_SHIFT, in pass2_fs_dither()
1019 cur1 -= GETJSAMPLE(colormap1[pixcode]); in pass2_fs_dither()
1034 bnexterr = cur1; /* Process component 1 */ in pass2_fs_dither()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/
Djquant2.c934 register LOCFSERROR cur0, cur1, cur2; /* current error or pixel value */ in pass2_fs_dither() local
972 cur0 = cur1 = cur2 = 0; in pass2_fs_dither()
987 cur1 = RIGHT_SHIFT(cur1 + errorptr[dir3 + 1] + 8, 4); in pass2_fs_dither()
993 cur1 = error_limit[cur1]; in pass2_fs_dither()
1000 cur1 += inptr[1]; in pass2_fs_dither()
1003 cur1 = range_limit[cur1]; in pass2_fs_dither()
1007 &histogram[cur0 >> C0_SHIFT][cur1 >> C1_SHIFT][cur2 >> C2_SHIFT]; in pass2_fs_dither()
1011 fill_inverse_cmap(cinfo, cur0 >> C0_SHIFT, cur1 >> C1_SHIFT, in pass2_fs_dither()
1019 cur1 -= colormap1[pixcode]; in pass2_fs_dither()
1034 bnexterr = cur1; /* Process component 1 */ in pass2_fs_dither()
[all …]
/third_party/boost/boost/xpressive/detail/utility/
Dtracking_ptr.hpp352 typename references_type::const_iterator cur1 = this->refs_.begin(); in dump_() local
354 for(; cur1 != end1; ++cur1) in dump_()
356 sout << "0x" << (void*)&**cur1 << ','; in dump_()
/third_party/e2fsprogs/lib/ext2fs/
Dnls_utf8.c950 struct utf8cursor cur1, cur2; in utf8_casefold_cmp() local
952 if (utf8ncursor(&cur1, data, (const char *) str1, len1) < 0) in utf8_casefold_cmp()
958 c1 = utf8byte(&cur1); in utf8_casefold_cmp()
/third_party/freetype/src/truetype/
Dttinterp.c6887 FT_F26Dot6 orus1, orus2, org1, org2, cur1, cur2, delta1, delta2; in _iup_worker_interpolate() local
6917 cur1 = worker->curs[ref1].x; in _iup_worker_interpolate()
6919 delta1 = SUB_LONG( cur1, org1 ); in _iup_worker_interpolate()
6922 if ( cur1 == cur2 || orus1 == orus2 ) in _iup_worker_interpolate()
6938 x = cur1; in _iup_worker_interpolate()
6966 scale = FT_DivFix( SUB_LONG( cur2, cur1 ), in _iup_worker_interpolate()
6970 x = ADD_LONG( cur1, in _iup_worker_interpolate()
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttinterp.c6899 FT_F26Dot6 orus1, orus2, org1, org2, cur1, cur2, delta1, delta2; in _iup_worker_interpolate() local
6929 cur1 = worker->curs[ref1].x; in _iup_worker_interpolate()
6931 delta1 = SUB_LONG( cur1, org1 ); in _iup_worker_interpolate()
6934 if ( cur1 == cur2 || orus1 == orus2 ) in _iup_worker_interpolate()
6950 x = cur1; in _iup_worker_interpolate()
6978 scale = FT_DivFix( SUB_LONG( cur2, cur1 ), in _iup_worker_interpolate()
6982 x = ADD_LONG( cur1, in _iup_worker_interpolate()
/third_party/flutter/skia/third_party/externals/freetype/src/truetype/
Dttinterp.c6948 FT_F26Dot6 orus1, orus2, org1, org2, cur1, cur2, delta1, delta2; in _iup_worker_interpolate() local
6978 cur1 = worker->curs[ref1].x; in _iup_worker_interpolate()
6980 delta1 = SUB_LONG( cur1, org1 ); in _iup_worker_interpolate()
6983 if ( cur1 == cur2 || orus1 == orus2 ) in _iup_worker_interpolate()
6999 x = cur1; in _iup_worker_interpolate()
7027 scale = FT_DivFix( SUB_LONG( cur2, cur1 ), in _iup_worker_interpolate()
7031 x = ADD_LONG( cur1, in _iup_worker_interpolate()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dimage_utils.cc1167 uint8_t cur1 = output_img.at<cv::Vec3b>(cv::Point(y, x))[0]; in AdjustHue() local
1170 cur1 += h_hue; in AdjustHue()
1171 output_img.at<cv::Vec3b>(cv::Point(y, x))[0] = cur1; in AdjustHue()
/third_party/ffmpeg/libavcodec/
Dsnowenc.c643 uint8_t *cur1 = cur + y*ref_stride; in get_block_rd() local
647 int v = (cur1[x] * obmc1[x]) << (FRAC_BITS - LOG2_OBMC_MAX); in get_block_rd()
649 … int v = (cur1[x] * obmc1[x] + (1<<(LOG2_OBMC_MAX - FRAC_BITS-1))) >> (LOG2_OBMC_MAX - FRAC_BITS); in get_block_rd()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java1968 Currency cur1 = Currency.getInstance(new Locale("und", "PH")); in Test6816() local
1974 if ( !cur1.getCurrencyCode().equals("PHP") || !cur2.getCurrencyCode().equals("PHP")) { in Test6816()
1975 …errln("FAIL: Currencies should match PHP: cur1 = "+cur1.getCurrencyCode()+"; cur2 = "+cur2.getCurr… in Test6816()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatTest.java1971 Currency cur1 = Currency.getInstance(new Locale("und", "PH")); in Test6816() local
1977 if ( !cur1.getCurrencyCode().equals("PHP") || !cur2.getCurrencyCode().equals("PHP")) { in Test6816()
1978 …errln("FAIL: Currencies should match PHP: cur1 = "+cur1.getCurrencyCode()+"; cur2 = "+cur2.getCurr… in Test6816()