/external/toybox/toys/pending/ |
D | host.c | 74 char *name, *nsname, rrname[256], plname[640], ptrbuf[64]; in host_main() local 165 inet_ntop(rrt[type].af, p, plname, sizeof plname); in host_main() 168 dn_expand(abuf, abuf+alen, p, plname, sizeof plname); in host_main() 171 snprintf(plname, sizeof plname, "\"%.*s\"", pllen, p); in host_main() 174 i = dn_expand(abuf, abuf+alen, p, plname, sizeof plname - 1); in host_main() 175 strcat(plname, " "); in host_main() 176 i += dn_expand(abuf, abuf+alen, p+i, plname+strlen(plname), in host_main() 177 sizeof(plname)-strlen(plname)); in host_main() 180 snprintf(plname+strlen(plname), sizeof(plname)-strlen(plname), in host_main() 190 snprintf(plname, sizeof(plname), verbose ? "%d " : "(pri=%d) by ", pri); in host_main() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | acm_receive_test_oldapi.cc | 29 if (STR_CASE_CMP(codec_param->plname, "CN") == 0 && in ModifyAndUseThisCodec() 33 if (STR_CASE_CMP(codec_param->plname, "telephone-event") == 0) in ModifyAndUseThisCodec() 56 bool RemapPltypeAndUseThisCodec(const char* plname, in RemapPltypeAndUseThisCodec() argument 64 if (STR_CASE_CMP(plname, "PCMU") == 0 && plfreq == 8000) { in RemapPltypeAndUseThisCodec() 66 } else if (STR_CASE_CMP(plname, "PCMA") == 0 && plfreq == 8000) { in RemapPltypeAndUseThisCodec() 68 } else if (STR_CASE_CMP(plname, "CN") == 0 && plfreq == 8000) { in RemapPltypeAndUseThisCodec() 70 } else if (STR_CASE_CMP(plname, "CN") == 0 && plfreq == 16000) { in RemapPltypeAndUseThisCodec() 72 } else if (STR_CASE_CMP(plname, "CN") == 0 && plfreq == 32000) { in RemapPltypeAndUseThisCodec() 74 } else if (STR_CASE_CMP(plname, "ILBC") == 0) { in RemapPltypeAndUseThisCodec() 76 } else if (STR_CASE_CMP(plname, "ISAC") == 0 && plfreq == 16000) { in RemapPltypeAndUseThisCodec() [all …]
|
D | rent_a_codec.cc | 115 if (STR_CASE_CMP(codec_inst.plname, "CN") != 0) in RegisterCngPayloadType() 132 if (STR_CASE_CMP(codec_inst.plname, "RED") != 0) in RegisterRedPayloadType() 151 if (STR_CASE_CMP(speech_inst.plname, "isac") == 0) in CreateEncoder() 155 if (STR_CASE_CMP(speech_inst.plname, "isac") == 0) in CreateEncoder() 159 if (STR_CASE_CMP(speech_inst.plname, "opus") == 0) in CreateEncoder() 162 if (STR_CASE_CMP(speech_inst.plname, "pcmu") == 0) in CreateEncoder() 164 if (STR_CASE_CMP(speech_inst.plname, "pcma") == 0) in CreateEncoder() 166 if (STR_CASE_CMP(speech_inst.plname, "l16") == 0) in CreateEncoder() 169 if (STR_CASE_CMP(speech_inst.plname, "ilbc") == 0) in CreateEncoder() 173 if (STR_CASE_CMP(speech_inst.plname, "g722") == 0) in CreateEncoder() [all …]
|
D | acm_codec_database.cc | 238 if (STR_CASE_CMP(database_[codec_id].plname, "CN") == 0) { in CodecNumber() 243 if (STR_CASE_CMP(database_[codec_id].plname, "red") == 0) { in CodecNumber() 272 if (STR_CASE_CMP("isac", codec_inst.plname) == 0) { in CodecNumber() 274 } else if (STR_CASE_CMP("ilbc", codec_inst.plname) == 0) { in CodecNumber() 277 } else if (STR_CASE_CMP("opus", codec_inst.plname) == 0) { in CodecNumber() 291 return (CodecId(codec_inst.plname, codec_inst.plfreq, in CodecId() 306 name_match = (STR_CASE_CMP(ci.plname, payload_name) == 0); in CodecId()
|
D | codec_manager.cc | 43 if (!STR_CASE_CMP(send_codec.plname, "telephone-event")) { in IsValidSendCodec() 53 send_codec.channels, send_codec.plname); in IsValidSendCodec() 62 !STR_CASE_CMP(codec.plname, "opus") || in IsOpus() 132 memcpy(ci.plname, kName, sizeof(kName)); in ForgeCodecInst()
|
D | audio_coding_module_impl.cc | 40 return (STR_CASE_CMP(codec.plname, "RED") == 0); in IsCodecRED() 44 return (STR_CASE_CMP(codec.plname, "CN") == 0); in IsCodecCN() 562 db[i].plfreq, nullptr, db[i].plname) < 0) { in InitializeReceiverSafe() 598 RentACodec::CodecIdByParams(codec.plname, codec.plfreq, codec.channels); in RegisterReceiveCodec() 609 << codec.plname; in RegisterReceiveCodec() 617 STR_CASE_CMP(codec.plname, "isac") == 0 ? rent_a_codec_.RentIsacDecoder() in RegisterReceiveCodec() 619 codec.plname); in RegisterReceiveCodec()
|
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/ |
D | test_api_audio.cc | 183 memcpy(voice_codec.plname, "PCMU", 5); in TEST_F() 187 voice_codec.plname, in TEST_F() 195 voice_codec.plname, in TEST_F() 216 memcpy(voice_codec.plname, "PCMU", 5); in TEST_F() 220 voice_codec.plname, in TEST_F() 228 voice_codec.plname, in TEST_F() 240 memcpy(voice_codec.plname, "RED", 4); in TEST_F() 247 voice_codec.plname, in TEST_F() 253 voice_codec.plname, in TEST_F() 289 memcpy(voice_codec.plname, "PCMU", 5); in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/media_file/ |
D | media_file_utility.cc | 269 strcpy(codec_info_.plname, "PCMA"); in InitWavCodec() 275 strcpy(codec_info_.plname, "PCMU"); in InitWavCodec() 284 strcpy(codec_info_.plname, "L16"); in InitWavCodec() 289 strcpy(codec_info_.plname, "L16"); in InitWavCodec() 294 strcpy(codec_info_.plname, "L16"); in InitWavCodec() 301 strcpy(codec_info_.plname, "L16"); in InitWavCodec() 308 strcpy(codec_info_.plname, "L16"); in InitWavCodec() 315 strcpy(codec_info_.plname, "L16"); in InitWavCodec() 322 strcpy(codec_info_.plname, "L16"); in InitWavCodec() 668 if(STR_CASE_CMP(codecInst.plname, "PCMU") == 0) in InitWavWriting() [all …]
|
D | media_file_impl.cc | 52 codec_info_.plname[0] = '\0'; in MediaFileImpl() 580 codec_info_.plname[0] = '\0'; in StopPlaying() 663 if(bytesWritten > 0 && STR_NCASE_CMP(codec_info_.plname, in IncomingAudioData() 907 if((STR_NCASE_CMP(tmpAudioCodec.plname, "L16", 4) != 0) && in StartRecordingAudioStream() 908 (STR_NCASE_CMP(tmpAudioCodec.plname, "PCMU", 5) != 0) && in StartRecordingAudioStream() 909 (STR_NCASE_CMP(tmpAudioCodec.plname, "PCMA", 5) != 0)) in StartRecordingAudioStream() 967 codec_info_.plname[0] = '\0'; in StopRecording() 1065 if (codec_info_.pltype == 0 && codec_info_.plname[0] == '\0') in codec_info()
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
D | codec_before_streaming_test.cc | 35 strcpy(codec_instance_.plname, "SomeInvalidCodecName"); in TEST_F() 42 strcpy(codec_instance_.plname, "iSAC"); in TEST_F() 44 strcpy(codec_instance_.plname, "ISAC"); in TEST_F() 49 strcpy(codec_instance_.plname, "ISAC"); in TEST_F() 65 strcpy(codec_instance_.plname, "iLBC"); in TEST_F()
|
D | codec_test.cc | 36 if (!_stricmp(codec_instance->plname, "ilbc")) { in SetRateIfILBC() 58 EXPECT_STRCASEEQ("PCMU", codec_instance_.plname); in TEST_F() 143 if (_stricmp("opus", codec_instance_.plname)) { in TEST_F() 159 if (_stricmp("opus", codec_instance_.plname)) { in TEST_F() 171 if (!_stricmp("opus", codec_instance_.plname)) { in TEST_F() 207 if (IsNotViableSendCodec(codec_instance_.plname)) { in TEST_F() 208 TEST_LOG("Skipping %s.\n", codec_instance_.plname); in TEST_F() 216 codec_instance_.plname, codec_instance_.pltype, in TEST_F()
|
/external/webrtc/webrtc/voice_engine/ |
D | voe_codec_unittest.cc | 67 if (!STR_CASE_CMP(my_codec.plname, "isac") && my_codec.plfreq == 16000) { in SetUp() 70 } else if (!STR_CASE_CMP(my_codec.plname, "isac") && in SetUp() 74 } else if (!STR_CASE_CMP(my_codec.plname, "L16") && in SetUp() 78 } else if (!STR_CASE_CMP(my_codec.plname, "RED")) { in SetUp() 109 strncpy(codec1.plname, "isac", 4); in TEST() 127 strncpy(codec2.plname, "ISAC", 4); in TEST()
|
D | transmit_mixer.cc | 713 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingMicrophone() 714 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingMicrophone() 715 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingMicrophone() 791 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingMicrophone() 792 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingMicrophone() 793 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingMicrophone() 896 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingCall() 897 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingCall() 898 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingCall() 974 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingCall() [all …]
|
D | voe_codec_impl.cc | 69 codec.plname, codec.pacsize, codec.plfreq, codec.pltype, in SetSendCodec() 76 if ((STR_CASE_CMP(codec.plname, "L16") == 0) && (codec.pacsize >= 960)) { in SetSendCodec() 81 if (!STR_CASE_CMP(codec.plname, "CN") || in SetSendCodec() 82 !STR_CASE_CMP(codec.plname, "TELEPHONE-EVENT") || in SetSendCodec() 83 !STR_CASE_CMP(codec.plname, "RED")) { in SetSendCodec() 167 codec.plname, codec.plfreq, codec.pltype, codec.channels, in SetRecPayloadType()
|
D | output_mixer.cc | 306 else if((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingPlayout() 307 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingPlayout() 308 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingPlayout() 386 else if((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingPlayout() 387 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingPlayout() 388 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingPlayout()
|
D | channel.cc | 436 strncpy(receiveCodec.plname, payloadName, RTP_PAYLOAD_NAME_SIZE - 1); in OnInitializeDecoder() 1074 codec.plname, in Init() 1084 codec.plname, codec.pltype, codec.plfreq, in Init() 1093 codec.plname, codec.pltype, codec.plfreq, in Init() 1098 if (!STR_CASE_CMP(codec.plname, "PCMU") && (codec.channels == 1)) in Init() 1104 if (!STR_CASE_CMP(codec.plname, "telephone-event")) in Init() 1117 if (!STR_CASE_CMP(codec.plname, "CN")) in Init() 1133 if (!STR_CASE_CMP(codec.plname, "RED")) in Init() 1504 rxCodec.plname, in SetRecPayloadType() 1531 codec.plname, in SetRecPayloadType() [all …]
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvoiceengine_unittest.cc | 487 rtc::strcpyn(gcodec.plname, arraysize(gcodec.plname), "ISAC"); in TEST_F() 492 EXPECT_STREQ("ISAC", gcodec.plname); in TEST_F() 493 rtc::strcpyn(gcodec.plname, arraysize(gcodec.plname), "telephone-event"); in TEST_F() 497 EXPECT_STREQ("telephone-event", gcodec.plname); in TEST_F() 535 EXPECT_STREQ("opus", opus.plname); in TEST_F() 558 EXPECT_STREQ("opus", opus.plname); in TEST_F() 580 EXPECT_STREQ("opus", opus.plname); in TEST_F() 600 rtc::strcpyn(gcodec.plname, arraysize(gcodec.plname), "ISAC"); in TEST_F() 605 EXPECT_STREQ("ISAC", gcodec.plname); in TEST_F() 606 rtc::strcpyn(gcodec.plname, arraysize(gcodec.plname), "telephone-event"); in TEST_F() [all …]
|
D | fakewebrtcvoiceengine.h | 404 if (_stricmp(codec.plname, "telephone-event") == 0 || 405 _stricmp(codec.plname, "audio/telephone-event") == 0 || 406 _stricmp(codec.plname, "CN") == 0 || 407 _stricmp(codec.plname, "red") == 0 ) { 432 _stricmp(it->plname, codec.plname) != 0) { 441 if (strcmp(it->plname, codec.plname) == 0 && 465 if (strcmp(it->plname, codec.plname) == 0 && 490 if (_stricmp(channels_[channel]->send_codec.plname, "opus") != 0) { 506 if (_stricmp(channels_[channel]->send_codec.plname, "opus") != 0) { 525 if (_stricmp(channels_[channel]->send_codec.plname, "opus") != 0) {
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | APITest.cc | 134 if ((STR_CASE_CMP(dummyCodec.plname, "CN") == 0) in SetUp() 139 printf("Register Receive Codec %s ", dummyCodec.plname); in SetUp() 141 if ((n != 0) && !FixedPayloadTypeCodec(dummyCodec.plname)) { in SetUp() 149 if ((n < numCodecs - 1) && !FixedPayloadTypeCodec(dummyCodec.plname)) { in SetUp() 155 if (!FixedPayloadTypeCodec(nextCodec.plname)) { in SetUp() 161 if ((n < numCodecs - 1) && !FixedPayloadTypeCodec(dummyCodec.plname)) { in SetUp() 166 if (!FixedPayloadTypeCodec(nextCodec.plname)) { in SetUp() 177 if (!strcmp(dummyCodec.plname, "CN")) { in SetUp() 837 if (!FixedPayloadTypeCodec(myCodec->plname)) { in TestRegisteration() 1002 fprintf(stdout, "Name................. %s\n", myCodec->plname); in CurrentCodec() [all …]
|
D | EncodeDecodeTest.cc | 80 printf("%d %s\n", n, sendCodec.plname); in Setup() 137 if (!strcmp(recvCodec.plname, "opus")) { in Setup() 285 if (STR_CASE_CMP(sendCodecTmp.plname, "telephone-event") == 0) { in Perform() 287 } else if (STR_CASE_CMP(sendCodecTmp.plname, "cn") == 0) { in Perform() 289 } else if (STR_CASE_CMP(sendCodecTmp.plname, "red") == 0) { in Perform()
|
D | delay_test.cc | 102 if (STR_CASE_CMP(my_codec_param.plname, "opus") == 0) in Initialize() 106 if (STR_CASE_CMP(my_codec_param.plname, "CN") == 0 && in Initialize() 109 if (STR_CASE_CMP(my_codec_param.plname, "telephone-event") == 0) in Initialize()
|
/external/webrtc/webrtc/modules/utility/source/ |
D | file_player_impl.cc | 110 if(STR_CASE_CMP(_codec.plname, "L16") == 0) in Get10msAudioFromFile() 217 strncpy(codecInstL16.plname,"L16",32); in StartPlayingFile() 298 strncpy(codecInstL16.plname,"L16",32); in StartPlayingFile() 391 if( STR_CASE_CMP(_codec.plname, "L16") != 0 && in SetUpAudioDecoder() 394 LOG(LS_WARNING) << "SetUpAudioDecoder() codec " << _codec.plname in SetUpAudioDecoder()
|
D | file_recorder_impl.cc | 195 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in RecordAudioToFile() 201 << codec_info_.plname in RecordAudioToFile() 234 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in SetUpAudioEncoder() 239 << codec_info_.plname << " not supported."; in SetUpAudioEncoder()
|
/external/webrtc/webrtc/voice_engine/test/auto_test/fixtures/ |
D | before_streaming_fixture.cc | 74 _snprintf(codec.plname, RTP_PAYLOAD_NAME_SIZE - 1, "PCMU"); in SetUpLocalPlayback() 76 snprintf(codec.plname, RTP_PAYLOAD_NAME_SIZE, "PCMU"); in SetUpLocalPlayback()
|
/external/webrtc/webrtc/modules/video_coding/test/ |
D | test_util.cc | 135 webrtc::RtpVideoCodecTypes ConvertCodecType(const char* plname) { in ConvertCodecType() argument 136 if (strncmp(plname, "VP8", 3) == 0) { in ConvertCodecType()
|