/third_party/mindspore/tests/mindspore_test_framework/utils/ |
D | keyword.py | 28 keyword = _MindSporeTestFrameworkkeyword() variable 30 keyword.function = "function" 31 keyword.inputs = "inputs" 32 keyword.expect = "expect" 33 keyword.ext = "ext" 35 keyword.id = "id" 36 keyword.group = "group" 38 keyword.desc_inputs = "desc_inputs" 39 keyword.desc_bprop = "desc_bprop" 40 keyword.desc_expect = "desc_expect" [all …]
|
D | facade_util.py | 18 from . import keyword 27 ret[keyword.function] = [] 28 ret[keyword.inputs] = [] 29 ret[keyword.expect] = [] 53 func_list = ret[keyword.function] 54 inputs_list = ret[keyword.inputs] 55 expect_list = ret[keyword.expect] 68 keyword.id: tid, 69 keyword.group: group, 70 keyword.block: block, [all …]
|
D | config_util.py | 20 from . import keyword 38 dtype = ext_config.get(keyword.dtype, np.float32) 39 scale = ext_config.get(keyword.scale, 1) 63 dtype = ext_config.get(keyword.dtype, np.float32) 64 scale = ext_config.get(keyword.scale, 1) 65 max_error = ext_config.get(keyword.max_error, 1e-3) 66 check_tolerance = ext_config.get(keyword.check_tolerance, False) 67 relative_tolerance = ext_config.get(keyword.relative_tolerance, 0.0) 68 absolute_tolerance = ext_config.get(keyword.absolute_tolerance, 0.0) 84 delta = function.get(keyword.delta, 1e-3) [all …]
|
/third_party/node/deps/npm/node_modules/har-validator/node_modules/json-schema-traverse/spec/fixtures/ |
D | schema.js | 48 function subschema(keyword) { argument 58 sch.properties['foo_' + keyword] = {title: 'foo'}; 59 sch.properties['bar_' + keyword] = {title: 'bar'}; 106 function expectedCalls(keyword) { argument 108 [schema[keyword], `/${keyword}`, schema, '', keyword, schema, undefined], 109 …a[keyword].properties[`foo_${keyword}`], `/${keyword}/properties/foo_${keyword}`, schema, `/${keyw… 110 …a[keyword].properties[`bar_${keyword}`], `/${keyword}/properties/bar_${keyword}`, schema, `/${keyw… 111 …[schema[keyword].anyOf[0], `/${keyword}/anyOf/0`, schema, `/${keyword}`, 'anyOf', schema[keyword],… 112 …[schema[keyword].anyOf[1], `/${keyword}/anyOf/1`, schema, `/${keyword}`, 'anyOf', schema[keyword],… 117 function expectedCallsChild(keyword, i) { argument [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | standardplural.cpp | 34 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { in indexOrNegativeFromString() argument 35 switch (*keyword++) { in indexOrNegativeFromString() 37 if (uprv_strcmp(keyword, "ew") == 0) { in indexOrNegativeFromString() 42 if (uprv_strcmp(keyword, "any") == 0) { in indexOrNegativeFromString() 47 if (uprv_strcmp(keyword, "ther") == 0) { in indexOrNegativeFromString() 49 } else if (uprv_strcmp(keyword, "ne") == 0) { in indexOrNegativeFromString() 54 if (uprv_strcmp(keyword, "wo") == 0) { in indexOrNegativeFromString() 59 if (uprv_strcmp(keyword, "ero") == 0) { in indexOrNegativeFromString() 64 if (uprv_strcmp(keyword, "0") == 0) { in indexOrNegativeFromString() 66 } else if (uprv_strcmp(keyword, "1") == 0) { in indexOrNegativeFromString() [all …]
|
D | standardplural.h | 52 static Form orOtherFromString(const char *keyword) { in orOtherFromString() argument 53 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString() 60 static Form orOtherFromString(const UnicodeString &keyword) { in orOtherFromString() argument 61 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString() 70 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() argument 71 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString() 80 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() argument 81 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString() 88 static int32_t indexOrNegativeFromString(const char *keyword); 94 static int32_t indexOrNegativeFromString(const UnicodeString &keyword); [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | standardplural.cpp | 34 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { in indexOrNegativeFromString() argument 35 switch (*keyword++) { in indexOrNegativeFromString() 37 if (uprv_strcmp(keyword, "ew") == 0) { in indexOrNegativeFromString() 42 if (uprv_strcmp(keyword, "any") == 0) { in indexOrNegativeFromString() 47 if (uprv_strcmp(keyword, "ther") == 0) { in indexOrNegativeFromString() 49 } else if (uprv_strcmp(keyword, "ne") == 0) { in indexOrNegativeFromString() 54 if (uprv_strcmp(keyword, "wo") == 0) { in indexOrNegativeFromString() 59 if (uprv_strcmp(keyword, "ero") == 0) { in indexOrNegativeFromString() 64 if (uprv_strcmp(keyword, "0") == 0) { in indexOrNegativeFromString() 66 } else if (uprv_strcmp(keyword, "1") == 0) { in indexOrNegativeFromString() [all …]
|
D | standardplural.h | 52 static Form orOtherFromString(const char *keyword) { in orOtherFromString() argument 53 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString() 60 static Form orOtherFromString(const UnicodeString &keyword) { in orOtherFromString() argument 61 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString() 70 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() argument 71 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString() 80 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() argument 81 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString() 88 static int32_t indexOrNegativeFromString(const char *keyword); 94 static int32_t indexOrNegativeFromString(const UnicodeString &keyword); [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | standardplural.cpp | 34 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { in indexOrNegativeFromString() argument 35 switch (*keyword++) { in indexOrNegativeFromString() 37 if (uprv_strcmp(keyword, "ew") == 0) { in indexOrNegativeFromString() 42 if (uprv_strcmp(keyword, "any") == 0) { in indexOrNegativeFromString() 47 if (uprv_strcmp(keyword, "ther") == 0) { in indexOrNegativeFromString() 49 } else if (uprv_strcmp(keyword, "ne") == 0) { in indexOrNegativeFromString() 54 if (uprv_strcmp(keyword, "wo") == 0) { in indexOrNegativeFromString() 59 if (uprv_strcmp(keyword, "ero") == 0) { in indexOrNegativeFromString() 64 if (uprv_strcmp(keyword, "0") == 0) { in indexOrNegativeFromString() 66 } else if (uprv_strcmp(keyword, "1") == 0) { in indexOrNegativeFromString() [all …]
|
D | standardplural.h | 52 static Form orOtherFromString(const char *keyword) { in orOtherFromString() argument 53 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString() 60 static Form orOtherFromString(const UnicodeString &keyword) { in orOtherFromString() argument 61 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString() 70 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() argument 71 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString() 80 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() argument 81 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString() 88 static int32_t indexOrNegativeFromString(const char *keyword); 94 static int32_t indexOrNegativeFromString(const UnicodeString &keyword); [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | StandardPlural.java | 46 private final String keyword; field in StandardPlural 49 keyword = kw; in StandardPlural() 56 return keyword; in getKeyword() 63 public static final StandardPlural orNullFromString(CharSequence keyword) { in orNullFromString() argument 64 switch (keyword.length()) { in orNullFromString() 66 if (keyword.charAt(0) == '0') { in orNullFromString() 68 } else if (keyword.charAt(0) == '1') { in orNullFromString() 73 if ("=0".contentEquals(keyword)) { in orNullFromString() 75 } else if ("=1".contentEquals(keyword)) { in orNullFromString() 80 if ("one".contentEquals(keyword)) { in orNullFromString() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | StandardPlural.java | 46 private final String keyword; field in StandardPlural 49 keyword = kw; in StandardPlural() 56 return keyword; in getKeyword() 63 public static final StandardPlural orNullFromString(CharSequence keyword) { in orNullFromString() argument 64 switch (keyword.length()) { in orNullFromString() 66 if ("one".contentEquals(keyword)) { in orNullFromString() 68 } else if ("two".contentEquals(keyword)) { in orNullFromString() 70 } else if ("few".contentEquals(keyword)) { in orNullFromString() 75 if ("many".contentEquals(keyword)) { in orNullFromString() 77 } else if ("zero".contentEquals(keyword)) { in orNullFromString() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | standardplural.cpp | 34 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { in indexOrNegativeFromString() argument 35 switch (*keyword++) { in indexOrNegativeFromString() 37 if (uprv_strcmp(keyword, "ew") == 0) { in indexOrNegativeFromString() 42 if (uprv_strcmp(keyword, "any") == 0) { in indexOrNegativeFromString() 47 if (uprv_strcmp(keyword, "ther") == 0) { in indexOrNegativeFromString() 49 } else if (uprv_strcmp(keyword, "ne") == 0) { in indexOrNegativeFromString() 54 if (uprv_strcmp(keyword, "wo") == 0) { in indexOrNegativeFromString() 59 if (uprv_strcmp(keyword, "ero") == 0) { in indexOrNegativeFromString() 76 int32_t StandardPlural::indexOrNegativeFromString(const UnicodeString &keyword) { in indexOrNegativeFromString() argument 77 switch (keyword.length()) { in indexOrNegativeFromString() [all …]
|
D | standardplural.h | 50 static Form orOtherFromString(const char *keyword) { in orOtherFromString() argument 51 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString() 58 static Form orOtherFromString(const UnicodeString &keyword) { in orOtherFromString() argument 59 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString() 68 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() argument 69 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString() 78 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() argument 79 return static_cast<Form>(indexFromString(keyword, errorCode)); in fromString() 86 static int32_t indexOrNegativeFromString(const char *keyword); 92 static int32_t indexOrNegativeFromString(const UnicodeString &keyword); [all …]
|
/third_party/node/deps/npm/node_modules/har-validator/node_modules/ajv/lib/ |
D | keyword.js | 22 function addKeyword(keyword, definition) { argument 26 if (RULES.keywords[keyword]) 27 throw new Error('Keyword ' + keyword + ' is already defined'); 29 if (!IDENTIFIER.test(keyword)) 30 throw new Error('Keyword ' + keyword + ' is not a valid identifier'); 38 _addRule(keyword, dataType[i], definition); 40 _addRule(keyword, dataType, definition); 57 RULES.keywords[keyword] = RULES.all[keyword] = true; 60 function _addRule(keyword, dataType, definition) { argument 76 keyword: keyword, property [all …]
|
/third_party/gn/misc/vim/syntax/ |
D | gn.vim | 15 syn keyword gnConditional if else 19 syn keyword gnPredefVar current_cpu current_os current_toolchain 20 syn keyword gnPredefVar default_toolchain host_cpu host_os 21 syn keyword gnPredefVar root_build_dir root_gen_dir root_out_dir 22 syn keyword gnPredefVar target_cpu target_gen_dir target_out_dir 23 syn keyword gnPredefVar target_os 24 syn keyword gnPredefVar true false 28 syn keyword gnTarget action action_foreach copy executable group 29 syn keyword gnTarget shared_library source_set static_library 30 syn keyword gnTarget loadable_module generated_file [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | targetTypeObjectLiteralToAny.types | 11 TypeScriptKeywords.forEach(function(keyword) { 12 >TypeScriptKeywords.forEach(function(keyword) { result.push({text:keyword, type:"keyword"});… 16 …nction(keyword) { result.push({text:keyword, type:"keyword"}); // this should not cause a c… 17 >keyword : string 19 …result.push({text:keyword, type:"keyword"}); // this should not cause a crash - push should be typ… 20 >result.push({text:keyword, type:"keyword"}) : any 24 >{text:keyword, type:"keyword"} : { text: string; type: string; } 26 >keyword : string 28 >"keyword" : "keyword"
|
D | quickInfoDisplayPartsLet.baseline | 17 "kind": "keyword" 37 "kind": "keyword" 58 "kind": "keyword" 78 "kind": "keyword" 99 "kind": "keyword" 119 "kind": "keyword" 140 "kind": "keyword" 160 "kind": "keyword" 181 "kind": "keyword" 201 "kind": "keyword" [all …]
|
D | quickInfoDisplayPartsFunction.baseline | 17 "kind": "keyword" 45 "kind": "keyword" 73 "kind": "keyword" 101 "kind": "keyword" 129 "kind": "keyword" 153 "kind": "keyword" 174 "kind": "keyword" 202 "kind": "keyword" 218 "kind": "keyword" 267 "kind": "keyword" [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | fits.c | 43 static int dict_set_if_not_null(AVDictionary ***metadata, char *keyword, char *value) in dict_set_if_not_null() argument 46 av_dict_set(*metadata, keyword, value, 0); in dict_set_if_not_null() 57 static int read_keyword_value(const uint8_t *ptr8, char *keyword, char *value) in read_keyword_value() argument 62 keyword[i] = ptr8[i]; in read_keyword_value() 64 keyword[i] = '\0'; in read_keyword_value() 97 if (strcmp(keyword, key)) { \ 98 av_log(avcl, AV_LOG_ERROR, "expected %s keyword, found %s = %s\n", key, keyword, value); \ 104 av_log(avcl, AV_LOG_ERROR, "invalid value of %s keyword, %s = %s\n", key, keyword, value); \ 113 char keyword[10], value[72], c; in avpriv_fits_header_parse_line() local 115 read_keyword_value(line, keyword, value); in avpriv_fits_header_parse_line() [all …]
|
/third_party/python/Lib/test/ |
D | test_keyword.py | 1 import keyword 7 self.assertTrue(keyword.iskeyword('True')) 10 self.assertFalse(keyword.iskeyword('TRUE')) 13 self.assertFalse(keyword.iskeyword(None)) 18 oldlist = keyword.kwlist 19 self.addCleanup(setattr, keyword, 'kwlist', oldlist) 20 keyword.kwlist = ['its', 'all', 'eggs', 'beans', 'and', 'a', 'slice'] 21 self.assertFalse(keyword.iskeyword('eggs')) 24 for key in keyword.kwlist: 29 self.assertIn("async", keyword.kwlist) [all …]
|
/third_party/mindspore/tests/mindspore_test_framework/components/executor/ |
D | exec_forward.py | 19 from ...utils import keyword 28 result_id = self.function[keyword.id] + '-' + self.inputs[keyword.id] 29 group = self.function[keyword.group] + '-' + self.inputs[keyword.group] 31 keyword.id: result_id, 32 keyword.group: group, 33 keyword.desc_inputs: self.inputs[keyword.desc_inputs], 34 keyword.result: self.function[keyword.block](*self.inputs[keyword.desc_inputs])
|
D | exec_gradient.py | 19 from ...utils import keyword 28 result_id = self.function[keyword.id] + '-' + self.inputs[keyword.id] 29 group = self.function[keyword.group] + '-' + self.inputs[keyword.group] 31 i.extend(self.inputs[keyword.desc_inputs]) 32 i.extend(self.inputs[keyword.desc_bprop]) 34 keyword.id: result_id, 35 keyword.group: group, 36 keyword.desc_inputs: i, 37 keyword.result: self.function[keyword.block](*i)
|
D | exec_and_verify_model_loss.py | 19 from ...utils import keyword 38 model = self.function[keyword.block][keyword.model] 39 loss = self.function[keyword.block][keyword.loss] 40 opt = self.function[keyword.block][keyword.opt] 41 num_epochs = self.function[keyword.block][keyword.num_epochs] 42 loss_upper_bound = self.function[keyword.block][keyword.loss_upper_bound] 43 train_dataset = self.inputs[keyword.desc_inputs]
|
/third_party/node/deps/npm/node_modules/har-validator/node_modules/ajv/lib/compile/ |
D | rules.js | 34 group.rules = group.rules.map(function (keyword) { argument 36 if (typeof keyword == 'object') { 37 var key = Object.keys(keyword)[0]; 38 implKeywords = keyword[key]; 39 keyword = key; 45 ALL.push(keyword); 46 var rule = RULES.all[keyword] = { 47 keyword: keyword, 48 code: ruleModules[keyword], 55 keyword: '$comment', property
|