Home
last modified time | relevance | path

Searched refs:num_open (Results 1 – 11 of 11) sorted by relevance

/external/curl/tests/libtest/
Dlib537.c53 static struct rlimit num_open; variable
67 for(num_open.rlim_cur = 0; in close_file_descriptors()
68 num_open.rlim_cur < num_open.rlim_max; in close_file_descriptors()
69 num_open.rlim_cur++) in close_file_descriptors()
70 if(fd[num_open.rlim_cur] > 0) in close_file_descriptors()
71 close(fd[num_open.rlim_cur]); in close_file_descriptors()
233 num_open.rlim_max = sizeof(*memchunk) * nitems;
234 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max);
263 num_open.rlim_max = rl.rlim_cur - SAFETY_MARGIN;
271 num_open.rlim_max = nitems;
[all …]
Dlib518.c52 static struct rlimit num_open; variable
66 for(num_open.rlim_cur = 0; in close_file_descriptors()
67 num_open.rlim_cur < num_open.rlim_max; in close_file_descriptors()
68 num_open.rlim_cur++) in close_file_descriptors()
69 if(fd[num_open.rlim_cur] > 0) in close_file_descriptors()
70 close(fd[num_open.rlim_cur]); in close_file_descriptors()
229 num_open.rlim_cur = NUM_NEEDED; in rlimit()
235 (rl.rlim_cur <= num_open.rlim_cur)) { in rlimit()
237 msnprintf(strbuff1, sizeof(strbuff1), fmt, num_open.rlim_cur); in rlimit()
259 num_open.rlim_max = sizeof(*memchunk) * (size_t)nitems; in rlimit()
[all …]
/external/webp/src/utils/
Dhuffman_utils.c149 int num_open = 1; // number of open branches in current tree level in BuildHuffmanTable() local
155 num_open <<= 1; in BuildHuffmanTable()
156 num_nodes += num_open; in BuildHuffmanTable()
157 num_open -= count[len]; in BuildHuffmanTable()
158 if (num_open < 0) { in BuildHuffmanTable()
174 num_open <<= 1; in BuildHuffmanTable()
175 num_nodes += num_open; in BuildHuffmanTable()
176 num_open -= count[len]; in BuildHuffmanTable()
177 if (num_open < 0) { in BuildHuffmanTable()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dreader_dataset_ops_test_base.py173 num_open = 0
177 num_open += 1
179 while num_open:
190 num_open -= 1
317 num_open = 0
321 num_open += 1
323 while num_open:
334 num_open -= 1
Dparallel_interleave_test.py88 num_open = 0
99 num_open += 1
103 while num_open or all_iterators:
108 num_open += 1
116 num_open -= 1
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dinterleave_test.py51 num_open = 0
71 num_open += 1
75 while num_open or all_iterators:
80 num_open += 1
88 num_open -= 1
/external/e2fsprogs/contrib/
Dspd_readdir.c95 static int num_open = 0; variable
249 DEBUG_DIR(printf("Opendir(%s) (%d open)\n", name, num_open++)); in opendir()
282 DEBUG_DIR(printf("fdopendir(%d) (%d open)\n", fd, num_open++)); in fdopendir()
311 DEBUG_DIR(printf("Closedir (%d open)\n", --num_open)); in closedir()
/external/tensorflow/tensorflow/core/kernels/data/
Dinterleave_dataset_op.cc232 int64 num_open; in RestoreInternal() local
233 TF_RETURN_IF_ERROR(reader->ReadScalar(full_name(kNumOpen), &num_open)); in RestoreInternal()
234 num_open_ = size_t(num_open); in RestoreInternal()
/external/libvpx/libvpx/tools/
Dcpplint.py1271 (end_pos, num_open) = FindEndOfExpressionInLine(
1280 (end_pos, num_open) = FindEndOfExpressionInLine(
1281 line, 0, num_open, startchar, endchar)
1343 (start_pos, num_open) = FindStartOfExpressionInLine(
1352 (start_pos, num_open) = FindStartOfExpressionInLine(
1353 line, len(line) - 1, num_open, startchar, endchar)
/external/libaom/libaom/tools/
Dcpplint.py1271 (end_pos, num_open) = FindEndOfExpressionInLine(
1280 (end_pos, num_open) = FindEndOfExpressionInLine(
1281 line, 0, num_open, startchar, endchar)
1343 (start_pos, num_open) = FindStartOfExpressionInLine(
1352 (start_pos, num_open) = FindStartOfExpressionInLine(
1353 line, len(line) - 1, num_open, startchar, endchar)
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py1085 num_open = tail.count(startchar) - tail.count(endchar)
1090 if num_open + delta <= 0:
1092 FindEndOfExpressionInLine(line, 0, num_open, startchar, endchar))
1093 num_open += delta