/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_io.c | 30 unsigned int profile; member 58 enum cras_bt_device_profile profile) in add_profile_dev() argument 77 n->profile = profile; in add_profile_dev() 88 enum cras_bt_device_profile profile) in bt_switch_to_profile() argument 90 switch (profile) { in bt_switch_to_profile() 103 syslog(LOG_ERR, "Unexpect profile %u", profile); in bt_switch_to_profile() 111 unsigned int profile) in device_using_profile() argument 113 return cras_bt_device_get_active_profile(device) & profile; in device_using_profile() 308 if (device_using_profile(btio->device, active->profile)) in update_active_node() 317 if (device_using_profile(btio->device, n->profile)) { in update_active_node() [all …]
|
/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/swiftshader/third_party/llvm-7.0/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/ImageMagick/MagickCore/ |
D | profile.c | 262 *profile; in GetImageProfile() local 270 profile=(const StringInfo *) GetValueFromSplayTree((SplayTreeInfo *) in GetImageProfile() 272 return(profile); in GetImageProfile() 363 profile; member 474 transform[i]=cmsCreateTransformTHR(cms_context,source_info->profile, in AcquireTransformThreadSet() 475 source_info->type,target_info->profile,target_info->type, in AcquireTransformThreadSet() 794 *profile; in SetsRGBImageProfile() local 803 profile=AcquireStringInfo(sizeof(sRGBProfile)); in SetsRGBImageProfile() 804 SetStringInfoDatum(profile,sRGBProfile); in SetsRGBImageProfile() 805 status=SetImageProfile(image,"icc",profile,exception); in SetsRGBImageProfile() [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/deqp-deps/glslang/glslang/MachineIndependent/ |
D | Initialize.cpp | 415 bool ValidVersion(const BuiltInFunction& function, int version, EProfile profile, const SpvVersion&… in ValidVersion() argument 428 if ((v->profiles & profile) != 0) { in ValidVersion() 454 void TBuiltIns::addTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion) in addTabledBuiltins() argument 458 if (ValidVersion(*function, version, profile, spvVersion)) in addTabledBuiltins() 467 if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) in addTabledBuiltins() 479 inline bool IncludeLegacy(int version, EProfile profile, const SpvVersion& spvVersion) in IncludeLegacy() argument 481 …return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && ARBCompatibility) || pr… in IncludeLegacy() 538 void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvVersion) in initialize() argument 542 profile = EEsProfile; in initialize() 544 addTabledBuiltins(version, profile, spvVersion); in initialize() [all …]
|
D | ShaderLang.cpp | 100 int version, EProfile profile, EShSource source, in CreateParseContext() argument 110 … return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext() 115 …return new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersi… in CreateParseContext() 177 int MapProfileToIndex(EProfile profile) in MapProfileToIndex() argument 181 switch (profile) { in MapProfileToIndex() 234 bool InitializeSymbolTable(const TString& builtIns, int version, EProfile profile, const SpvVersion… in InitializeSymbolTable() argument 237 TIntermediate intermediate(language, version, profile); in InitializeSymbolTable() 241 …seContextBase> parseContext(CreateParseContext(symbolTable, intermediate, version, profile, source, in InitializeSymbolTable() 279 int CommonIndex(EProfile profile, EShLanguage language) in CommonIndex() argument 281 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/angle/third_party/glslang/src/glslang/MachineIndependent/ |
D | Initialize.cpp | 416 bool ValidVersion(const BuiltInFunction& function, int version, EProfile profile, const SpvVersion&… in ValidVersion() argument 429 if ((v->profiles & profile) != 0) { in ValidVersion() 455 void TBuiltIns::addTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion) in addTabledBuiltins() argument 459 if (ValidVersion(*function, version, profile, spvVersion)) in addTabledBuiltins() 468 if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) in addTabledBuiltins() 480 inline bool IncludeLegacy(int version, EProfile profile, const SpvVersion& spvVersion) in IncludeLegacy() argument 482 …return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && ARBCompatibility) || pr… in IncludeLegacy() 539 void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvVersion) in initialize() argument 543 profile = EEsProfile; in initialize() 545 addTabledBuiltins(version, profile, spvVersion); in initialize() [all …]
|
D | ShaderLang.cpp | 100 int version, EProfile profile, EShSource source, in CreateParseContext() argument 110 … return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext() 115 …return new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersi… in CreateParseContext() 177 int MapProfileToIndex(EProfile profile) in MapProfileToIndex() argument 181 switch (profile) { in MapProfileToIndex() 234 bool InitializeSymbolTable(const TString& builtIns, int version, EProfile profile, const SpvVersion… in InitializeSymbolTable() argument 237 TIntermediate intermediate(language, version, profile); in InitializeSymbolTable() 241 …seContextBase> parseContext(CreateParseContext(symbolTable, intermediate, version, profile, source, in InitializeSymbolTable() 279 int CommonIndex(EProfile profile, EShLanguage language) in CommonIndex() argument 281 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/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/swiftshader/third_party/llvm-7.0/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 …]
|
/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 …]
|
/external/ltp/testcases/realtime/testcases/realtime/doc/ |
D | AUTOMATED_RUN | 1 This explains how the automatic testing works with profile support. 4 Each profile is defined in a file. 5 All profiles are stored in the <RT_TESTS_ROOT>/profile/ directory. 13 run_auto.sh can be invoked with an argument which is the profile to use. 14 profile/ dir holds a file for each defined profile. 15 A profile has a number of lines for which each test executable can be run 17 Invoking run_auto.sh with no arg uses the default profile. 18 Currently, the default profile does not alter the default values defined 24 $SCRIPTS_DIR/run_c_files.sh $profile prio-preempt 26 run_c_files.sh will look into profile/prf1 for lines like this: [all …]
|
/external/ltp/testcases/realtime/doc/ |
D | AUTOMATED_RUN | 1 This explains how the automatic testing works with profile support. 4 Each profile is defined in a file. 5 All profiles are stored in the <RT_TESTS_ROOT>/profile/ directory. 13 run_auto.sh can be invoked with an argument which is the profile to use. 14 profile/ dir holds a file for each defined profile. 15 A profile has a number of lines for which each test executable can be run 17 Invoking run_auto.sh with no arg uses the default profile. 18 Currently, the default profile does not alter the default values defined 24 $SCRIPTS_DIR/run_c_files.sh $profile prio-preempt 26 run_c_files.sh will look into profile/prf1 for lines like this: [all …]
|
/external/e2fsprogs/lib/support/ |
D | prof_err.et | 14 "A profile section header has a non-zero value" 15 error_code PROF_BAD_LINK_LIST, "Bad linked list in profile structures" 16 error_code PROF_BAD_GROUP_LVL, "Bad group level in profile structures" 18 "Bad parent pointer in profile structures" 19 error_code PROF_MAGIC_ITERATOR, "Bad magic value in profile iterator" 21 error_code PROF_EINVAL, "Invalid argument passed to profile library" 22 error_code PROF_READ_ONLY, "Attempt to modify read-only profile" 29 error_code PROF_SECTION_SYNTAX, "Syntax error in profile section header" 30 error_code PROF_RELATION_SYNTAX, "Syntax error in profile relation" 31 error_code PROF_EXTRA_CBRACE, "Extra closing brace in profile" [all …]
|
D | profile.c | 211 (prf_file_t profile); 213 static errcode_t profile_get_value(profile_t profile, const char *name, 307 profile_t profile; in profile_init() local 312 profile = malloc(sizeof(struct _profile_t)); in profile_init() 313 if (!profile) in profile_init() 315 memset(profile, 0, sizeof(struct _profile_t)); in profile_init() 316 profile->magic = PROF_MAGIC_PROFILE; in profile_init() 317 last = &profile->first_file; in profile_init() 355 if (!profile->first_file) { in profile_init() 362 *ret_profile = profile; in profile_init() [all …]
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SymbolManager.h | 51 static void Profile(llvm::FoldingSetNodeID& profile, const TypedValueRegion* R) { in Profile() argument 52 profile.AddInteger((unsigned) SymbolRegionValueKind); in Profile() 53 profile.AddPointer(R); in Profile() 56 void Profile(llvm::FoldingSetNodeID& profile) override { in Profile() argument 57 Profile(profile, R); in Profile() 94 static void Profile(llvm::FoldingSetNodeID& profile, const Stmt *S, in Profile() argument 97 profile.AddInteger((unsigned) SymbolConjuredKind); in Profile() 98 profile.AddPointer(S); in Profile() 99 profile.AddPointer(LCtx); in Profile() 100 profile.Add(T); in Profile() [all …]
|
/external/mesa3d/src/gallium/frontends/va/ |
D | config.c | 73 vlVaQueryConfigEntrypoints(VADriverContextP ctx, VAProfile profile, in vlVaQueryConfigEntrypoints() argument 84 if (profile == VAProfileNone) { in vlVaQueryConfigEntrypoints() 89 p = ProfileToPipe(profile); in vlVaQueryConfigEntrypoints() 111 vlVaGetConfigAttributes(VADriverContextP ctx, VAProfile profile, VAEntrypoint entrypoint, in vlVaGetConfigAttributes() argument 125 (pscreen->get_video_param(pscreen, ProfileToPipe(profile), in vlVaGetConfigAttributes() 131 ProfileToPipe(profile), in vlVaGetConfigAttributes() 134 ProfileToPipe(profile), in vlVaGetConfigAttributes() 143 (pscreen->get_video_param(pscreen, ProfileToPipe(profile), in vlVaGetConfigAttributes() 149 ProfileToPipe(profile), in vlVaGetConfigAttributes() 152 ProfileToPipe(profile), in vlVaGetConfigAttributes() [all …]
|