Home
last modified time | relevance | path

Searched refs:old_limit (Results 1 – 13 of 13) sorted by relevance

/external/libevent/
Dbufferevent_ratelim.c904 ev_ssize_t old_limit, new_limit; in bufferevent_decrement_read_limit() local
909 old_limit = bevp->rate_limiting->limit.read_limit; in bufferevent_decrement_read_limit()
912 if (old_limit > 0 && new_limit <= 0) { in bufferevent_decrement_read_limit()
917 } else if (old_limit <= 0 && new_limit > 0) { in bufferevent_decrement_read_limit()
933 ev_ssize_t old_limit, new_limit; in bufferevent_decrement_write_limit() local
938 old_limit = bevp->rate_limiting->limit.write_limit; in bufferevent_decrement_write_limit()
941 if (old_limit > 0 && new_limit <= 0) { in bufferevent_decrement_write_limit()
946 } else if (old_limit <= 0 && new_limit > 0) { in bufferevent_decrement_write_limit()
961 ev_ssize_t old_limit, new_limit; in bufferevent_rate_limit_group_decrement_read() local
963 old_limit = grp->rate_limit.read_limit; in bufferevent_rate_limit_group_decrement_read()
[all …]
/external/libchrome/sandbox/linux/services/
Dsyscall_wrappers.cc81 struct rlimit64* old_limit) { in sys_prlimit64() argument
82 int res = syscall(__NR_prlimit64, pid, resource, new_limit, old_limit); in sys_prlimit64()
83 if (res == 0 && old_limit) MSAN_UNPOISON(old_limit, sizeof(*old_limit)); in sys_prlimit64()
Dsyscall_wrappers.h54 struct rlimit64* old_limit);
/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise09.c172 unsigned int usage, old_limit, old_memsw_limit; in child() local
202 SAFE_FILE_SCANF(limit_in_bytes_path, "%u", &old_limit); in child()
269 SAFE_FILE_PRINTF(limit_in_bytes_path, "%u", old_limit); in child()
/external/pdfium/third_party/freetype/src/psaux/
Dpsobjs.c735 FT_Byte* old_limit = parser->limit; in ps_parser_to_token_array() local
762 parser->limit = old_limit; in ps_parser_to_token_array()
1055 FT_Byte* old_limit = parser->limit; in ps_parser_load_field() local
1064 parser->limit = old_limit; in ps_parser_load_field()
1306 FT_Byte* old_limit; in ps_parser_load_field_table() local
1326 old_limit = parser->limit; in ps_parser_load_field_table()
1360 parser->limit = old_limit; in ps_parser_load_field_table()
/external/freetype/src/psaux/
Dpsobjs.c732 FT_Byte* old_limit = parser->limit; in ps_parser_to_token_array() local
759 parser->limit = old_limit; in ps_parser_to_token_array()
1052 FT_Byte* old_limit = parser->limit; in ps_parser_load_field() local
1061 parser->limit = old_limit; in ps_parser_load_field()
1301 FT_Byte* old_limit; in ps_parser_load_field_table() local
1321 old_limit = parser->limit; in ps_parser_load_field_table()
1355 parser->limit = old_limit; in ps_parser_load_field_table()
/external/toybox/toys/posix/
Dulimit.c54 struct rlimit *old_limit);
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc262 int old_limit = stream_->PushLimit(buffer32); in RenderMap() local
293 stream_->PopLimit(old_limit); in RenderMap()
302 int old_limit = stream_->PushLimit(length); in RenderPacked() local
306 stream_->PopLimit(old_limit); in RenderPacked()
733 int old_limit = stream_->PushLimit(buffer32); in RenderField() local
759 stream_->PopLimit(old_limit); in RenderField()
/external/pdfium/third_party/freetype/src/type1/
Dt1load.c672 FT_Byte* old_limit = parser->root.limit; in parse_blend_design_positions() local
731 loader->parser.root.limit = old_limit; in parse_blend_design_positions()
749 FT_Byte* old_limit; in parse_blend_design_map() local
769 old_limit = parser->root.limit; in parse_blend_design_map()
829 parser->root.limit = old_limit; in parse_blend_design_map()
848 FT_Byte* old_limit; in parse_weight_vector() local
885 old_limit = parser->root.limit; in parse_weight_vector()
898 parser->root.limit = old_limit; in parse_weight_vector()
/external/protobuf/src/google/protobuf/io/
Dcoded_stream.cc123 Limit old_limit = current_limit_; in PushLimit() local
138 current_limit_ = std::min(current_limit_, old_limit); in PushLimit()
141 return old_limit; in PushLimit()
/external/python/cpython2/Lib/test/
Dtest_subprocess.py740 old_limit = None variable in _SuppressCoreFiles
746 self.old_limit = resource.getrlimit(resource.RLIMIT_CORE)
767 if self.old_limit is None:
771 resource.setrlimit(resource.RLIMIT_CORE, self.old_limit)
/external/protobuf/src/google/protobuf/
Dwire_format_lite_inl.h506 io::CodedInputStream::Limit old_limit = input->ReadLengthAndPushLimit(); in ReadMessageNoVirtualNoRecursionDepth() local
512 return input->CheckEntireMessageConsumedAndPopLimit(old_limit); in ReadMessageNoVirtualNoRecursionDepth()
/external/python/cpython2/Modules/
D_csv.c1446 long old_limit = field_limit; in csv_field_size_limit() local
1458 return PyInt_FromLong(old_limit); in csv_field_size_limit()