/external/adhd/cras/src/server/ |
D | cras_bt_profile.c | 51 struct cras_bt_profile *profile; in cras_bt_profile_handle_release() local 55 profile = cras_bt_profile_get(profile_path); in cras_bt_profile_handle_release() 56 if (!profile) in cras_bt_profile_handle_release() 59 syslog(LOG_ERR, "Profile %s released by bluetoothd", profile->name); in cras_bt_profile_handle_release() 60 profile->release(profile); in cras_bt_profile_handle_release() 84 struct cras_bt_profile *profile; in cras_bt_profile_handle_new_connection() local 104 profile = cras_bt_profile_get(profile_path); in cras_bt_profile_handle_new_connection() 105 if (!profile) in cras_bt_profile_handle_new_connection() 115 err = profile->new_connection(conn, profile, device, fd); in cras_bt_profile_handle_new_connection() 117 syslog(LOG_INFO, "%s new connection rejected", profile->name); in cras_bt_profile_handle_new_connection() [all …]
|
D | cras_bt_profile.h | 27 void (*release)(struct cras_bt_profile *profile); 29 struct cras_bt_profile *profile, 31 void (*request_disconnection)(struct cras_bt_profile *profile, 33 void (*cancel)(struct cras_bt_profile *profile); 42 int cras_bt_add_profile(DBusConnection *conn, struct cras_bt_profile *profile); 49 int cras_bt_rm_profile(DBusConnection *conn, struct cras_bt_profile *profile); 73 struct cras_bt_profile *profile); 81 struct cras_bt_profile *profile);
|
/external/llvm-project/llvm/test/Transforms/SampleProfile/ |
D | syntax.ll | 1 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck -check-… 2 ; RUN: not opt < %s -sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -check-prefi… 3 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_fn_header.prof 2>&1 | FileCh… 4 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_sample_line.prof 2>&1 | File… 5 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_line_values.prof 2>&1 | File… 6 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_discriminator_value.prof 2>&… 7 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_samples.prof 2>&1 | FileChec… 8 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_mangle.prof 2>&1 >/dev/null 10 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck … 11 ; RUN: not opt < %s -passes=sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -chec… [all …]
|
D | profile-sample-accurate.ll | 1 …UN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/profsampleacc.extbinary.afdo -profile-… 2 … < %s -passes=sample-profile -sample-profile-file=%S/Inputs/profsampleacc.extbinary.afdo -profile-… 3 …UN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/profsampleacc.extbinary.afdo -profile-… 4 … < %s -passes=sample-profile -sample-profile-file=%S/Inputs/profsampleacc.extbinary.afdo -profile-… 6 ; RUN: llvm-profdata merge -sample -extbinary -prof-sym-list=%S/Inputs/profile-symbol-list.text %S/… 7 ; RUN: opt < %s -sample-profile -sample-profile-file=%t.symlist.afdo -profile-summary-cutoff-hot=60… 8 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%t.symlist.afdo -profile-summary-cutoff… 10 ; If -profile-accurate-for-symsinlist and -profile-sample-accurate both present, 11 ; -profile-sample-accurate will override -profile-accurate-for-symsinlist. 12 …-sample-profile -sample-profile-file=%S/Inputs/profsampleacc.extbinary.afdo -profile-summary-cutof… [all …]
|
D | section-accurate-samplepgo.ll | 2 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/inline.prof -codegenprepare -S | Fil… 3 …opt < %s -sample-profile -sample-profile-file=%S/Inputs/inline.prof -codegenprepare -profile-unkno… 4 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/inline.prof -codegenprepare -profile… 8 ; The test checks that function without profile gets unlikely section prefix 9 ; if -profile-sample-accurate is specified or the function has the 10 ; profile-sample-accurate attribute. 18 ; The function not appearing in profile is cold when -profile-sample-accurate 27 ; The function not appearing in profile is cold when the func has 28 ; profile-sample-accurate attribute. 34 attributes #0 = { "profile-sample-accurate" "use-sample-profile" } [all …]
|
D | compressed-profile-symbol-list.ll | 2 ; Append inline.prof with profile symbol list and save it after compression. 3 ; RUN: llvm-profdata merge --sample --prof-sym-list=%S/Inputs/profile-symbol-list.text --compress-a… 4 …/Inputs/profile-symbol-list.ll -sample-profile -profile-accurate-for-symsinlist -sample-profile-fi… 5 …uts/profile-symbol-list.ll -passes=sample-profile -profile-accurate-for-symsinlist -sample-profile…
|
D | uncompressed-profile-symbol-list.ll | 1 ; Append inline.prof with profile symbol list and save it without compression. 2 ; RUN: llvm-profdata merge --sample --prof-sym-list=%S/Inputs/profile-symbol-list.text --compress-a… 3 …/Inputs/profile-symbol-list.ll -sample-profile -profile-accurate-for-symsinlist -sample-profile-fi… 4 …uts/profile-symbol-list.ll -passes=sample-profile -profile-accurate-for-symsinlist -sample-profile…
|
D | inline-mergeprof.ll | 1 ; Test we lose details of not inlined profile without '-sample-profile-merge-inlinee' 2 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/inline-mergeprof.prof -sample-profil… 3 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/inline-mergeprof.prof -sample-profil… 4 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/inline-mergeprof.prof -sample… 6 ; Test we properly merge not inlined profile with '-sample-profile-merge-inlinee' 7 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/inline-mergeprof.prof -sample… 9 ; Test we properly merge not inlined profile with '-sample-profile-merge-inlinee' 10 ; when the profile uses md5. 11 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/inline-mergeprof.md5.prof -sa… 63 attributes #0 = { "use-sample-profile" }
|
D | flattened.ll | 1 ; Check flattened profile will not be read in thinlto postlink. 2 ; RUN: opt < %s -O2 -flattened-profile-used -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inpu… 3 …thinlto<O2>' -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inputs/flattened.prof -flattened-p… 5 ; Check flattened profile will be read in thinlto prelink. 6 ; RUN: opt < %s -O2 -flattened-profile-used -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inpu… 7 …re-link<O2>' -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inputs/flattened.prof -flattened-p… 9 ; Check flattened profile will be read in non-thinlto mode. 10 ; RUN: opt < %s -O2 -flattened-profile-used -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inpu… 11 …default<O2>' -pgo-kind=pgo-sample-use-pipeline -profile-file=%S/Inputs/flattened.prof -flattened-p…
|
D | inline-cold-callsite-samplepgo.ll | 1 ; For SamplePGO, if -profile-sample-accurate is specified, cold callsite 2 ; heuristics should be honored if the caller has no profile. 4 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/inline.prof -inline -S -inline-cold-… 5 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/inline.prof -profile-sample-accurate… 31 attributes #0 = { "profile-sample-accurate" "use-sample-profile" } 32 attributes #1 = { "use-sample-profile" }
|
/external/llvm/test/Transforms/SampleProfile/ |
D | syntax.ll | 1 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck -check-… 2 ; RUN: not opt < %s -sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -check-prefi… 3 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_fn_header.prof 2>&1 | FileCh… 4 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_sample_line.prof 2>&1 | File… 5 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_line_values.prof 2>&1 | File… 6 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_discriminator_value.prof 2>&… 7 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_samples.prof 2>&1 | FileChec… 8 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_mangle.prof 2>&1 >/dev/null 10 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck … 11 ; RUN: not opt < %s -passes=sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -chec… [all …]
|
/external/llvm-project/llvm/test/tools/llvm-profdata/ |
D | sample-overlap.test | 3 ; OVERLAP0: Whole program profile similarity: 100.000% 5 ; OVERLAP0: percentage of samples unique in base profile: 0.000% 6 ; OVERLAP0: percentage of samples unique in test profile: 0.000% 7 ; OVERLAP0: total samples in base profile: 13943 8 ; OVERLAP0: total samples in test profile: 13943 11 ; OVERLAP0: functions unique in base profile: 0 12 ; OVERLAP0: functions unique in test profile: 0 15 ; OVERLAP0: hot functions unique in base profile: 0 16 ; OVERLAP0: hot functions unique in test profile: 0 19 ; OVERLAP0: hot blocks unique in base profile: 0 [all …]
|
/external/python/cpython2/Tools/scripts/ |
D | analyze_dxp.py | 40 def has_pairs(profile): argument 44 return len(profile) > 0 and isinstance(profile[0], list) 79 def common_instructions(profile): argument 86 if has_pairs(profile) and profile: 87 inst_list = profile[-1] 89 inst_list = profile 97 def common_pairs(profile): argument 106 if not has_pairs(profile): 110 for op1, op1profile in enumerate(profile[:-1]) 117 def render_common_pairs(profile=None): argument [all …]
|
/external/python/cpython3/Tools/scripts/ |
D | analyze_dxp.py | 39 def has_pairs(profile): argument 43 return len(profile) > 0 and isinstance(profile[0], list) 78 def common_instructions(profile): argument 85 if has_pairs(profile) and profile: 86 inst_list = profile[-1] 88 inst_list = profile 96 def common_pairs(profile): argument 105 if not has_pairs(profile): 109 for op1, op1profile in enumerate(profile[:-1]) 116 def render_common_pairs(profile=None): argument [all …]
|
/external/ImageMagick/MagickCore/ |
D | profile.c | 263 *profile; in GetImageProfile() local 271 profile=(const StringInfo *) GetValueFromSplayTree((SplayTreeInfo *) in GetImageProfile() 273 return(profile); in GetImageProfile() 364 profile; member 482 transform[i]=cmsCreateTransformTHR(cms_context,source_info->profile, in AcquireTransformThreadSet() 483 source_info->type,target_info->profile,target_info->type, in AcquireTransformThreadSet() 901 *profile; in SetsRGBImageProfile() local 910 profile=AcquireStringInfo(sizeof(sRGBProfile)); in SetsRGBImageProfile() 911 SetStringInfoDatum(profile,sRGBProfile); in SetsRGBImageProfile() 912 status=SetImageProfile(image,"icc",profile,exception); in SetsRGBImageProfile() [all …]
|
/external/llvm-project/llvm/docs/CommandGuide/ |
D | llvm-profdata.rst | 14 The :program:`llvm-profdata` tool is a small utility for working with profile 39 :program:`llvm-profdata merge` takes several profile data files 41 indexed profile data file. 43 By default profile data is merged without modification. This means that the 64 indexed profile data can't be written to standard output. 68 Specify an input file name along with a weight. The profile counts of the 83 profile to the symbol names that should be used in the output profile. The 92 Specify that the input profile is an instrumentation-based profile. 96 Specify that the input profile is a sample-based profile. 102 Emit the profile using a binary encoding. For instrumentation-based profile [all …]
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | Initialize.cpp | 420 bool ValidVersion(const BuiltInFunction& function, int version, EProfile profile, const SpvVersion&… in ValidVersion() argument 433 if ((v->profiles & profile) != 0) { in ValidVersion() 459 void TBuiltIns::addTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion) in addTabledBuiltins() argument 463 if (ValidVersion(*function, version, profile, spvVersion)) in addTabledBuiltins() 472 if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) in addTabledBuiltins() 484 inline bool IncludeLegacy(int version, EProfile profile, const SpvVersion& spvVersion) in IncludeLegacy() argument 486 …return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && ARBCompatibility) || pr… in IncludeLegacy() 547 void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvVersion) in initialize() argument 551 profile = EEsProfile; in initialize() 554 profile = ECoreProfile; in initialize() [all …]
|
D | ShaderLang.cpp | 103 int version, EProfile profile, EShSource source, in CreateParseContext() argument 113 … return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext() 118 …return new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersi… in CreateParseContext() 180 int MapProfileToIndex(EProfile profile) in MapProfileToIndex() argument 184 switch (profile) { in MapProfileToIndex() 237 bool InitializeSymbolTable(const TString& builtIns, int version, EProfile profile, const SpvVersion… in InitializeSymbolTable() argument 240 TIntermediate intermediate(language, version, profile); in InitializeSymbolTable() 244 …seContextBase> parseContext(CreateParseContext(symbolTable, intermediate, version, profile, source, in InitializeSymbolTable() 282 int CommonIndex(EProfile profile, EShLanguage language) in CommonIndex() argument 284 return (profile == EEsProfile && language == EShLangFragment) ? EPcFragment : EPcGeneral; in CommonIndex() [all …]
|
D | Initialize.h | 69 …virtual void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLang… 70 …virtual void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLang… 90 …void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage lan… 91 …void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage lan… 94 void addTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion); 95 …void relateTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage… 96 … void add2ndGenerationSamplingImaging(int version, EProfile profile, const SpvVersion& spvVersion); 97 void addSubpassSampling(TSampler, const TString& typeName, int version, EProfile profile); 98 void addQueryFunctions(TSampler, const TString& typeName, int version, EProfile profile); 99 void addImageFunctions(TSampler, const TString& typeName, int version, EProfile profile); [all …]
|
/external/webrtc/sdk/objc/components/video_codec/ |
D | RTCH264ProfileLevelId.mm | 43 NSString *MaxSupportedLevelForProfile(Profile profile) { 45 if (profileLevelId && profileLevelId->profile >= profile) { 47 ProfileLevelIdToString(ProfileLevelId(profile, profileLevelId->level)); 58 NSString *profile = MaxSupportedLevelForProfile(webrtc::H264::kProfileConstrainedBaseline); 59 if (profile != nil) { 60 return profile; 68 NSString *profile = MaxSupportedLevelForProfile(webrtc::H264::kProfileConstrainedHigh); 69 if (profile != nil) { 70 return profile; 81 @property(nonatomic, assign) RTCH264Profile profile; [all …]
|
/external/icu/icu4c/source/common/ |
D | usprep.cpp | 140 UStringPrepProfile *profile = NULL; in usprep_internal_flushCache() local 159 profile = (UStringPrepProfile *) e->value.pointer; in usprep_internal_flushCache() 162 if ((noRefCount== FALSE && profile->refCount == 0) || in usprep_internal_flushCache() 168 usprep_unload(profile); in usprep_internal_flushCache() 178 uprv_free(profile); in usprep_internal_flushCache() 225 loadData(UStringPrepProfile* profile, in loadData() argument 262 if(profile->sprepData==NULL) { in loadData() 263 profile->sprepData=dataMemory; in loadData() 265 uprv_memcpy(&profile->indexes, p, sizeof(profile->indexes)); in loadData() 266 uprv_memcpy(&profile->sprepTrie, &_sprepTrie, sizeof(UTrie)); in loadData() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/ |
D | InvocationProfileTest.java | 14 …InvocationProfile profile = new InvocationProfile("android/view/View/invalidate()V", false, getCla… in shouldConvertFromMethodSignature() local 15 assertThat(profile.clazz).isEqualTo(View.class); in shouldConvertFromMethodSignature() 16 assertThat(profile.methodName).isEqualTo("invalidate"); in shouldConvertFromMethodSignature() 17 assertThat(profile.isStatic).isEqualTo(false); in shouldConvertFromMethodSignature() 18 assertThat(profile.paramTypes).isEmpty(); in shouldConvertFromMethodSignature() 23 …InvocationProfile profile = new InvocationProfile("android/view/View/invalidate(I[ZLjava/lang/Stri… in shouldHandleParamTypes() local 24 assertThat(profile.clazz).isEqualTo(View.class); in shouldHandleParamTypes() 25 assertThat(profile.methodName).isEqualTo("invalidate"); in shouldHandleParamTypes() 26 assertThat(profile.isStatic).isEqualTo(false); in shouldHandleParamTypes() 27 assertThat(profile.paramTypes).asList().containsExactly("int", "boolean[]", "java.lang.String"); in shouldHandleParamTypes()
|
/external/python/google-api-python-client/samples/analytics/ |
D | management_v3_reference.py | 212 for profile in profiles_response.get('items', []): 213 print('Kind = %s' % profile.get('kind')) 214 print('Account ID = %s' % profile.get('accountId')) 215 print('Web Property ID = %s' % profile.get('webPropertyId')) 217 profile.get('internalWebPropertyId'))) 218 print('Profile ID = %s' % profile.get('id')) 219 print('Profile Name = %s' % profile.get('name')) 221 print('Currency = %s' % profile.get('currency')) 222 print('Timezone = %s' % profile.get('timezone')) 223 print('Default Page = %s' % profile.get('defaultPage')) [all …]
|
/external/adhd/cras/src/tests/ |
D | bt_profile_unittest.cc | 33 void fake_profile_release(struct cras_bt_profile* profile); 34 void fake_profile_new_connection(struct cras_bt_profile* profile, 36 void fake_profile_request_disconnection(struct cras_bt_profile* profile, 38 void fake_profile_cancel(struct cras_bt_profile* profile); 66 struct cras_bt_profile* profile; in TEST_F() local 77 profile = cras_bt_profile_get("/fake"); in TEST_F() 79 EXPECT_TRUE(profile == &fake_profile); in TEST_F() 131 void fake_profile_release(struct cras_bt_profile* profile) { in fake_profile_release() argument 132 profile_release_arg_value = profile; in fake_profile_release() 136 void fake_profile_new_connection(struct cras_bt_profile* profile, in fake_profile_new_connection() argument [all …]
|
/external/llvm/docs/CommandGuide/ |
D | llvm-profdata.rst | 12 The :program:`llvm-profdata` tool is a small utility for working with profile 36 :program:`llvm-profdata merge` takes several profile data files 38 indexed profile data file. 40 By default profile data is merged without modification. This means that the 61 indexed profile data can't be written to standard output. 65 Specify an input file name along with a weight. The profile counts of the 79 Specify that the input profile is an instrumentation-based profile. 83 Specify that the input profile is a sample-based profile. 89 Emit the profile using a binary encoding. For instrumentation-based profile 94 Emit the profile in text mode. This option can also be used with both [all …]
|