Searched refs:str_count (Results 1 – 11 of 11) sorted by relevance
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | usbd_config.c | 427 size = sizeof(struct usbd_string) * (str_data->str_count + 1); in fconfig_fill_strings() 436 size = sizeof(*strings) * str_data->str_count; in fconfig_fill_strings() 449 for (i = 0; i < str_data->str_count; i++) in fconfig_fill_strings() 494 if (!gi->str_count) in fconfig_write_strings() 496 gi->str_count = str_data.str_count + 1; in fconfig_write_strings() 498 else if (gi->str_count != (str_data.str_count + 1)) in fconfig_write_strings() 501 __FUNCTION__, str_data.str_count, gi->str_count); in fconfig_write_strings()
|
D | f_config.c | 159 if (id < gi->str_count) in fconfig_mkstrdesc() 191 if (id >= (devinfo->strbase + gi->str_count) && in fconfig_mkstrdesc() 192 id < (devinfo->strbase + devinfo->nstrings + gi->str_count)) in fconfig_mkstrdesc() 195 … ret = com_dev->device[i].compdesc.mkstrdesc(id - devinfo->strbase - gi->str_count, buf); in fconfig_mkstrdesc() 252 *string_num = gi->str_count; in fconfig_find_cfg()
|
D | usbd_generic_ep0.c | 354 uint32_t str_count, str_count_all, lang_count; in generic_got_strings() local 364 bytes = offsetof(struct generic_strings_head, str_count); in generic_got_strings() 365 str_count = get_unaligned_le32((uint32_t *)(data + bytes)); in generic_got_strings() 368 if ((!str_count != !lang_count) || (str_count == 0)) in generic_got_strings() 371 __FUNCTION__, str_count, lang_count); in generic_got_strings() 381 bytes = sizeof(struct usbd_string) * (str_count + 1); in generic_got_strings() 408 str_count_all = str_count; in generic_got_strings() 409 while (str_count--) in generic_got_strings()
|
/third_party/libsnd/tests/ |
D | string_test.c | 50 static int str_count (const char * haystack, const char * needle) ; 270 if (str_count (cptr, "libsndfile") != 1) in string_start_end_test() 428 if (cptr && str_count (cptr, "libsndfile") != 1) in string_start_test() 541 count = str_count (buffer, new_title) ; in string_multi_set_test() 545 count = str_count (buffer, software) ; in string_multi_set_test() 549 count = str_count (buffer, new_artist) ; in string_multi_set_test() 553 count = str_count (buffer, new_copyright) ; in string_multi_set_test() 673 str_count (const char * haystack, const char * needle) in str_count() function
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/ |
D | usbd_config.h | 90 uint32_t str_count; member 156 uint32_t str_count; member
|
D | usbd_generic_ep0.h | 69 uint32_t str_count; member
|
/third_party/libsnd/src/ |
D | sd2.c | 69 int str_index, str_count ; member 264 rsrc.str_count = ARRAY_LEN (str_rsrc) ; in sd2_write_rsrc_fork() 265 rsrc.string_offset = rsrc.item_offset + (rsrc.str_count + 1) * 12 - rsrc.map_offset ; in sd2_write_rsrc_fork() 269 rsrc.str_count = 3 ; in sd2_write_rsrc_fork() 270 …f (psf, "Eom22", BHWo (rsrc.type_offset), BHWm (STR_MARKER), BHW2 (rsrc.str_count - 1), BHW2 (0x12… in sd2_write_rsrc_fork() 490 rsrc.str_count = read_rsrc_short (&rsrc, rsrc.type_offset + k * 8 + 4) + 1 ; in sd2_parse_rsrc_fork()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/ |
D | program_specialize.cc | 116 std::string str_count = std::to_string(g_CloneCounter); in GetNextCounter() local 118 return str_count; in GetNextCounter()
|
/third_party/quickjs/ |
D | quickjs.h | 400 int64_t str_count, str_size; member
|
D | run-test262.c | 1480 update(str_count); in update_stats()
|
D | quickjs.c | 5842 double str_count; member 5857 hp->str_count += 1 / s_ref_count; in compute_jsstring_size() 6192 s->str_count = round(mem.str_count); in JS_ComputeMemoryUsage() 6200 s->atom_count + s->str_count + in JS_ComputeMemoryUsage() 6289 if (s->str_count) { in JS_DumpMemoryUsage() 6291 "strings", s->str_count, s->str_size, in JS_DumpMemoryUsage() 6292 (double)s->str_size / s->str_count); in JS_DumpMemoryUsage()
|