Home
last modified time | relevance | path

Searched refs:rdb (Results 1 – 22 of 22) sorted by relevance

/external/srtp/crypto/replay/
Drdb.c62 rdb_init(rdb_t *rdb) { in rdb_init() argument
63 v128_set_to_zero(&rdb->bitmask); in rdb_init()
64 rdb->window_start = 0; in rdb_init()
73 rdb_check(const rdb_t *rdb, uint32_t index) { in rdb_check() argument
76 if (index >= rdb->window_start + rdb_bits_in_bitmask) in rdb_check()
80 if (index < rdb->window_start) in rdb_check()
84 if (v128_get_bit(&rdb->bitmask, (index - rdb->window_start)) == 1) in rdb_check()
101 rdb_add_index(rdb_t *rdb, uint32_t index) { in rdb_add_index() argument
106 delta = (index - rdb->window_start); in rdb_add_index()
110 v128_set_bit(&rdb->bitmask, delta); in rdb_add_index()
[all …]
/external/srtp/test/
Dreplay_driver.c84 print_rdb(rdb_t *rdb) { in print_rdb() argument
85 printf("rdb: {%u, %s}\n", rdb->window_start, v128_bit_string(&rdb->bitmask)); in print_rdb()
89 rdb_check_add(rdb_t *rdb, uint32_t idx) { in rdb_check_add() argument
91 if (rdb_check(rdb, idx) != err_status_ok) { in rdb_check_add()
95 if (rdb_add_index(rdb, idx) != err_status_ok) { in rdb_check_add()
104 rdb_check_expect_failure(rdb_t *rdb, uint32_t idx) { in rdb_check_expect_failure() argument
107 err = rdb_check(rdb, idx); in rdb_check_expect_failure()
117 rdb_check_unordered(rdb_t *rdb, uint32_t idx) { in rdb_check_unordered() argument
121 rstat = rdb_check(rdb, idx); in rdb_check_unordered()
131 rdb_t rdb; in test_rdb_db() local
[all …]
/external/srtp/googlepatches/
Dgoogle-8-rdb-crash.patch1 --- rdb.c Thu Mar 25 17:38:24 2010
3 @@ -115,7 +115,7 @@ rdb_add_index(rdb_t *rdb, uint32_t index
6 v128_left_shift(&rdb->bitmask, delta);
7 - v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask-delta);
8 + v128_set_bit(&rdb->bitmask, rdb_bits_in_bitmask - 1);
9 rdb->window_start += delta;
Dvidyo-3-srtp-ws.patch563 * which is at rdbx->index + delta is in the rdb
/external/srtp/crypto/include/
Drdb.h39 rdb_init(rdb_t *rdb);
52 rdb_check(const rdb_t *rdb, uint32_t index);
64 rdb_add_index(rdb_t *rdb, uint32_t index);
84 rdb_increment(rdb_t *rdb);
91 rdb_get_value(const rdb_t *rdb);
/external/mdnsresponder/mDNSCore/
DDNSCommon.c1114 const RDataBody2 *const rdb = (RDataBody2 *)rr->rdata->u.data; in RDataHashValue() local
1120 case kDNSType_DNAME: return DomainNameHashValue(&rdb->name); in RDataHashValue()
1122 case kDNSType_SOA: return rdb->soa.serial + in RDataHashValue()
1123 rdb->soa.refresh + in RDataHashValue()
1124 rdb->soa.retry + in RDataHashValue()
1125 rdb->soa.expire + in RDataHashValue()
1126 rdb->soa.min + in RDataHashValue()
1127 DomainNameHashValue(&rdb->soa.mname) + in RDataHashValue()
1128 DomainNameHashValue(&rdb->soa.rname); in RDataHashValue()
1133 case kDNSType_KX: return DomainNameHashValue(&rdb->mx.exchange); in RDataHashValue()
[all …]
/external/mdnsresponder/Clients/
Ddns-sd.c685 char rdb[1000] = "", *p = rdb; in qr_reply() local
703 snprintf(rdb, sizeof(rdb), "%d.%d.%d.%d", rd[0], rd[1], rd[2], rd[3]); in qr_reply()
710 p += snprintd(p, sizeof(rdb), &rd); in qr_reply()
714 p += snprintd(p, rdb + sizeof(rdb) - p, &rd); // mname in qr_reply()
715 p += snprintf(p, rdb + sizeof(rdb) - p, " "); in qr_reply()
716 p += snprintd(p, rdb + sizeof(rdb) - p, &rd); // rname in qr_reply()
717 p += snprintf(p, rdb + sizeof(rdb) - p, " Ser %d Ref %d Ret %d Exp %d Min %d", in qr_reply()
722 …snprintf(rdb, sizeof(rdb), "%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02… in qr_reply()
728 p += snprintf(p, rdb + sizeof(rdb) - p, "%d %d %d ", // priority, weight, port in qr_reply()
731 p += snprintd(p, rdb + sizeof(rdb) - p, &rd); // target host in qr_reply()
[all …]
/external/autotest/scheduler/
Drdb_lib.py8 from autotest_lib.scheduler import rdb
81 rdb_requests.AcquireHostRequest, rdb.rdb_host_request_dispatcher)
103 rdb_requests.HostRequest, rdb.get_hosts)
Drdb_unittest.py13 from autotest_lib.scheduler import rdb
28 self.handler = rdb.BaseHostRequestHandler()
31 rdb_requests.UpdateHostRequest, rdb.update_hosts)
33 rdb_requests.HostRequest, rdb.get_hosts)
197 self.available_hosts_query_manager = rdb.AvailableHostQueryManager()
198 self.all_hosts_query_manager = rdb.BaseHostQueryManager()
Drdb_cache_unittests.py11 from autotest_lib.scheduler import rdb
112 self.god.stub_with(rdb.AvailableHostRequestHandler,
162 self.god.stub_with(rdb.AvailableHostRequestHandler,
192 self.god.stub_with(rdb.AvailableHostRequestHandler,
236 self.god.stub_with(rdb.AvailableHostRequestHandler,
338 self.god.stub_with(rdb.AvailableHostRequestHandler,
Drdb_hosts.py187 from autotest_lib.scheduler import rdb
189 rdb_requests.UpdateHostRequest, rdb.update_hosts)
Dhost_scheduler_unittests.py19 from autotest_lib.scheduler import rdb
130 rdb.batch_acquire_hosts = mock.MagicMock()
133 self.assertTrue(rdb.batch_acquire_hosts.call_count == 0)
Drdb_integration_tests.py17 from autotest_lib.scheduler import rdb
163 self.god.stub_with(rdb.AvailableHostQueryManager, 'find_hosts',
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRelativeDateFormat.java252 ICUResourceBundle rdb = rb.getWithFallback("fields/day/relative"); in loadDates() local
267 for(UResourceBundleIterator i = rdb.getIterator();i.hasNext();) { in loadDates()
284 ICUResourceBundle rdb = rb.getWithFallback("contextTransforms/relative"); in initCapitalizationContextInfo() local
285 int[] intVector = rdb.getIntVector(); in initCapitalizationContextInfo()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRelativeDateFormat.java250 ICUResourceBundle rdb = rb.getWithFallback("fields/day/relative"); in loadDates() local
265 for(UResourceBundleIterator i = rdb.getIterator();i.hasNext();) { in loadDates()
282 ICUResourceBundle rdb = rb.getWithFallback("contextTransforms/relative"); in initCapitalizationContextInfo() local
283 int[] intVector = rdb.getIntVector(); in initCapitalizationContextInfo()
/external/srtp/
DAndroid.mk28 crypto/replay/rdb.c \
DMakefile82 replay = crypto/replay/rdb.o crypto/replay/rdbx.o \
DMakefile.in84 replay = crypto/replay/rdb.o crypto/replay/rdbx.o \
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedNumberFormat.java1848 ICUResourceBundle rdb = rb.getWithFallback("contextTransforms/number-spellout"); in initCapitalizationContextInfo() local
1849 int[] intVector = rdb.getIntVector(); in initCapitalizationContextInfo()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedNumberFormat.java1812 ICUResourceBundle rdb = rb.getWithFallback("contextTransforms/number-spellout"); in initCapitalizationContextInfo() local
1813 int[] intVector = rdb.getIntVector(); in initCapitalizationContextInfo()
/external/mdnsresponder/mDNSShared/
Duds_daemon.c2854 const RDataBody2 *const rdb = (RDataBody2 *)answer->rdata->u.data; in queryrecord_result_callback() local
2862 …if (!putRData(mDNSNULL, (mDNSu8 *)&sin->sin_addr, (mDNSu8 *)(&sin->sin_addr + sizeof(rdb->ipv4)), … in queryrecord_result_callback()
2874 …if (!putRData(mDNSNULL, (mDNSu8 *)&sin6->sin6_addr, (mDNSu8 *)(&sin6->sin6_addr + sizeof(rdb->ipv6… in queryrecord_result_callback()
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt6092 "rdb",