Home
last modified time | relevance | path

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

/external/libevent/
Dbufferevent_ratelim.c975 ev_ssize_t old_limit, new_limit; in bufferevent_decrement_read_limit() local
980 old_limit = bevp->rate_limiting->limit.read_limit; in bufferevent_decrement_read_limit()
983 if (old_limit > 0 && new_limit <= 0) { in bufferevent_decrement_read_limit()
988 } else if (old_limit <= 0 && new_limit > 0) { in bufferevent_decrement_read_limit()
1004 ev_ssize_t old_limit, new_limit; in bufferevent_decrement_write_limit() local
1009 old_limit = bevp->rate_limiting->limit.write_limit; in bufferevent_decrement_write_limit()
1012 if (old_limit > 0 && new_limit <= 0) { in bufferevent_decrement_write_limit()
1017 } else if (old_limit <= 0 && new_limit > 0) { in bufferevent_decrement_write_limit()
1032 ev_ssize_t old_limit, new_limit; in bufferevent_rate_limit_group_decrement_read() local
1034 old_limit = grp->rate_limit.read_limit; in bufferevent_rate_limit_group_decrement_read()
[all …]
/external/python/cpython3/Modules/
Dresource.c223 struct rlimit old_limit, new_limit; in resource_prlimit() local
242 retval = prlimit(pid, resource, &new_limit, &old_limit); in resource_prlimit()
245 retval = prlimit(pid, resource, NULL, &old_limit); in resource_prlimit()
257 return rlimit2py(old_limit); in resource_prlimit()
D_csv.c1482 long old_limit = _csvstate_global->field_limit; in csv_field_size_limit() local
1494 _csvstate_global->field_limit = old_limit; in csv_field_size_limit()
1498 return PyLong_FromLong(old_limit); in csv_field_size_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/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/toybox/toys/posix/
Dulimit.c54 struct rlimit *old_limit);
/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/freetype/src/psaux/
Dpsobjs.c737 FT_Byte* old_limit = parser->limit; in ps_parser_to_token_array() local
764 parser->limit = old_limit; in ps_parser_to_token_array()
1057 FT_Byte* old_limit = parser->limit; in ps_parser_load_field() local
1066 parser->limit = old_limit; in ps_parser_load_field()
1308 FT_Byte* old_limit; in ps_parser_load_field_table() local
1328 old_limit = parser->limit; in ps_parser_load_field_table()
1362 parser->limit = old_limit; in ps_parser_load_field_table()
/external/freetype/src/type1/
Dt1load.c798 FT_Byte* old_limit = parser->root.limit; in parse_blend_design_positions() local
857 loader->parser.root.limit = old_limit; in parse_blend_design_positions()
875 FT_Byte* old_limit; in parse_blend_design_map() local
895 old_limit = parser->root.limit; in parse_blend_design_map()
955 parser->root.limit = old_limit; in parse_blend_design_map()
974 FT_Byte* old_limit; in parse_weight_vector() local
1011 old_limit = parser->root.limit; in parse_weight_vector()
1024 parser->root.limit = old_limit; in parse_weight_vector()
/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()