Home
last modified time | relevance | path

Searched refs:str (Results 2051 - 2075 of 12809) sorted by relevance

1...<<81828384858687888990>>...513

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_common.c462 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...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_common.c462 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...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dsort.c1534 static inline char *add_str(char *p, const char *str) in add_str() argument
1536 strcpy(p, str); in add_str()
1537 return p + strlen(str); in add_str()
2049 char *str, *pos; in update_dynamic_len() local
2062 str = he->trace_output; in update_dynamic_len()
2064 while (str) { in update_dynamic_len()
2065 pos = strchr(str, ' '); in update_dynamic_len()
2068 pos = str + strlen(str); in update_dynamic_len()
2071 if (!strncmp(str, fiel in update_dynamic_len()
2134 char *str, *pos; __sort__hde_entry() local
2317 parse_field_name(char *str, char **event, char **field, char **opt) parse_field_name() argument
2460 char *str, *event_name, *field_name, *opt_name; add_dynamic_entry() local
2696 setup_sort_list(struct perf_hpp_list *list, char *str, struct evlist *evlist) setup_sort_list() argument
2811 prefix_if_not_in(const char *pre, char *str) prefix_if_not_in() argument
2840 char *str; __setup_sorting() local
3026 setup_output_list(struct perf_hpp_list *list, char *str) setup_output_list() argument
3070 char *str, *strp; __setup_output_field() local
3151 add_key(struct strbuf *sb, const char *str, int *llen) add_key() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingDescriptorSetRandomTests.cpp864 decls << "layout(set = " << s << ", binding = " << b << ") uniform inlineubodef" << s << "_" << b << " { ivec4 unused; int val" << array.str() << "; } inlineubo" << s << "_" << b << ";\n"; in initPrograms()
869 decls << "layout(set = " << s << ", binding = " << b << ") uniform ubodef" << s << "_" << b << " { int val; } ubo" << s << "_" << b << array.str() << ";\n"; in initPrograms()
873 decls << "layout(set = " << s << ", binding = " << b << ") buffer sbodef" << s << "_" << b << " { int val; } ssbo" << s << "_" << b << array.str() << ";\n"; in initPrograms()
876 decls << "layout(set = " << s << ", binding = " << b << ") uniform itextureBuffer texbo" << s << "_" << b << array.str() << ";\n"; in initPrograms()
879 decls << "layout(r32i, set = " << s << ", binding = " << b << ") uniform iimageBuffer image" << s << "_" << b << array.str() << ";\n"; in initPrograms()
882 decls << "layout(r32i, set = " << s << ", binding = " << b << ") uniform iimage2D simage" << s << "_" << b << array.str() << ";\n"; in initPrograms()
885 decls << "layout(input_attachment_index = " << inputAttachments << ", set = " << s << ", binding = " << b << ") uniform isubpassInput attachment" << s << "_" << b << array.str() << ";\n"; in initPrograms()
983 checks << " temp = inlineubo" << s << "_" << b << ".val" << ind.str() << ";\n"; in initPrograms()
988 checks << " temp = ubo" << s << "_" << b << ind.str() << ".val;\n"; in initPrograms()
992 checks << " temp = ssbo" << s << "_" << b << ind.str() << " in initPrograms()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
H A DvktBindingDescriptorSetRandomTests.cpp864 decls << "layout(set = " << s << ", binding = " << b << ") uniform inlineubodef" << s << "_" << b << " { ivec4 unused; int val" << array.str() << "; } inlineubo" << s << "_" << b << ";\n"; in initPrograms()
869 decls << "layout(set = " << s << ", binding = " << b << ") uniform ubodef" << s << "_" << b << " { int val; } ubo" << s << "_" << b << array.str() << ";\n"; in initPrograms()
873 decls << "layout(set = " << s << ", binding = " << b << ") buffer sbodef" << s << "_" << b << " { int val; } ssbo" << s << "_" << b << array.str() << ";\n"; in initPrograms()
876 decls << "layout(set = " << s << ", binding = " << b << ") uniform itextureBuffer texbo" << s << "_" << b << array.str() << ";\n"; in initPrograms()
879 decls << "layout(r32i, set = " << s << ", binding = " << b << ") uniform iimageBuffer image" << s << "_" << b << array.str() << ";\n"; in initPrograms()
882 decls << "layout(r32i, set = " << s << ", binding = " << b << ") uniform iimage2D simage" << s << "_" << b << array.str() << ";\n"; in initPrograms()
885 decls << "layout(input_attachment_index = " << inputAttachments << ", set = " << s << ", binding = " << b << ") uniform isubpassInput attachment" << s << "_" << b << array.str() << ";\n"; in initPrograms()
983 checks << " temp = inlineubo" << s << "_" << b << ".val" << ind.str() << ";\n"; in initPrograms()
988 checks << " temp = ubo" << s << "_" << b << ind.str() << ".val;\n"; in initPrograms()
992 checks << " temp = ssbo" << s << "_" << b << ind.str() << " in initPrograms()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cExplicitUniformLocationTest.cpp52 str_ << rhs.str_.str(); in Logger()
58 s_tcuLog->writeMessage(str_.str().c_str()); in ~Logger()
59 if (!str_.str().empty()) in ~Logger()
202 void streamDefinition(std::ostringstream& str, GLenum shader) const;
209 void LayoutSpecifier<LocationSpecifier>::streamDefinition(std::ostringstream& str, GLenum shader) const in streamDefinition() argument
216 str << "layout(location = "; in streamDefinition()
219 str << std::oct << "0"; in streamDefinition()
223 str << std::hex << "0x"; in streamDefinition()
225 str << val << std::dec << ") "; in streamDefinition()
229 void LayoutSpecifier<IndexSpecifier>::streamDefinition(std::ostringstream& str, GLenu argument
302 inline const std::string& str() const str() function in glcts::__anon27691::UniformType
541 streamValue(std::ostringstream& str, int arrayElement = 0, int column = 0) const streamValue() argument
866 streamArrayStr(std::ostringstream& str, int arrayElem = -1) const streamArrayStr() argument
[all...]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationBuilder.java108 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 DCollationBuilder.java112 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 Dtest-utils.c802 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 Dtest-libevdev-has-event.c456 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 Dmakeunicodedata.py362 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 Dtest_complex.py297 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...]
H A Dtest_decimal.py448 result = str(funct(*vals))
450 result = str(int(eval(result))) # 'True', 'False' -> '1', '0'
466 'Incorrect flags set in ' + s + ' -- got ' + str(myexceptions))
514 self.assertEqual(str(d), '45')
518 self.assertEqual(str(d), '500000123')
522 self.assertEqual(str(d), '-45')
526 self.assertEqual(str(d), '0')
534 self.assertEqual(str(d), str(i))
542 self.assertEqual(str(Decima
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DNormalizer2Impl.java141 str=(StringBuilder)dest; in ReorderingBuffer()
143 str.ensureCapacity(destCapacity); in ReorderingBuffer()
145 if(str.length()==0) { in ReorderingBuffer()
158 str=new StringBuilder(); in ReorderingBuffer()
164 public boolean isEmpty() { return str.length()==0; } in isEmpty()
165 public int length() { return str.length(); } in length()
168 public StringBuilder getStringBuilder() { return str; } in getStringBuilder()
171 return UTF16Plus.equal(str, 0, str.length(), s, start, limit); in equals()
176 str in append()
338 private final StringBuilder str; global() field in Normalizer2Impl.ReorderingBuffer
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DNormalizer2Impl.java147 str=(StringBuilder)dest; in ReorderingBuffer()
149 str.ensureCapacity(destCapacity); in ReorderingBuffer()
151 if(str.length()==0) { in ReorderingBuffer()
164 str=new StringBuilder(); in ReorderingBuffer()
170 public boolean isEmpty() { return str.length()==0; } in isEmpty()
171 public int length() { return str.length(); } in length()
174 public StringBuilder getStringBuilder() { return str; } in getStringBuilder()
177 return UTF16Plus.equal(str, 0, str.length(), s, start, limit); in equals()
182 str in append()
344 private final StringBuilder str; global() field in Normalizer2Impl.ReorderingBuffer
[all...]
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dencode_decode.c41 VALUE noleak_rb_str_cat(VALUE rb_str, const char *str, long len) { in noleak_rb_str_cat() argument
46 memcpy(p + oldlen, str, len); in noleak_rb_str_cat()
224 VALUE str = rb_str_new2(""); in appendstr_handler() local
225 rb_enc_associate(str, kRubyStringUtf8Encoding); in appendstr_handler()
226 RepeatedField_push_native(ary, &str); in appendstr_handler()
227 return (void*)str; in appendstr_handler()
242 VALUE str = rb_str_new2(""); in appendbytes_handler() local
243 rb_enc_associate(str, kRubyString8bitEncoding); in appendbytes_handler()
244 RepeatedField_push_native(ary, &str); in appendbytes_handler()
245 return (void*)str; in appendbytes_handler()
255 VALUE str = rb_str_new2(""); str_handler() local
269 VALUE str = rb_str_new2(""); bytes_handler() local
276 stringdata_handler(void* closure, const void* hd, const char* str, size_t len, const upb_bufhandle* handle) stringdata_handler() argument
514 VALUE str = rb_str_new2(""); oneofstr_handler() local
527 VALUE str = rb_str_new2(""); oneofbytes_handler() local
1166 putstr(VALUE str, const upb_fielddef *f, upb_sink sink) putstr() argument
1539 VALUE str = DEREF(msg, offset, VALUE); putmsg() local
[all...]
/kernel/linux/linux-5.10/arch/mips/fw/lib/
H A Dcmdline.c92 char *str; in fw_getenvl() local
95 str = fw_getenv(envname); in fw_getenvl()
96 if (str) { in fw_getenvl()
97 tmp = kstrtoul(str, 0, &envl); in fw_getenvl()
/kernel/linux/linux-5.10/arch/s390/boot/
H A Dstring.c24 char *skip_spaces(const char *str) in skip_spaces() argument
26 while (isspace(*str)) in skip_spaces()
27 ++str; in skip_spaces()
28 return (char *)str; in skip_spaces()
/kernel/linux/linux-6.6/arch/mips/fw/lib/
H A Dcmdline.c92 char *str; in fw_getenvl() local
95 str = fw_getenv(envname); in fw_getenvl()
96 if (str) { in fw_getenvl()
97 tmp = kstrtoul(str, 0, &envl); in fw_getenvl()
/kernel/linux/linux-6.6/arch/s390/boot/
H A Dstring.c25 char *skip_spaces(const char *str) in skip_spaces() argument
27 while (isspace(*str)) in skip_spaces()
28 ++str; in skip_spaces()
29 return (char *)str; in skip_spaces()
/kernel/linux/linux-5.10/samples/bpf/
H A Dlwt_len_hist_user.c18 static void stars(char *str, long val, long max, int width) in stars() argument
23 str[i] = '*'; in stars()
25 str[i - 1] = '+'; in stars()
26 str[i] = '\0'; in stars()
/kernel/linux/linux-5.10/fs/gfs2/
H A Ddentry.c80 static int gfs2_dhash(const struct dentry *dentry, struct qstr *str) in gfs2_dhash() argument
82 str->hash = gfs2_disk_hash(str->name, str->len); in gfs2_dhash()
/kernel/linux/linux-5.10/lib/
H A Dstrnlen_user.c73 * @str: The string to measure.
92 long strnlen_user(const char __user *str, long count) in strnlen_user() argument
100 src_addr = (unsigned long)untagged_addr(str); in strnlen_user()
112 if (user_read_access_begin(str, max)) { in strnlen_user()
113 retval = do_strnlen_user(str, count, max); in strnlen_user()
/kernel/linux/linux-6.6/fs/gfs2/
H A Ddentry.c80 static int gfs2_dhash(const struct dentry *dentry, struct qstr *str) in gfs2_dhash() argument
82 str->hash = gfs2_disk_hash(str->name, str->len); in gfs2_dhash()
/kernel/linux/linux-6.6/samples/bpf/
H A Dlwt_len_hist_user.c18 static void stars(char *str, long val, long max, int width) in stars() argument
23 str[i] = '*'; in stars()
25 str[i - 1] = '+'; in stars()
26 str[i] = '\0'; in stars()

Completed in 31 milliseconds

1...<<81828384858687888990>>...513