/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps_common.c | 462 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]) in wps_dev_type_str2bin() argument 467 WPA_PUT_BE16(dev_type, atoi(str)); in wps_dev_type_str2bin() 468 pos = os_strchr(str, '-'); in wps_dev_type_str2bin() 528 u16 wps_config_methods_str2bin(const char *str) in wps_config_methods_str2bin() argument 532 if (str == NULL || str[0] == '\0') { in wps_config_methods_str2bin() 543 if (os_strstr(str, "ethernet")) in wps_config_methods_str2bin() 545 if (os_strstr(str, "label")) in wps_config_methods_str2bin() 547 if (os_strstr(str, "display")) in wps_config_methods_str2bin() 549 if (os_strstr(str, "ext_nfc_toke in wps_config_methods_str2bin() [all...] |
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_predicates_test.cpp | 526 objects.push_back(ValueObject(strByte.str()));
in InsertDates() 528 strByte.str("");
in InsertDates() 530 objects.push_back(ValueObject(strByte.str()));
in InsertDates() 537 strByte.str("");
in InsertDates() 539 string str1 = strByte.str();
in InsertDates() 545 strByte.str("");
in InsertDates() 547 objects.push_back(ValueObject(strByte.str()));
in InsertDates() 549 strByte.str("");
in InsertDates() 551 objects.push_back(ValueObject(strByte.str()));
in InsertDates() 555 strByte.str("");
in InsertDates() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
H A D | vktTransformFeedbackFuzzLayoutCase.cpp | 193 std::ostream& operator<< (std::ostream& str, const InterfaceLayout& layout) in operator <<() argument 197 str << "Blocks:" << std::endl; in operator <<() 199 str << layout.blocks[blockNdx] << std::endl; in operator <<() 200 str << std::endl; in operator <<() 202 str << "Interfaces:" << std::endl; in operator <<() 211 str << blockNdx << ":" << entryNdx << " " << entry << std::endl; in operator <<() 214 str << std::endl; in operator <<() 216 return str; in operator <<() 294 void dumpBytes (std::ostream& str, const std::string& msg, const void* dataBytes, size_t size, const void* dataMask = DE_NULL) in dumpBytes() argument 300 str << ms in dumpBytes() 322 operator <<(std::ostream& str, const PrecisionFlagsFmt& fmt) operator <<() argument 351 operator <<(std::ostream& str, const LayoutFlagsFmt& fmt) operator <<() argument 385 operator <<(std::ostream& str, const DeviceSizeVector& vec) operator <<() argument 972 operator <<(std::ostream& str, const Indent& indent) operator <<() argument 1899 std::ostringstream str; validateValues() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/ |
H A D | vktTransformFeedbackFuzzLayoutCase.cpp | 193 std::ostream& operator<< (std::ostream& str, const InterfaceLayout& layout) in operator <<() argument 197 str << "Blocks:" << std::endl; in operator <<() 199 str << layout.blocks[blockNdx] << std::endl; in operator <<() 200 str << std::endl; in operator <<() 202 str << "Interfaces:" << std::endl; in operator <<() 211 str << blockNdx << ":" << entryNdx << " " << entry << std::endl; in operator <<() 214 str << std::endl; in operator <<() 216 return str; in operator <<() 294 void dumpBytes (std::ostream& str, const std::string& msg, const void* dataBytes, size_t size, const void* dataMask = DE_NULL) in dumpBytes() argument 300 str << ms in dumpBytes() 322 operator <<(std::ostream& str, const PrecisionFlagsFmt& fmt) operator <<() argument 351 operator <<(std::ostream& str, const LayoutFlagsFmt& fmt) operator <<() argument 385 operator <<(std::ostream& str, const DeviceSizeVector& vec) operator <<() argument 972 operator <<(std::ostream& str, const Indent& indent) operator <<() argument 1899 std::ostringstream str; validateValues() local [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationBuilder.java | 108 void addReset(int strength, CharSequence str) { in addReset() argument 109 assert(str.length() != 0); in addReset() 110 if(str.charAt(0) == CollationRuleParser.POS_LEAD) { in addReset() 111 ces[0] = getSpecialResetPosition(str); in addReset() 116 String nfdString = nfd.normalize(str); in addReset() 279 private long getSpecialResetPosition(CharSequence str) { in getSpecialResetPosition() argument 280 assert(str.length() == 2); in getSpecialResetPosition() 285 CollationRuleParser.POSITION_VALUES[str.charAt(1) - CollationRuleParser.POS_BASE]; in getSpecialResetPosition() 438 void addRelation(int strength, CharSequence prefix, CharSequence str, CharSequence extension) { in addRelation() argument 445 String nfdString = nfd.normalize(str); in addRelation() 1092 addIfDifferent(CharSequence prefix, CharSequence str, long[] newCEs, int newCEsLength, int ce32) addIfDifferent() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationBuilder.java | 112 void addReset(int strength, CharSequence str) { in addReset() argument 113 assert(str.length() != 0); in addReset() 114 if(str.charAt(0) == CollationRuleParser.POS_LEAD) { in addReset() 115 ces[0] = getSpecialResetPosition(str); in addReset() 120 String nfdString = nfd.normalize(str); in addReset() 283 private long getSpecialResetPosition(CharSequence str) { in getSpecialResetPosition() argument 284 assert(str.length() == 2); in getSpecialResetPosition() 289 CollationRuleParser.POSITION_VALUES[str.charAt(1) - CollationRuleParser.POS_BASE]; in getSpecialResetPosition() 442 void addRelation(int strength, CharSequence prefix, CharSequence str, CharSequence extension) { in addRelation() argument 449 String nfdString = nfd.normalize(str); in addRelation() 1096 addIfDifferent(CharSequence prefix, CharSequence str, long[] newCEs, int newCEsLength, int ce32) addIfDifferent() argument [all...] |
/third_party/libinput/test/ |
H A D | test-utils.c | 802 char *str; member 830 for (int i = 0; tests[i].str != NULL; i++) { in START_TEST() 832 success = safe_atoi(tests[i].str, &v); in START_TEST() 864 for (int i = 0; tests[i].str != NULL; i++) { in START_TEST() 866 success = safe_atoi_base(tests[i].str, &v, 16); in START_TEST() 901 for (int i = 0; tests[i].str != NULL; i++) { in START_TEST() 903 success = safe_atoi_base(tests[i].str, &v, 8); in START_TEST() 914 char *str; member 941 for (int i = 0; tests[i].str != NULL; i++) { in START_TEST() 943 success = safe_atou(tests[i].str, in START_TEST() 1027 char *str; START_TEST() member 1277 char *str; START_TEST() local 1320 char *str; START_TEST() local [all...] |
/third_party/libevdev/test/ |
H A D | test-libevdev-has-event.c | 456 const char *str; in START_TEST() local 461 str = libevdev_get_name(dev); in START_TEST() 462 ck_assert(str != NULL); in START_TEST() 463 ck_assert_int_eq(strlen(str), 0); in START_TEST() 472 str = libevdev_get_name(dev); in START_TEST() 473 ck_assert_int_eq(strcmp(str, TEST_DEVICE_NAME), 0); in START_TEST() 475 str = libevdev_get_phys(dev); in START_TEST() 476 ck_assert(str == NULL); in START_TEST() 478 str = libevdev_get_uniq(dev); in START_TEST() 479 ck_assert(str in START_TEST() 497 const char *str; START_TEST() local [all...] |
/third_party/python/Tools/unicode/ |
H A D | makeunicodedata.py | 362 fprint(" { %s }," % ", ".join(map(str,record))) 908 def expand_range(char_range: str) -> Iterator[int]: 931 def __init__(self, template: str, version: str) -> None: 935 def records(self) -> Iterator[List[str]]: 943 def __iter__(self) -> Iterator[List[str]]: 946 def expanded(self) -> Iterator[Tuple[int, List[str]]]: 957 codepoint: str 958 name: str 959 general_category: str [all...] |
/third_party/python/Lib/test/ |
H A D | test_complex.py | 297 self.assertEqual(str(float_pow), str(int_pow)) 298 self.assertEqual(str(complex_pow), str(int_pow)) 558 test_fn(str(v), expected) 586 test_fn(str(v), expected) 667 # empty format string is same as str() 668 self.assertEqual(format(1+3j, ''), str(1+3j)) 669 self.assertEqual(format(1.5+3.5j, ''), str(1.5+3.5j)) 670 self.assertEqual(format(3j, ''), str( [all...] |
/base/global/resource_management/frameworks/resmgr/include/ |
H A D | locale_matcher.h | 38 * @param str the tag string 40 * @return true if the str is language tag, else false 42 static bool IsLanguageTag(const char *str, int32_t len); 46 * @param str the tag string 48 * @return true if the str is script tag, else false 50 static bool IsScriptTag(const char *str, int32_t len); 54 * @param str the tag string 56 * @return true if the str is Region tag, else false 58 static bool IsRegionTag(const char *str, int32_t len);
|
/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | locale_matcher.h | 38 * @param str the tag string 40 * @return true if the str is language tag, else false 42 static bool IsLanguageTag(const char *str, int32_t len); 46 * @param str the tag string 48 * @return true if the str is script tag, else false 50 static bool IsScriptTag(const char *str, int32_t len); 54 * @param str the tag string 56 * @return true if the str is Region tag, else false 58 static bool IsRegionTag(const char *str, int32_t len);
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_datashare_adapter_wrapper.cpp | 28 ArkWebString str = ArkWebStringClassToStruct(uriStr); in OpenDataShareUriForRead() local 29 int result = ctocpp_->OpenDataShareUriForRead(str); in OpenDataShareUriForRead() 31 ArkWebStringStructRelease(str); in OpenDataShareUriForRead()
|
/build/hb/util/ |
H A D | type_check_util.py | 34 elif isinstance(value, str): 43 elif isinstance(value, str): 54 elif isinstance(entity, str):
|
/foundation/ability/ability_base/interfaces/inner_api/base/src/ |
H A D | bool_wrapper.cpp | 53 sptr<IBoolean> Boolean::Parse(const std::string &str) /* [in] */ in Parse() argument 56 if (str == "true") { in Parse() 58 } else if (str == "false") { in Parse()
|
/foundation/multimedia/audio_framework/frameworks/native/audioutils/include/ |
H A D | audio_utils_c.h | 38 char AUTO_NAME(str)[SPRINTF_STRING_LEN] = {0}; \ 39 int AUTO_NAME(ret) = sprintf_s(AUTO_NAME(str), SPRINTF_STRING_LEN, fmt, ##args); \ 40 AUTO_CLEAR CTrace *AUTO_NAME(tmpCtrace) = (AUTO_NAME(ret) >= 0 ? GetAndStart(AUTO_NAME(str)) : NULL); \
|
/foundation/communication/wifi/wifi/base/inner_api/ |
H A D | rpc.h | 40 int WriteString(const std::string &str); 43 int ReadString(char *str, int count); 44 int ReadString(Context *context, char *str, int count);
|
/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/ |
H A D | disk_handler.cpp | 26 void DiskHandler::Write(const std::string &str) in Write() argument 33 w << str; in Write() local 47 return b.str(); in Read()
|
/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbusconnectorstate_fuzzer/ |
H A D | softbus_connector_state_fuzzer.cpp | 44 std::string str(reinterpret_cast<const char*>(data), size); in SoftBusConnectorStateFuzzTest() 50 softbusConnector->HandleDeviceOnline(str, authForm); in SoftBusConnectorStateFuzzTest() 51 softbusConnector->HandleDeviceOffline(str); in SoftBusConnectorStateFuzzTest()
|
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | string.h | 10 char **argv_split(const char *str, int *argcp); 36 * strstarts - does @str start with @prefix? 37 * @str: string to examine 40 static inline bool strstarts(const char *str, const char *prefix) in strstarts() argument 42 return strncmp(str, prefix, strlen(prefix)) == 0; in strstarts()
|
/kernel/linux/linux-5.10/tools/perf/arch/arm64/tests/ |
H A D | regs_load.S | 6 #define STR_REG(r) str x##r, [x0, 8 * r] 43 str x1, [x0, #SP] 44 str x30, [x0, #PC]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | units.c | 10 unsigned long parse_tag_value(const char *str, struct parse_tag *tags) in parse_tag_value() argument 15 char *s = strchr(str, i->tag); in parse_tag_value() 21 value = strtoul(str, &endptr, 10); in parse_tag_value()
|
/kernel/linux/linux-5.10/fs/hpfs/ |
H A D | dentry.c | 39 unsigned int len, const char *str, const struct qstr *name) in hpfs_compare_dentry() 44 hpfs_adjust_length(str, &al); in hpfs_compare_dentry() 48 * 'str' is the nane of an already existing dentry, so the name in hpfs_compare_dentry() 54 if (hpfs_compare_names(dentry->d_sb, str, al, name->name, bl, 0)) in hpfs_compare_dentry() 38 hpfs_compare_dentry(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) hpfs_compare_dentry() argument
|
/kernel/linux/linux-6.6/fs/hpfs/ |
H A D | dentry.c | 39 unsigned int len, const char *str, const struct qstr *name) in hpfs_compare_dentry() 44 hpfs_adjust_length(str, &al); in hpfs_compare_dentry() 48 * 'str' is the nane of an already existing dentry, so the name in hpfs_compare_dentry() 54 if (hpfs_compare_names(dentry->d_sb, str, al, name->name, bl, 0)) in hpfs_compare_dentry() 38 hpfs_compare_dentry(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) hpfs_compare_dentry() argument
|
/kernel/linux/linux-6.6/tools/perf/arch/arm64/tests/ |
H A D | regs_load.S | 6 #define STR_REG(r) str x##r, [x0, 8 * r] 43 str x1, [x0, #SP] 44 str x30, [x0, #PC]
|