/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | SettingsTest.java | 33 Settings settings = new Settings(); in unsetField() local 34 assertEquals(-3, settings.getUploadBandwidth(-3)); in unsetField() 38 Settings settings = new Settings(); in setFields() local 41 assertEquals(-3, settings.getUploadBandwidth(-3)); in setFields() 42 assertEquals(-1, settings.getHeaderTableSize()); in setFields() 43 settings.set(UPLOAD_BANDWIDTH, 0, 42); in setFields() 44 assertEquals(42, settings.getUploadBandwidth(-3)); in setFields() 45 settings.set(Settings.HEADER_TABLE_SIZE, 0, 8096); in setFields() 46 assertEquals(8096, settings.getHeaderTableSize()); in setFields() 49 assertEquals(true, settings.getEnablePush(true)); in setFields() [all …]
|
/external/toolchain-utils/crosperf/ |
D | settings_unittest.py | 11 import settings 25 self.settings = settings.Settings('global_name', 'global') 28 self.assertEqual(self.settings.name, 'global_name') 29 self.assertEqual(self.settings.settings_type, 'global') 30 self.assertIsNone(self.settings.parent) 33 self.assertIsNone(self.settings.parent) 35 self.settings.SetParentSettings(settings_parent) 36 self.assertIsNotNone(self.settings.parent) 37 self.assertEqual(type(self.settings.parent), dict) 38 self.assertEqual(self.settings.parent, settings_parent) [all …]
|
D | experiment_file.py | 55 for settings in self.all_settings: 56 settings.Inherit() 57 settings.Validate() 59 settings.Override(overrides) 64 for settings in self.all_settings: 65 if settings.settings_type == settings_type: 66 res.append(settings) 88 settings = SettingsFactory().GetSettings(settings_name, settings_type) 89 settings.SetParentSettings(self.global_settings) 98 settings.SetField(field[0], field[1], field[2]) [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_notation.cpp | 18 ScientificSettings settings; in scientific() local 19 settings.fEngineeringInterval = 1; in scientific() 20 settings.fRequireMinInt = false; in scientific() 21 settings.fMinExponentDigits = 1; in scientific() 22 settings.fExponentSignDisplay = UNUM_SIGN_AUTO; in scientific() 24 union_.scientific = settings; in scientific() 29 ScientificSettings settings; in engineering() local 30 settings.fEngineeringInterval = 3; in engineering() 31 settings.fRequireMinInt = false; in engineering() 32 settings.fMinExponentDigits = 1; in engineering() [all …]
|
/external/u-boot/board/siemens/draco/ |
D | board.c | 39 static struct draco_baseboard_id __attribute__((section(".data"))) settings; variable 75 settings.ddr3 = ddr3_default; in set_default_ddr3_timings() 82 printf("device:\t\t%s\n", settings.ddr3.manu_name); in print_ddr3_timings() 83 printf("marking:\t%s\n", settings.ddr3.manu_marking); in print_ddr3_timings() 112 printf("device: \t'%s'\n", settings.chip.sdevname); in print_chip_data() 113 printf("hw version: \t'%s'\n", settings.chip.shwver); in print_chip_data() 166 (uchar *)&settings.ddr3, sizeof(struct ddr3_data))) { in read_eeprom() 172 (uchar *)&settings.chip, sizeof(settings.chip))) in read_eeprom() 175 if (ddr3_default.magic == settings.ddr3.magic && in read_eeprom() 176 ddr3_default.version == settings.ddr3.version) { in read_eeprom() [all …]
|
/external/webrtc/webrtc/modules/video_coding/ |
D | codec_database.cc | 77 VCMDecoderMapItem::VCMDecoderMapItem(VideoCodec* settings, in VCMDecoderMapItem() argument 80 : settings(settings), in VCMDecoderMapItem() 119 void VCMCodecDataBase::Codec(VideoCodecType codec_type, VideoCodec* settings) { in Codec() argument 120 memset(settings, 0, sizeof(VideoCodec)); in Codec() 123 strncpy(settings->plName, "VP8", 4); in Codec() 124 settings->codecType = kVideoCodecVP8; in Codec() 126 settings->plType = kDefaultPayloadType; in Codec() 127 settings->startBitrate = kDefaultStartBitrateKbps; in Codec() 128 settings->minBitrate = VCM_MIN_BITRATE; in Codec() 129 settings->maxBitrate = 0; in Codec() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
D | BasicPeriodBuilderFactory.java | 25 private Settings settings; field in BasicPeriodBuilderFactory 31 this.settings = new Settings(); in BasicPeriodBuilderFactory() 207 settings = settings.setUnits(uset); in setAvailableUnitRange() 214 int uset = settings.uset; in setUnitIsAvailable() 220 settings = settings.setUnits(uset); in setUnitIsAvailable() 226 settings = settings.setMaxLimit(maxLimit); in setMaxLimit() 232 settings = settings.setMinLimit(minLimit); in setMinLimit() 238 settings = settings.setAllowZero(allow); in setAllowZero() 244 settings = settings.setWeeksAloneOnly(aloneOnly); in setWeeksAloneOnly() 250 settings = settings.setAllowMilliseconds(allow); in setAllowMilliseconds() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | BasicPeriodBuilderFactory.java | 24 private Settings settings; field in BasicPeriodBuilderFactory 30 this.settings = new Settings(); in BasicPeriodBuilderFactory() 206 settings = settings.setUnits(uset); in setAvailableUnitRange() 213 int uset = settings.uset; in setUnitIsAvailable() 219 settings = settings.setUnits(uset); in setUnitIsAvailable() 225 settings = settings.setMaxLimit(maxLimit); in setMaxLimit() 231 settings = settings.setMinLimit(minLimit); in setMinLimit() 237 settings = settings.setAllowZero(allow); in setAllowZero() 243 settings = settings.setWeeksAloneOnly(aloneOnly); in setWeeksAloneOnly() 249 settings = settings.setAllowMilliseconds(allow); in setAllowMilliseconds() [all …]
|
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
D | InlineByteBuddyMockMakerTest.java | 15 import org.mockito.internal.creation.settings.CreationSettings; 45 MockCreationSettings<FinalClass> settings = settingsFor(FinalClass.class); in should_create_mock_from_final_class() local 46 … FinalClass proxy = mockMaker.createMock(settings, new MockHandlerImpl<FinalClass>(settings)); in should_create_mock_from_final_class() 52 MockCreationSettings<Pattern> settings = settingsFor(Pattern.class); in should_create_mock_from_final_class_in_the_JDK() local 53 Pattern proxy = mockMaker.createMock(settings, new MockHandlerImpl<Pattern>(settings)); in should_create_mock_from_final_class_in_the_JDK() 59 …MockCreationSettings<FinalMethodAbstractType> settings = settingsFor(FinalMethodAbstractType.class… in should_create_mock_from_abstract_class_with_final_method() local 60 …hodAbstractType proxy = mockMaker.createMock(settings, new MockHandlerImpl<FinalMethodAbstractType… in should_create_mock_from_abstract_class_with_final_method() 67 …MockCreationSettings<FinalMethod> settings = settingsFor(FinalMethod.class, SampleInterface.class); in should_create_mock_from_final_class_with_interface_methods() local 68 … FinalMethod proxy = mockMaker.createMock(settings, new MockHandlerImpl<FinalMethod>(settings)); in should_create_mock_from_final_class_with_interface_methods() 75 MockCreationSettings<GenericSubClass> settings = settingsFor(GenericSubClass.class); in should_detect_non_overridden_generic_method_of_supertype() local [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
D | JDWPUnitDebuggeeWrapper.java | 70 public JDWPUnitDebuggeeWrapper(JPDATestOptions settings, LogWriter logWriter) { in JDWPUnitDebuggeeWrapper() argument 71 super(settings, logWriter); in JDWPUnitDebuggeeWrapper() 78 isListenConnection = settings.isListenConnectorKind(); in setUpConnection() 80 address = settings.getTransportAddress(); in setUpConnection() 101 String cmdLine = settings.getDebuggeeJavaPath() + " -cp \"" in start() 102 + settings.getDebuggeeClassPath() + "\" " in start() 103 + settings.getDebuggeeAgentArgument() in start() 104 + settings.getDebuggeeAgentName() + "=" in start() 105 + settings.getDebuggeeAgentOptions(address, isListenConnection) in start() 106 + " " + settings.getDebuggeeVMExtraOptions() + " " in start() [all …]
|
/external/libcups/cups/ |
D | testadmin.c | 28 static void show_settings(int num_settings, cups_option_t *settings); 41 cups_option_t *settings; /* Settings */ in main() local 58 for (i = 1, num_settings = 0, settings = NULL; i < argc; i ++) in main() 59 num_settings = cupsParseOptions(argv[i], num_settings, &settings); in main() 61 if (cupsAdminSetServerSettings(http, num_settings, settings)) in main() 64 cupsFreeOptions(num_settings, settings); in main() 79 if (cupsAdminGetServerSettings(http, &num_settings, &settings)) in main() 81 show_settings(num_settings, settings); in main() 82 cupsFreeOptions(num_settings, settings); in main() 100 cups_option_t *settings) /* I - Settings */ in show_settings() argument [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/linux/x64/ |
D | libgrpc_csharp_ext.so.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/win/x64/ |
D | grpc_csharp_ext.dll.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/harfbuzz_ng/test/api/ |
D | test-aat-layout.c | 56 hb_aat_layout_feature_selector_info_t settings[3]; in test_aat_get_feature_selectors() local 61 0, &count, settings, in test_aat_get_feature_selectors() 66 g_assert_cmpuint (0, ==, settings[0].enable); in test_aat_get_feature_selectors() 67 g_assert_cmpuint (294, ==, settings[0].name_id); in test_aat_get_feature_selectors() 69 g_assert_cmpuint (1, ==, settings[1].enable); in test_aat_get_feature_selectors() 70 g_assert_cmpuint (295, ==, settings[1].name_id); in test_aat_get_feature_selectors() 72 g_assert_cmpuint (2, ==, settings[2].enable); in test_aat_get_feature_selectors() 73 g_assert_cmpuint (296, ==, settings[2].name_id); in test_aat_get_feature_selectors() 78 3, &count, settings, in test_aat_get_feature_selectors() 83 g_assert_cmpuint (3, ==, settings[0].enable); in test_aat_get_feature_selectors() [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/osx/x64/ |
D | grpc_csharp_ext.bundle.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/osx/x86/ |
D | grpc_csharp_ext.bundle.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/ios/ |
D | libgrpc_csharp_ext.a.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/linux/x86/ |
D | libgrpc_csharp_ext.so.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/win/x86/ |
D | grpc_csharp_ext.dll.meta | 17 settings: 33 settings: 39 settings: {} 44 settings: 52 settings: 58 settings: 64 settings: 70 settings: 76 settings: 82 settings: [all …]
|
/external/iperf3/src/ |
D | iperf_tcp.c | 59 r = Nread(sp->socket, sp->buffer, sp->settings->blksize, Ptcp); in iperf_tcp_recv() 88 r = Nsendfile(sp->buffer_fd, sp->socket, sp->buffer, sp->settings->blksize); in iperf_tcp_send() 90 r = Nwrite(sp->socket, sp->buffer, sp->settings->blksize, Ptcp); in iperf_tcp_send() 99 …printf("sent %d bytes of %d, total %" PRIu64 "\n", r, sp->settings->blksize, sp->result->bytes_sen… in iperf_tcp_send() 164 if (test->no_delay || test->settings->mss || test->settings->socket_bufsize) { in iperf_tcp_listen() 179 if (test->settings->domain == AF_UNSPEC && !test->bind_address) { in iperf_tcp_listen() 183 hints.ai_family = test->settings->domain; in iperf_tcp_listen() 210 if ((opt = test->settings->mss)) { in iperf_tcp_listen() 220 if ((opt = test->settings->socket_bufsize)) { in iperf_tcp_listen() 240 if (test->settings->fqrate) { in iperf_tcp_listen() [all …]
|
D | iperf_udp.c | 67 int size = sp->settings->blksize; in iperf_udp_recv() 193 int size = sp->settings->blksize; in iperf_udp_send() 237 …printf("sent %d bytes of %d, total %" PRIu64 "\n", r, sp->settings->blksize, sp->result->bytes_sen… in iperf_udp_send() 272 if ((opt = test->settings->socket_bufsize)) { in iperf_udp_buffercheck() 290 printf("SNDBUF is %u, expecting %u\n", sndbuf_actual, test->settings->socket_bufsize); in iperf_udp_buffercheck() 292 if (test->settings->socket_bufsize && test->settings->socket_bufsize > sndbuf_actual) { in iperf_udp_buffercheck() 296 if (test->settings->blksize > sndbuf_actual) { in iperf_udp_buffercheck() 300 test->settings->blksize, sndbuf_actual); in iperf_udp_buffercheck() 312 printf("RCVBUF is %u, expecting %u\n", rcvbuf_actual, test->settings->socket_bufsize); in iperf_udp_buffercheck() 314 if (test->settings->socket_bufsize && test->settings->socket_bufsize > rcvbuf_actual) { in iperf_udp_buffercheck() [all …]
|
/external/python/cpython3/Mac/PythonLauncher/ |
D | PreferencesWindowController.m | 25 settings = [FileSettings getDefaultsForFileType: title]; 31 [interpreter setStringValue: [settings interpreter]]; 32 [honourhashbang setState: [settings honourhashbang]]; 33 [debug setState: [settings debug]]; 34 [verbose setState: [settings verbose]]; 35 [inspect setState: [settings inspect]]; 36 [optimize setState: [settings optimize]]; 37 [nosite setState: [settings nosite]]; 38 [tabs setState: [settings tabs]]; 39 [others setStringValue: [settings others]]; [all …]
|
/external/python/cpython2/Mac/PythonLauncher/ |
D | PreferencesWindowController.m | 25 settings = [FileSettings getDefaultsForFileType: title]; 31 [interpreter setStringValue: [settings interpreter]]; 32 [honourhashbang setState: [settings honourhashbang]]; 33 [debug setState: [settings debug]]; 34 [verbose setState: [settings verbose]]; 35 [inspect setState: [settings inspect]]; 36 [optimize setState: [settings optimize]]; 37 [nosite setState: [settings nosite]]; 38 [tabs setState: [settings tabs]]; 39 [others setStringValue: [settings others]]; [all …]
|
/external/python/oauth2client/tests/contrib/django_util/ |
D | test_django_util.py | 42 self.save_settings = copy.deepcopy(django.conf.settings) 49 django.conf.settings = copy.deepcopy(self.save_settings) 53 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = 'file.json' 62 oauth2_settings = django_util.OAuth2Settings(django.conf.settings) 66 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = None 70 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = 'file.json' 82 django.conf.settings) 86 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRETS_JSON = None 87 django.conf.settings.GOOGLE_OAUTH2_CLIENT_SECRET = None 88 django.conf.settings.GOOGLE_OAUTH2_CLIENT_ID = None [all …]
|
/external/grpc-grpc/src/csharp/unitypackage/unitypackage_skeleton/Plugins/Grpc.Core/runtimes/android/arm64-v8a/ |
D | libgrpc_csharp_ext.so.meta | 15 settings: 29 settings: 35 settings: {} 40 settings: 48 settings: 54 settings: 60 settings: 66 settings: 72 settings: 78 settings: [all …]
|