|
PatchworkOS
|
Go to the source code of this file.
Functions | |
| _PUBLIC void * | memcpy (void *_RESTRICT s1, const void *_RESTRICT s2, size_t n) |
| _PUBLIC void * | memmove (void *_RESTRICT s1, const void *_RESTRICT s2, size_t n) |
| _PUBLIC char * | strcpy (char *_RESTRICT s1, const char *_RESTRICT s2) |
| _PUBLIC char * | strncpy (char *_RESTRICT s1, const char *_RESTRICT s2, size_t n) |
| _PUBLIC char * | strcat (char *_RESTRICT s1, const char *_RESTRICT s2) |
| _PUBLIC char * | strncat (char *_RESTRICT s1, const char *_RESTRICT s2, size_t n) |
| _PUBLIC int | memcmp (const void *s1, const void *s2, size_t n) |
| _PUBLIC int | strcmp (const char *s1, const char *s2) |
| _PUBLIC int | strcoll (const char *s1, const char *s2) |
| _PUBLIC int | strncmp (const char *s1, const char *s2, size_t n) |
| _PUBLIC size_t | strxfrm (char *_RESTRICT s1, const char *_RESTRICT s2, size_t n) |
| _PUBLIC void * | memchr (const void *s, int c, size_t n) |
| _PUBLIC char * | strchr (const char *s, int c) |
| _PUBLIC size_t | strcspn (const char *s1, const char *s2) |
| _PUBLIC char * | strpbrk (const char *s1, const char *s2) |
| _PUBLIC char * | strrchr (const char *s, int c) |
| _PUBLIC size_t | strspn (const char *s1, const char *s2) |
| _PUBLIC char * | strstr (const char *s1, const char *s2) |
| _PUBLIC char * | strtok (char *_RESTRICT s1, const char *_RESTRICT s2) |
| _PUBLIC void * | memset (void *s, int c, size_t n) |
| _PUBLIC void * | memset32 (void *s, __UINT32_TYPE__ c, size_t n) |
| _PUBLIC char * | strerror (int errnum) |
| _PUBLIC size_t | strlen (const char *s) |
| char * | strdup (const char *src) |
Definition at line 3 of file memchr.c.
References NULL.
Referenced by _scan(), _strtoll_main(), _strtoll_prelim(), and atoll().
Definition at line 3 of file memcmp.c.
Referenced by acpi_is_rsdp_valid(), acpi_is_xsdt_valid(), acpi_tables_expose(), acpi_tables_init_handlers(), acpi_tables_lookup(), aml_compare(), map_key_is_equal(), and note_queue_compare_buffers().
Definition at line 4 of file memcpy.c.
Referenced by _print_double(), _print_ldouble(), acpi_tables_expose(), acpi_tables_push(), aml_buffer_set(), aml_concat_buffer(), aml_concat_integer(), aml_concat_other_types(), aml_concat_string(), aml_convert_to_decimal_string(), aml_convert_to_hex_string(), aml_string_resize(), aml_string_set(), aml_string_to_buffer(), client_send_event(), config_get_array(), current_piece_choose_new(), current_piece_rotate(), display_emit(), display_push(), draw_hand(), draw_marker(), draw_transfer(), element_emit(), fb_new(), field_move_down(), loader_setup_argv(), log_file_op_write(), log_screen_flush(), log_screen_put(), log_screen_scroll(), map_key_buffer(), map_key_uint64(), note_queue_write(), path_to_name(), path_walk(), process_prio_write(), ramfs_inode_new(), ramfs_write(), rand_gen(), realloc(), ring_read(), ring_read_at(), ring_write(), screen_swap(), screen_transfer(), screen_transfer_frontbuffer(), simd_ctx_init(), space_alloc_callback(), strdup(), thread_copy_from_user(), thread_copy_from_user_pathname(), thread_copy_from_user_terminated(), thread_copy_to_user(), trampoline_deinit(), and trampoline_init().
Definition at line 4 of file memset.c.
Referenced by _std_stream_init(), aml_buffer_set_empty(), aml_name_string_to_string(), aml_object_get_bits_at(), aml_object_to_string(), aml_package_set(), aml_string_resize(), aml_string_set_empty(), ansi_init(), ansi_sending_init(), calloc(), const_one_mmap(), const_one_read(), const_zero_mmap(), const_zero_read(), dentry_cache_key(), display_new(), dwm_init(), frontbuffer_init(), interactive_handle_ansi(), interactive_shell(), loader_load_program(), loader_process_entry(), log_screen_clear(), log_screen_init(), map_entry_init(), memcpy_s(), memmove_s(), memset_s(), path_to_name(), path_walk_parent(), pathname_init(), pml_new(), ramfs_write(), smp_others_init(), space_alloc_callback(), space_init(), stack_pointer_init_buffer(), surface_new(), thread_handle_page_fault(), thread_init(), trampoline_init(), vfs_ctx_init(), vfs_poll_ctx_init(), and vfs_stat().
Definition at line 4 of file memset32.c.
Referenced by draw_rect(), log_screen_clear(), and log_screen_scroll().
| _PUBLIC char * strchr | ( | const char * | s, |
| int | c | ||
| ) |
| _PUBLIC int strcmp | ( | const char * | s1, |
| const char * | s2 | ||
| ) |
Definition at line 3 of file strcmp.c.
Referenced by ansi_parse(), builtin_execute(), builtin_exists(), config_get_bool(), ctl_dispatch(), font_new(), history_push(), main(), path_walk(), path_walk_parent(), pipeline_init(), socket_family_get(), socket_family_get_and_remove(), start_menu_load_entries(), strcoll(), taskbar_procedure(), vfs_get_fs(), vfs_is_name_valid(), vfs_register_fs(), and vfs_unregister_fs().
| _PUBLIC int strcoll | ( | const char * | s1, |
| const char * | s2 | ||
| ) |
Definition at line 3 of file strcpy.c.
Referenced by argv_init(), history_push(), interactive_prompt(), statistics_cpu_read(), strerror_s(), surface_get_info(), surface_new(), taskbar_entry_add(), and window_new().
| char * strdup | ( | const char * | src | ) |
Definition at line 5 of file strdup.c.
References malloc(), memcpy(), NULL, and strlen().
Referenced by config_open(), element_new_raw(), element_set_text(), pipeline_init(), and start_menu_load_entries().
| _PUBLIC char * strerror | ( | int | errnum | ) |
Definition at line 6 of file strerror.c.
References _error_strings, and ERR_MAX.
Referenced by _assert_99(), builtin_cd(), dwm_client_accept(), dwm_init(), dwm_poll(), dwm_update(), exception_handler(), execute_commands(), frontbuffer_init(), interactive_execute_command(), interactive_handle_input(), interactive_shell(), main(), main(), main(), panic(), perror(), pipeline_execute(), pipeline_init(), print_dir(), print_stat(), procedure(), read_fd(), spawn_program(), startmenu_procedure(), strerror_s(), and strerrorlen_s().
Definition at line 3 of file strlen.c.
Referenced by _print_string(), acpi_tables_lookup(), aml_concat_other_types(), aml_concat_resolve_to_buffer(), aml_concat_string(), aml_object_to_string(), aml_string_set(), argv_init(), config_get_array(), config_trim_whitespace(), draw_text(), history_push(), interactive_handle_ansi(), map_key_string(), panic(), pipeline_execute_cmd(), print_dir(), process_cwd_read(), socket_factory_read(), statistics_cpu_read(), statistics_mem_read(), strdup(), strerrorlen_s(), strtok(), and strxfrm().
Definition at line 3 of file strncmp.c.
Referenced by aml_def_data_region_read().
Definition at line 3 of file strncpy.c.
Referenced by dentry_new(), getdents_recursive_traversal(), getdents_write(), gop_init(), interactive_handle_ansi(), kbd_new(), local_listen_new(), mouse_new(), panic_symbols_init(), path_walk_parent(), socket_family_register(), strerror_s(), superblock_new(), theme_lazy_load(), and vfs_stat().
| _PUBLIC char * strpbrk | ( | const char * | s1, |
| const char * | s2 | ||
| ) |
| _PUBLIC char * strrchr | ( | const char * | s, |
| int | c | ||
| ) |
| _PUBLIC char * strstr | ( | const char * | s1, |
| const char * | s2 | ||
| ) |
Definition at line 4 of file strtok.c.
References NULL, strlen(), and strtok_s().