Home
last modified time | relevance | path

Searched refs:ind (Results 1 – 25 of 150) sorted by relevance

123456

/third_party/ltp/lib/
Drandom_range.c683 int ind; local
698 for (ind = 2; ind < argc; ind++) {
701 sscanf(argv[ind], "%i", &mask);
726 int ind; local
750 for (ind = 0; ind < PARTNUM; ind++)
751 cntarr[ind] = 0;
774 for (ind = 0; ind < PARTNUM; ind++) {
775 valbound[ind] = part * ind;
786 for (ind = 0; ind < PARTNUM - 1; ind++) {
787 if (valbound[ind] < lret
[all …]
Dtlibio.c282 unsigned int ind; in lio_parse_io_arg1() local
289 for (ind = 0; ind < sizeof(Lio_info1) / sizeof(struct lio_info_type); in lio_parse_io_arg1()
290 ind++) { in lio_parse_io_arg1()
291 if (strcmp(string, Lio_info1[ind].token) == 0) { in lio_parse_io_arg1()
292 mask |= Lio_info1[ind].bits; in lio_parse_io_arg1()
314 unsigned int ind; in lio_help1() local
316 for (ind = 0; ind < sizeof(Lio_info1) / sizeof(struct lio_info_type); in lio_help1()
317 ind++) { in lio_help1()
318 printf("%s %s : %s\n", prefix, Lio_info1[ind].token, in lio_help1()
319 Lio_info1[ind].desc); in lio_help1()
[all …]
/third_party/ltp/testcases/kernel/syscalls/mknod/
Dmknod06.c123 int ind; /* counter to test different test conditions */ in main() local
137 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
138 node_name = Test_cases[ind].pathname; in main()
139 test_desc = Test_cases[ind].desc; in main()
153 Test_cases[ind].exp_errno); in main()
157 if (TEST_ERRNO == Test_cases[ind].exp_errno) { in main()
163 TEST_ERRNO, Test_cases[ind].exp_errno); in main()
188 int ind; in setup() local
201 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in setup()
202 if (!Test_cases[ind].pathname) in setup()
[all …]
/third_party/ltp/testcases/kernel/syscalls/symlink/
Dsymlink03.c147 int ind; /* counter to test different test conditions */ in main() local
161 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
162 test_file = Test_cases[ind].file; in main()
163 sym_file = Test_cases[ind].link; in main()
164 test_desc = Test_cases[ind].desc; in main()
178 if (TEST_ERRNO == Test_cases[ind].exp_errno) { in main()
186 Test_cases[ind].exp_errno); in main()
191 Test_cases[ind].exp_errno); in main()
211 int ind; in setup() local
232 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in setup()
[all …]
/third_party/ltp/testcases/kernel/fs/doio/
Dopen_flags.c197 unsigned int ind; in parse_open_flags() local
210 for (ind = 0; in parse_open_flags()
211 ind < sizeof(Open_flags) / sizeof(struct open_flag_t); in parse_open_flags()
212 ind++) { in parse_open_flags()
213 if (strcmp(name, Open_flags[ind].symbol) == 0) { in parse_open_flags()
214 bits |= Open_flags[ind].flag; in parse_open_flags()
241 int ind; in openflags2symbols() local
263 for (ind = 1; ind < size; ind++) { in openflags2symbols()
265 if ((bits & Open_flags[ind].flag) == Open_flags[ind].flag) { in openflags2symbols()
269 strcat(Open_symbols, Open_flags[ind].symbol); in openflags2symbols()
[all …]
Dforker.c163 static int ind = 0; in forker() local
165 Forker_pids[ind] = 0; in forker()
244 int ind; local
274 for (ind = 0; ind < Forker_npids; ind++) {
275 printf("%d ind:%-2d pid:%d\n", getpid(), ind, Forker_pids[ind]);
Ddatabin.c46 int ind; in databingen() local
59 for (ind = 0; ind < bsize; ind++) in databingen()
60 buffer[ind] = ((offset + ind) % 8 & 0177); in databingen()
73 for (ind = 0; ind < bsize; ind++) in databingen()
74 buffer[ind] = (rand() & 0177) | 0100; in databingen()
Ddataascii.c49 int ind; in dataasciigen() local
66 ind = cnt % chars_size; in dataasciigen()
67 *chr++ = charlist[ind]; in dataasciigen()
78 int ind; in dataasciichk() local
98 ind = cnt % chars_size; in dataasciichk()
99 if (*chr != charlist[ind]) { in dataasciichk()
102 cnt, charlist[ind], *chr); in dataasciichk()
Dgrowfiles.c351 int ind; in main() local
414 while ((ind = getopt(argc, argv, in main()
417 switch (ind) { in main()
1128 for (ind = 0; ind < num; ind++) { in main()
1129 printf("\t%#o\n", Open_flags[ind]); in main()
1270 for (ind = first_file_ind; ind < argc; ind++, num++) { in main()
1271 strcpy((char *)filenames + (num * PATH_MAX), argv[ind]); in main()
1279 for (ind = 0; ind < num_auto_files; ind++, num++) { in main()
1283 (long)tv1.tv_sec, (long)tv1.tv_usec, rand(), ind); in main()
1289 for (ind = 1; ind <= seq_auto_files; ind++, num++) { in main()
[all …]
/third_party/python/Lib/test/
Dtest_index.py8 return self.ind
20 self.o.ind = -2
21 self.n.ind = 2
26 self.o.ind = 1
27 self.n.ind = 2
36 self.o.ind = 4
37 self.n.ind = 5
51 self.o.ind = 'dumb'
52 self.n.ind = 'bad'
103 self.o.ind = -2
[all …]
/third_party/ltp/testcases/kernel/syscalls/sigaltstack/
Dsigaltstack02.c114 int ind; /* counter to test different test conditions */ in main() local
124 for (ind = 0; Test_cases[ind].desc != NULL; ind++) { in main()
125 sigstk.ss_size = Test_cases[ind].size; in main()
126 sigstk.ss_flags = Test_cases[ind].flag; in main()
127 test_desc = Test_cases[ind].desc; in main()
135 Test_cases[ind].exp_errno) { in main()
145 [ind].exp_errno); in main()
150 Test_cases[ind].exp_errno); in main()
/third_party/node/deps/openssl/openssl/crypto/x509/
Dv3_admis.c54 BIO *bp, int ind);
72 BIO *bp, int ind) in i2r_NAMING_AUTHORITY() argument
84 if (BIO_printf(bp, "%*snamingAuthority: ", ind, "") <= 0) in i2r_NAMING_AUTHORITY()
91 if (BIO_printf(bp, "%*s admissionAuthorityId: ", ind, "") <= 0) in i2r_NAMING_AUTHORITY()
101 if (BIO_printf(bp, "%*s namingAuthorityText: ", ind, "") <= 0 in i2r_NAMING_AUTHORITY()
107 if (BIO_printf(bp, "%*s namingAuthorityUrl: ", ind, "") <= 0 in i2r_NAMING_AUTHORITY()
119 BIO *bp, int ind) in i2r_ADMISSION_SYNTAX() argument
125 if (BIO_printf(bp, "%*sadmissionAuthority:\n", ind, "") <= 0 in i2r_ADMISSION_SYNTAX()
126 || BIO_printf(bp, "%*s ", ind, "") <= 0 in i2r_ADMISSION_SYNTAX()
135 if (BIO_printf(bp, "%*sEntry %0d:\n", ind, "", 1 + i) <= 0) goto err; in i2r_ADMISSION_SYNTAX()
[all …]
/third_party/openssl/crypto/x509/
Dv3_admis.c54 BIO *bp, int ind);
72 BIO *bp, int ind) in i2r_NAMING_AUTHORITY() argument
84 if (BIO_printf(bp, "%*snamingAuthority: ", ind, "") <= 0) in i2r_NAMING_AUTHORITY()
91 if (BIO_printf(bp, "%*s admissionAuthorityId: ", ind, "") <= 0) in i2r_NAMING_AUTHORITY()
101 if (BIO_printf(bp, "%*s namingAuthorityText: ", ind, "") <= 0 in i2r_NAMING_AUTHORITY()
107 if (BIO_printf(bp, "%*s namingAuthorityUrl: ", ind, "") <= 0 in i2r_NAMING_AUTHORITY()
119 BIO *bp, int ind) in i2r_ADMISSION_SYNTAX() argument
125 if (BIO_printf(bp, "%*sadmissionAuthority:\n", ind, "") <= 0 in i2r_ADMISSION_SYNTAX()
126 || BIO_printf(bp, "%*s ", ind, "") <= 0 in i2r_ADMISSION_SYNTAX()
135 if (BIO_printf(bp, "%*sEntry %0d:\n", ind, "", 1 + i) <= 0) goto err; in i2r_ADMISSION_SYNTAX()
[all …]
/third_party/node/deps/openssl/openssl/crypto/ocsp/
Dv3_ocsp.c42 BIO *bp, int ind);
111 int ind) in i2r_ocsp_crlid() argument
115 if (BIO_printf(bp, "%*scrlUrl: ", ind, "") <= 0) in i2r_ocsp_crlid()
123 if (BIO_printf(bp, "%*scrlNum: ", ind, "") <= 0) in i2r_ocsp_crlid()
131 if (BIO_printf(bp, "%*scrlTime: ", ind, "") <= 0) in i2r_ocsp_crlid()
144 BIO *bp, int ind) in i2r_ocsp_acutoff() argument
146 if (BIO_printf(bp, "%*s", ind, "") <= 0) in i2r_ocsp_acutoff()
154 int ind) in i2r_object() argument
156 if (BIO_printf(bp, "%*s", ind, "") <= 0) in i2r_object()
240 BIO *bp, int ind) in i2r_ocsp_serviceloc() argument
[all …]
/third_party/openssl/crypto/ocsp/
Dv3_ocsp.c42 BIO *bp, int ind);
111 int ind) in i2r_ocsp_crlid() argument
115 if (BIO_printf(bp, "%*scrlUrl: ", ind, "") <= 0) in i2r_ocsp_crlid()
123 if (BIO_printf(bp, "%*scrlNum: ", ind, "") <= 0) in i2r_ocsp_crlid()
131 if (BIO_printf(bp, "%*scrlTime: ", ind, "") <= 0) in i2r_ocsp_crlid()
144 BIO *bp, int ind) in i2r_ocsp_acutoff() argument
146 if (BIO_printf(bp, "%*s", ind, "") <= 0) in i2r_ocsp_acutoff()
154 int ind) in i2r_object() argument
156 if (BIO_printf(bp, "%*s", ind, "") <= 0) in i2r_object()
240 BIO *bp, int ind) in i2r_ocsp_serviceloc() argument
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/math/
DBigDecimal.java353 private byte ind; // assumed undefined field in BigDecimal
530 ind = ispos; // assume positive in BigDecimal()
535 ind = isneg; in BigDecimal()
697 ind = iszero; // force to show zero in BigDecimal()
766 ind = iszero; in BigDecimal()
769 ind = ispos; in BigDecimal()
772 ind = isneg; in BigDecimal()
778 ind = ispos; in BigDecimal()
781 ind = isneg; in BigDecimal()
792 ind = ispos; in BigDecimal()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DBigDecimal.java364 private byte ind; // assumed undefined field in BigDecimal
546 ind = ispos; // assume positive in BigDecimal()
551 ind = isneg; in BigDecimal()
713 ind = iszero; // force to show zero in BigDecimal()
784 ind = iszero; in BigDecimal()
787 ind = ispos; in BigDecimal()
790 ind = isneg; in BigDecimal()
796 ind = ispos; in BigDecimal()
799 ind = isneg; in BigDecimal()
810 ind = ispos; in BigDecimal()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dmediancut.c32 unsigned int ind; member
55 f_pixel px = achv[box->ind + i].acolor; in box_variance()
56 double weight = achv[box->ind + i].adjusted_weight; in box_variance()
76 const double diff = colordifference (mean, achv[box->ind + i].acolor); in box_max_error()
236 const float *chans = (const float *) &achv[b->ind + i].acolor; in prepare_sort()
239 achv[b->ind + i].tmp.sort_value = in prepare_sort()
250 const unsigned int ind = b->ind, end = ind + b->colors; in prepare_sort() local
251 for (unsigned int j = ind; j < end; j++) in prepare_sort()
263 hist_item_sort_range (&(achv[b->ind]), b->colors, median_start); in get_median()
266 return achv[b->ind + median_start].acolor; in get_median()
[all …]
/third_party/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod01.c22 int ind; in verify_fchmod() local
25 for (ind = 0; ind < 8; ind++) { in verify_fchmod()
26 mode = (mode_t)modes[ind]; in verify_fchmod()
/third_party/ltp/testcases/kernel/sched/pthreads/
Dpth_str01.c547 int rc, ind, total; in main() local
590 for (ind = 0; ind < total; ind++) { in main()
592 if ((child_info[ind].threads = malloc(breadth * sizeof(pthread_t))) in main()
597 memset(child_info[ind].threads, 0x00, in main()
600 if ((child_info[ind].child_ptrs = malloc(breadth * sizeof(c_info *))) == NULL) { in main()
604 memset(child_info[ind].child_ptrs, 0x00, in main()
607 if ((rc = pthread_mutex_init(&child_info[ind].child_mutex, in main()
614 if ((rc = pthread_mutex_init(&child_info[ind].talk_mutex, in main()
621 if ((rc = pthread_cond_init(&child_info[ind].child_condvar, in main()
629 if ((rc = pthread_cond_init(&child_info[ind].talk_condvar, in main()
[all …]
Dpth_str03.c527 int rc, ind, total; in main() local
565 for (ind = 0; ind < total; ind++) { in main()
567 if ((child_info[ind].threads = malloc(breadth * sizeof(pthread_t))) == in main()
572 memset(child_info[ind].threads, 0x00, in main()
575 if ((child_info[ind].child_ptrs = malloc(breadth * sizeof(c_info *))) == NULL) { in main()
579 memset(child_info[ind].child_ptrs, 0x00, in main()
583 pthread_mutex_init(&child_info[ind].child_mutex, NULL))) { in main()
590 pthread_mutex_init(&child_info[ind].talk_mutex, NULL))) { in main()
597 pthread_cond_init(&child_info[ind].child_condvar, NULL))) { in main()
604 pthread_cond_init(&child_info[ind].talk_condvar, NULL))) { in main()
[all …]
/third_party/ltp/testcases/kernel/syscalls/mremap/
Dmremap01.c101 int ind; /* counter variable */ in main() local
124 for (ind = 0; ind < newsize; ind++) { in main()
125 addr[ind] = (char)ind; in main()
/third_party/ffmpeg/libavcodec/
Dinterplayacm.c107 static int zero(InterplayACMContext *s, unsigned ind, unsigned col) in zero() argument
116 static int bad(InterplayACMContext *s, unsigned ind, unsigned col) in bad() argument
121 static int linear(InterplayACMContext *s, unsigned ind, unsigned col) in linear() argument
125 int b, middle = 1 << (ind - 1); in linear()
128 b = get_bits(gb, ind); in linear()
134 static int k13(InterplayACMContext *s, unsigned ind, unsigned col) in k13() argument
159 static int k12(InterplayACMContext *s, unsigned ind, unsigned col) in k12() argument
177 static int k24(InterplayACMContext *s, unsigned ind, unsigned col) in k24() argument
203 static int k23(InterplayACMContext *s, unsigned ind, unsigned col) in k23() argument
221 static int k35(InterplayACMContext *s, unsigned ind, unsigned col) in k35() argument
[all …]
/third_party/gstreamer/gstplugins_bad/ext/lv2/
Dcalf-lv2-port-groups.patch6 ss << ind << "lv2ev:supportsTimestamp <lv2ev:TimeStamp> ;\n";
9 - ss << ind << "pg:membership [ pg:group <#stereoIn>; pg:role pg:leftChannel ] ;" << endl;
10 + ss << ind << "pg:inGroup <#stereoIn> ; pg:role pg:leftChannel ;" << endl;
13 - ss << ind << "pg:membership [ pg:group <#stereoIn>; pg:role pg:rightChannel ] ;" << endl;
14 + ss << ind << "pg:inGroup <#stereoIn> ; pg:role pg:rightChannel ;" << endl;
17 - ss << ind << "pg:membership [ pg:group <#stereoOut>; pg:role pg:leftChannel ] ;" << endl;
18 + ss << ind << "pg:inGroup <#stereoOut> ; pg:role pg:leftChannel ;" << endl;
21 - ss << ind << "pg:membership [ pg:group <#stereoOut>; pg:role pg:rightChannel ] ;" << endl;
22 + ss << ind << "pg:inGroup <#stereoOut> ; pg:role pg:rightChannel ;" << endl;
/third_party/mesa3d/src/mesa/main/
Dtexcompress_cpal.c88 const GLubyte *ind = (const GLubyte *) indices; in paletted_to_color() local
93 pix += get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); in paletted_to_color()
94 pix += get_palette_entry(info, palette, ind[i] & 0xf, pix); in paletted_to_color()
97 get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); in paletted_to_color()
102 const GLubyte *ind = (const GLubyte *) indices; in paletted_to_color() local
104 pix += get_palette_entry(info, palette, ind[i], pix); in paletted_to_color()

123456