text
stringlengths
9
39.2M
dir
stringlengths
25
226
lang
stringclasses
163 values
created_date
timestamp[s]
updated_date
timestamp[s]
repo_name
stringclasses
751 values
repo_full_name
stringclasses
752 values
star
int64
1.01k
183k
len_tokens
int64
1
18.5M
```c /** @file * @brief mbed TLS initialization * * Initialize the mbed TLS library like setup the heap etc. */ /* * */ #include <zephyr/init.h> #include <zephyr/app_memory/app_memdomain.h> #include <zephyr/drivers/entropy.h> #include <zephyr/random/random.h> #include <mbedtls/entropy.h> #include <mbedtls/platf...
/content/code_sandbox/modules/mbedtls/zephyr_init.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
870
```unknown # TLS/DTLS related options menu "Mbed TLS configuration" depends on MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" menu "TLS" config MBEDTLS_TLS_VERSION_1_2 bool "Support for TLS 1.2 (DTLS 1.2)" select MBEDTLS_CIPHER select MBEDTLS_MD if MBEDTLS_TLS_VERSION_1_2 config MBEDTLS_DTLS bo...
/content/code_sandbox/modules/mbedtls/Kconfig.tls-generic
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,226
```c /* * */ #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(mbedtls, CONFIG_MBEDTLS_LOG_LEVEL); #include "zephyr_mbedtls_priv.h" void zephyr_mbedtls_debug(void *ctx, int level, const char *file, int line, const char *str) { const char *p, *basename = file; int str_len; ARG_UNUSED(ctx); if (!file || !str...
/content/code_sandbox/modules/mbedtls/debug.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
355
```objective-c /** * \file config-thread.h * * \brief Minimal configuration for using TLS as part of Thread */ /* * * * ********** * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * ********...
/content/code_sandbox/modules/mbedtls/configs/config-thread.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
722
```objective-c /** * \file config-mini-tls1_1.h * * \brief Minimal configuration for TLS 1.1 (RFC 4346) */ /* * * * ********** * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * ********** ...
/content/code_sandbox/modules/mbedtls/configs/config-mini-tls1_1.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
598
```unknown # Cryptography primitive options for mbed TLS config ZEPHYR_MBEDTLS_MODULE bool config MBEDTLS_PROMPTLESS bool help Symbol to disable the prompt for MBEDTLS selection. This symbol may be used internally in a Kconfig tree to hide the mbed TLS menu prompt and instead handle the selection of MBEDT...
/content/code_sandbox/modules/mbedtls/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,949
```objective-c /* * * * Minimal configuration for DTLS 1.2 for Zephyr with PSK and AES-CCM * ciphersuites. * * See README.txt for usage instructions. */ #ifndef MBEDTLS_CONFIG_H #define MBEDTLS_CONFIG_H /* System support */ #define MBEDTLS_PLATFORM_C #define MBEDTLS_PLATFORM_MEMORY #define MBEDTLS_MEMORY_BUFFER...
/content/code_sandbox/modules/mbedtls/configs/config-mini-dtls1_2.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
572
```objective-c /* * * * Minimal configuration for TLS 1.2 (RFC 5246) for Zephyr, implementing only * a few of the most popular ciphersuites. */ #ifndef MBEDTLS_CONFIG_H #define MBEDTLS_CONFIG_H /* System support */ #define MBEDTLS_PLATFORM_C #define MBEDTLS_PLATFORM_MEMORY #define MBEDTLS_MEMORY_BUFFER_ALLOC_C #...
/content/code_sandbox/modules/mbedtls/configs/config-mini-tls1_2.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
530
```objective-c /* * Minimal configuration for DTLS 1.2 with PSK and AES-CCM ciphersuites * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * This file is part of mbed TLS (path_to_url */ /* * ...
/content/code_sandbox/modules/mbedtls/configs/config-coap.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
737
```objective-c /** * \file config-suite-b.h * * \brief Minimal configuration for TLS NSA Suite B Profile (RFC 6460) */ /* * * * ********** * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * ...
/content/code_sandbox/modules/mbedtls/configs/config-suite-b.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
976
```objective-c /* * */ /* This file was automatically generated by create_psa_files.py * from: ../../../modules/crypto/mbedtls/include/psa/crypto_config.h * Do not edit it manually. */ #ifndef CONFIG_PSA_H #define CONFIG_PSA_H #if defined(CONFIG_PSA_WANT_ALG_CBC_NO_PADDING) #define PSA_WANT_ALG_CBC_NO_PADDING ...
/content/code_sandbox/modules/mbedtls/configs/config-psa.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,646
```objective-c /* * Minimal configuration for using TLS as part of Thread * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * This file is part of mbed TLS (path_to_url */ /* * Minimal config...
/content/code_sandbox/modules/mbedtls/configs/config-threadnet.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
701
```objective-c /** * \file config-ccm-psk-tls1_2.h * * \brief Minimal configuration for TLS 1.2 with PSK and AES-CCM ciphersuites */ /* * * * ********** * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or im...
/content/code_sandbox/modules/mbedtls/configs/config-ccm-psk-tls1_2.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
753
```objective-c /** * \file config-no-entropy.h * * \brief Minimal configuration of features that do not require an entropy source */ /* * * * ********** * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or im...
/content/code_sandbox/modules/mbedtls/configs/config-no-entropy.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
734
```objective-c /* * */ #ifndef ZEPHYR_MODULES_MBEDTLS_PRIV_H_ #define ZEPHYR_MODULES_MBEDTLS_PRIV_H_ void zephyr_mbedtls_debug(void *ctx, int level, const char *file, int line, const char *str); #endif /* ZEPHYR_MODULES_MBEDTLS_PRIV_H_ */ ```
/content/code_sandbox/modules/mbedtls/include/zephyr_mbedtls_priv.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
69
```objective-c /* * */ #ifndef MBEDTLS_INIT_H #define MBEDTLS_INIT_H /* This should be called by platforms that do not wish to * have mbedtls initialised during kernel startup */ int mbedtls_init(void); #endif /* MBEDTLS_INIT_H */ ```
/content/code_sandbox/modules/mbedtls/include/mbedtls_init.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
53
```unknown config ZEPHYR_HAL_ST_MODULE bool config HAS_STLIB bool config HAS_STMEMSC bool if HAS_STMEMSC config USE_STDC_A3G4250D bool config USE_STDC_AIS2DW12 bool config USE_STDC_AIS328DQ bool config USE_STDC_AIS3624DQ bool config USE_STDC_H3LIS100DL bool config USE_STDC_H3LIS331DL bool config USE...
/content/code_sandbox/modules/hal_st/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
779
```unknown config ZEPHYR_ZCBOR_MODULE bool config ZCBOR bool "zcbor CBOR library" depends on ZEPHYR_ZCBOR_MODULE help zcbor CBOR encoder/decoder library if ZCBOR config ZCBOR_CANONICAL bool "Produce canonical CBOR" help Enabling this will prevent zcbor from creating lists and maps with indefinite-len...
/content/code_sandbox/modules/zcbor/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
236
```unknown menuconfig UOSCORE bool "UOSCORE library" depends on ZCBOR depends on ZCBOR_CANONICAL depends on MBEDTLS help This option enables the UOSCORE library. if UOSCORE config UOSCORE_DEBUG bool "Debug logs in the uoscore library" endif # UOSCORE menuconfig UEDHOC bool "UEDHOC library" depends on ZC...
/content/code_sandbox/modules/uoscore-uedhoc/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
161
```objective-c /* * * * Generic configuration for TLS, manageable by Kconfig. */ #ifndef MBEDTLS_CONFIG_H #define MBEDTLS_CONFIG_H /* System support */ #define MBEDTLS_PLATFORM_C #define MBEDTLS_PLATFORM_MEMORY #define MBEDTLS_MEMORY_BUFFER_ALLOC_C #define MBEDTLS_MEMORY_ALIGN_MULTIPLE (sizeof(void *)) #define MB...
/content/code_sandbox/modules/mbedtls/configs/config-tls-generic.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,301
```unknown config ZEPHYR_TRUSTED_FIRMWARE_A_MODULE bool menuconfig BUILD_WITH_TFA bool "Build with TF-A as the Secure Execution Environment" help When enabled, this option instructs the Zephyr build process to additionally generate a TF-A image for the Secure Execution environment, along with the Zephyr i...
/content/code_sandbox/modules/trusted-firmware-a/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
139
```unknown # WPA Supplicant configuration options # # # config WIFI_NM_WPA_SUPPLICANT bool "WPA Suplicant from hostap project [EXPERIMENTAL]" select POSIX_TIMERS select POSIX_SIGNALS select POSIX_API select FILE_SYSTEM select NET_SOCKETS select NET_SOCKETS_PACKET select NET_SOCKETPAIR select NET_L2_WIFI_MGMT ...
/content/code_sandbox/modules/hostap/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,767
```objective-c /* * */ #ifndef __SUPP_EVENTS_H__ #define __SUPP_EVENTS_H__ #include <zephyr/net/wifi_mgmt.h> /* Connectivity Events */ #define _NET_MGMT_SUPPLICANT_LAYER NET_MGMT_LAYER_L3 #define _NET_MGMT_SUPPLICANT_CODE 0x157 #define _NET_MGMT_SUPPLICANT_BASE (NET_MGMT_LAYER(_NET_MGMT_SUPPLICANT_LAYER) | \ ...
/content/code_sandbox/modules/hostap/src/supp_events.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,087
```objective-c /* * */ #ifndef __SUPP_MAIN_H_ #define __SUPP_MAIN_H_ #if !defined(CONFIG_NET_DHCPV4) static inline void net_dhcpv4_start(struct net_if *iface) { ARG_UNUSED(iface); } static inline void net_dhcpv4_stop(struct net_if *iface) { ARG_UNUSED(iface); } #else #include <zephyr/net/dhcpv4.h> #endif struct w...
/content/code_sandbox/modules/hostap/src/supp_main.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
176
```objective-c /* * */ #ifndef ZEPHYR_SUPP_MGMT_H #define ZEPHYR_SUPP_MGMT_H #include <zephyr/net/wifi_mgmt.h> #ifndef MAX_SSID_LEN #define MAX_SSID_LEN 32 #endif #ifndef MAC_ADDR_LEN #define MAC_ADDR_LEN 6 #endif #define MAC_STR_LEN 18 /* for ':' or '-' separated MAC address string */ #define CHAN_NUM_LEN 6 /* f...
/content/code_sandbox/modules/hostap/src/supp_api.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,552
```c /* * */ #include "supp_events.h" #include "includes.h" #include "common.h" #include "common/ieee802_11_defs.h" #include "wpa_supplicant_i.h" #ifdef CONFIG_AP #include "ap/sta_info.h" #include "ap/ieee802_11.h" #include "ap/hostapd.h" #endif /* CONFIG_AP */ #include <zephyr/net/wifi_mgmt.h> /* Re-defines MAC...
/content/code_sandbox/modules/hostap/src/supp_events.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,317
```c /** * */ #include <stdarg.h> #include <zephyr/logging/log.h> #include <zephyr/kernel.h> #include <zephyr/net/wifi_mgmt.h> #include "includes.h" #include "common.h" #include "common/defs.h" #include "wpa_supplicant/config.h" #include "wpa_supplicant_i.h" #include "driver_i.h" #include "supp_main.h" #include "s...
/content/code_sandbox/modules/hostap/src/supp_api.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
10,587
```c /* * */ /* @file * @brief wpa_cli implementation for Zephyr OS */ #include <zephyr/kernel.h> #include <zephyr/shell/shell.h> #include <zephyr/init.h> #include "wpa_cli_zephyr.h" static int cmd_wpa_cli(const struct shell *sh, size_t argc, const char *argv[]) { ARG_UNUSED(sh); if (argc == 1) { ...
/content/code_sandbox/modules/hostap/src/wpa_cli.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
210
```unknown config ZEPHYR_CMSIS_NN_MODULE bool menuconfig CMSIS_NN bool "CMSIS-NN Library Support" depends on CPU_CORTEX_M select CMSIS_DSP help This option enables the CMSIS-NN library. if CMSIS_NN config CMSIS_NN_ACTIVATION bool "Activation" help This option enables the NN libraries for the activation...
/content/code_sandbox/modules/cmsis-nn/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
507
```unknown config ZEPHYR_HAL_INFINEON_MODULE bool if SOC_FAMILY_INFINEON_CAT1 || SOC_FAMILY_PSOC6_LEGACY config USE_INFINEON_ADC bool help Enable Analog-to-Digital Converter (ADC) HAL module driver for Infineon devices config USE_INFINEON_I2C bool help Enable Inter-Integrated Circuit Interface (I2C) HAL ...
/content/code_sandbox/modules/hal_infineon/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
508
```c /* * */ #include <stdint.h> const uint8_t brcm_patchram_format = 0x01; /* Configuration Data Records (Write_RAM) */ #ifndef FW_DATBLOCK_SEPARATE_FROM_APPLICATION const uint8_t brcm_patchram_buf[] = { #include <bt_firmware.hcd.inc> }; const int brcm_patch_ram_length = sizeof(brcm_patchram_buf); #endif /* FW...
/content/code_sandbox/modules/hal_infineon/btstack-integration/w_bt_firmware_controller.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
97
```c /***********************************************************************************************//** * \file cyabs_rtos_zephyr.c * * \brief * Implementation for Zephyr RTOS abstraction * *************************************************************************************************** * \copyright * an af...
/content/code_sandbox/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/cyabs_rtos_zephyr.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5,408
```c /* * */ #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(wifi_supplicant, CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL); #include <zephyr/kernel.h> #include <zephyr/init.h> #include <poll.h> #if !defined(CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE) && !defined(CONFIG_MBEDTLS_ENABLE_HEAP) #include <mbedtls/platfor...
/content/code_sandbox/modules/hostap/src/supp_main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,519
```linker script *(.time_critical*) ```
/content/code_sandbox/modules/hal_rpi_pico/timecritical.ld
linker script
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
6
```objective-c /***********************************************************************************************//** * \file cyabs_rtos_impl.h * * \brief * Internal definitions for RTOS abstraction layer * *************************************************************************************************** * \copyr...
/content/code_sandbox/modules/hal_infineon/abstraction-rtos/include/COMPONENT_ZEPHYR/cyabs_rtos_impl.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
640
```unknown config HAS_RPI_PICO bool config PICOSDK_USE_UART bool help Use the UART driver from pico-sdk config PICOSDK_USE_GPIO bool help Use the GPIO driver from pico-sdk config PICOSDK_USE_FLASH bool help Use the flash driver from pico-sdk config PICOSDK_USE_PWM bool help Use the PWM driver ...
/content/code_sandbox/modules/hal_rpi_pico/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
233
```objective-c /* * */ /* File intentionally left blank. It's expected by pico-sdk, but isn't used. */ ```
/content/code_sandbox/modules/hal_rpi_pico/pico/version.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
24
```objective-c /* * */ /* * Originally this file is generated by pico-sdk, and some files * try to include it. Therefore, we have to provide that file, * with this exact name. * Since this file ends up included in all pico-sdk code, it's * used to inject workarounds to make pico-sdk compile with Zephyr. */ #i...
/content/code_sandbox/modules/hal_rpi_pico/pico/config_autogen.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
271
```unknown # affiliates <open-source-office@arm.com></text> config ARM_ETHOS_U bool "Ethos-U core driver" default n depends on MULTITHREADING help This option enables the Arm Ethos-U core driver. if ARM_ETHOS_U menu "Arm Ethos-U NPU configuration" choice ARM_ETHOS_U_NPU_CONFIG prompt "Arm Ethos-U NPU configu...
/content/code_sandbox/modules/hal_ethos_u/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
567
```unknown menu "Input device settings" config LV_Z_POINTER_INPUT bool "Input lvgl pointer" default y depends on INPUT depends on DT_HAS_ZEPHYR_LVGL_POINTER_INPUT_ENABLED config LV_Z_POINTER_INPUT_MSGQ_COUNT int "Input pointer queue message count" default 10 depends on LV_Z_POINTER_INPUT help Size of the ...
/content/code_sandbox/modules/lvgl/Kconfig.input
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
335
```c /* * */ #include <zephyr/kernel.h> #include <lvgl.h> #include "lvgl_display.h" void lvgl_flush_cb_24bit(lv_disp_drv_t *disp_drv, const lv_area_t *area, lv_color_t *color_p) { uint16_t w = area->x2 - area->x1 + 1; uint16_t h = area->y2 - area->y1 + 1; struct lvgl_display_flush flush; flush.disp_drv = disp_...
/content/code_sandbox/modules/lvgl/lvgl_display_24bit.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
402
```c /* * */ #include <zephyr/kernel.h> #include <errno.h> #include "lvgl_display.h" #ifdef CONFIG_LV_Z_FLUSH_THREAD K_SEM_DEFINE(flush_complete, 0, 1); /* Message queue will only ever need to queue one message */ K_MSGQ_DEFINE(flush_queue, sizeof(struct lvgl_display_flush), 1, 1); void lvgl_flush_thread_entry(v...
/content/code_sandbox/modules/lvgl/lvgl_display.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,085
```c /* * */ #include "lvgl_mem.h" #include <zephyr/kernel.h> #include <zephyr/init.h> #include <zephyr/sys/sys_heap.h> #ifdef CONFIG_LV_Z_MEMORY_POOL_CUSTOM_SECTION #define HEAP_MEM_ATTRIBUTES Z_GENERIC_SECTION(.lvgl_heap) __aligned(8) #else #define HEAP_MEM_ATTRIBUTES __aligned(8) #endif /* CONFIG_LV_Z_MEMORY_POO...
/content/code_sandbox/modules/lvgl/lvgl_mem.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
384
```c /* * */ #include <zephyr/shell/shell.h> #include <lvgl.h> #include <zephyr/autoconf.h> #ifdef CONFIG_LV_Z_MEM_POOL_SYS_HEAP #include "lvgl_mem.h" #endif #ifdef CONFIG_LV_USE_MONKEY static lv_monkey_t *lvgl_monkeys[CONFIG_LV_Z_MAX_MONKEY_COUNT]; static const char *lvgl_monkey_indev_as_string(lv_monkey_t *monk...
/content/code_sandbox/modules/lvgl/lvgl_shell.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,525
```c /* * */ #include <zephyr/init.h> #include <zephyr/kernel.h> #include <lvgl.h> #include "lvgl_display.h" #include "lvgl_common_input.h" #ifdef CONFIG_LV_Z_USE_FILESYSTEM #include "lvgl_fs.h" #endif #ifdef CONFIG_LV_Z_MEM_POOL_SYS_HEAP #include "lvgl_mem.h" #endif #include LV_MEM_CUSTOM_INCLUDE #include <zephyr/...
/content/code_sandbox/modules/lvgl/lvgl.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,758
```unknown config LV_Z_SHELL bool "LVGL Shell" depends on SHELL help Enable LVGL shell for testing. if LV_Z_SHELL config LV_Z_MAX_MONKEY_COUNT int "Maximum number of monkeys" default 4 depends on LV_USE_MONKEY help Number of monkey instances that can exist in parallel endif ```
/content/code_sandbox/modules/lvgl/Kconfig.shell
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
78
```c /* * */ #include <zephyr/kernel.h> #include <lvgl.h> #include "lvgl_display.h" void lvgl_flush_cb_16bit(lv_disp_drv_t *disp_drv, const lv_area_t *area, lv_color_t *color_p) { uint16_t w = area->x2 - area->x1 + 1; uint16_t h = area->y2 - area->y1 + 1; struct lvgl_display_flush flush; flush.disp_drv = disp_...
/content/code_sandbox/modules/lvgl/lvgl_display_16bit.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
287
```unknown menu "Memory manager settings" config LV_Z_BITS_PER_PIXEL int "Bits per pixel" default 32 range 1 32 depends on LV_Z_BUFFER_ALLOC_STATIC help Number of bits per pixel. choice LV_Z_MEMORY_POOL prompt "Memory pool" default LV_Z_MEM_POOL_SYS_HEAP help Memory pool to use for lvgl allocated objec...
/content/code_sandbox/modules/lvgl/Kconfig.memory
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
723
```c /* * */ #include <zephyr/kernel.h> #include <lvgl.h> #include "lvgl_display.h" void lvgl_flush_cb_mono(lv_disp_drv_t *disp_drv, const lv_area_t *area, lv_color_t *color_p) { uint16_t w = area->x2 - area->x1 + 1; uint16_t h = area->y2 - area->y1 + 1; struct lvgl_disp_data *data = (struct lvgl_disp_data *)dis...
/content/code_sandbox/modules/lvgl/lvgl_display_mono.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
897
```c /* * */ #include <zephyr/kernel.h> #include <lvgl.h> #include "lvgl_display.h" void lvgl_flush_cb_32bit(lv_disp_drv_t *disp_drv, const lv_area_t *area, lv_color_t *color_p) { uint16_t w = area->x2 - area->x1 + 1; uint16_t h = area->y2 - area->y1 + 1; struct lvgl_display_flush flush; flush.disp_drv = disp_...
/content/code_sandbox/modules/lvgl/lvgl_display_32bit.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
353
```unknown config ZEPHYR_LVGL_MODULE bool config LVGL bool "LVGL support" help This option enables the LVGL graphics library. if LVGL config LV_USE_MONKEY bool config LV_DPI_DEF int config LV_CONF_SKIP bool default n config LV_USE_LOG bool config LV_LOG_LEVEL_NONE bool config LV_LOG_LEVEL_ERROR bo...
/content/code_sandbox/modules/lvgl/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
772
```c /* * */ #include "lvgl_common_input.h" #include <zephyr/device.h> #include <zephyr/kernel.h> #include <zephyr/logging/log.h> #include <lvgl_input_device.h> #include "lvgl_pointer_input.h" #include "lvgl_button_input.h" #include "lvgl_encoder_input.h" #include "lvgl_keypad_input.h" LOG_MODULE_DECLARE(lvgl, CONF...
/content/code_sandbox/modules/lvgl/input/lvgl_common_input.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
763
```c /* * */ #define DT_DRV_COMPAT zephyr_lvgl_button_input #include "lvgl_common_input.h" #include "lvgl_button_input.h" #include <zephyr/logging/log.h> LOG_MODULE_DECLARE(lvgl, CONFIG_LV_Z_LOG_LEVEL); struct lvgl_button_input_config { struct lvgl_common_input_config common_config; /* Needs to be first member ...
/content/code_sandbox/modules/lvgl/input/lvgl_button_input.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
714
```c /* * */ #include <lvgl.h> #include <zephyr/kernel.h> #include <zephyr/fs/fs.h> #include "lvgl_fs.h" #include "lv_conf.h" #include LV_MEM_CUSTOM_INCLUDE static bool lvgl_fs_ready(struct _lv_fs_drv_t *drv) { return true; } static lv_fs_res_t errno_to_lv_fs_res(int err) { switch (err) { case 0: return LV_FS...
/content/code_sandbox/modules/lvgl/lvgl_fs.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,539
```c /* * */ #define DT_DRV_COMPAT zephyr_lvgl_encoder_input #include "lvgl_common_input.h" #include "lvgl_encoder_input.h" #include <zephyr/logging/log.h> LOG_MODULE_DECLARE(lvgl, CONFIG_LV_Z_LOG_LEVEL); struct lvgl_encoder_input_config { struct lvgl_common_input_config common_config; /* Needs to be first memb...
/content/code_sandbox/modules/lvgl/input/lvgl_encoder_input.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
689
```c /* * */ #define DT_DRV_COMPAT zephyr_lvgl_pointer_input #include "lvgl_common_input.h" #include "lvgl_pointer_input.h" #include <lvgl_display.h> #include <zephyr/logging/log.h> LOG_MODULE_DECLARE(lvgl, CONFIG_LV_Z_LOG_LEVEL); struct lvgl_pointer_input_config { struct lvgl_common_input_config common_config;...
/content/code_sandbox/modules/lvgl/input/lvgl_pointer_input.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,109
```objective-c /* * */ #ifndef ZEPHYR_MODULES_LVGL_LVGL_BUTTON_INPUT_H_ #define ZEPHYR_MODULES_LVGL_LVGL_BUTTON_INPUT_H_ #include <zephyr/device.h> #ifdef __cplusplus extern "C" { #endif int lvgl_button_input_init(const struct device *dev); #ifdef __cplusplus } #endif #endif /* ZEPHYR_MODULES_LVGL_LVGL_BUTTON_I...
/content/code_sandbox/modules/lvgl/include/lvgl_button_input.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
92
```objective-c /* * */ #ifndef ZEPHYR_MODULES_LVGL_FS_H_ #define ZEPHYR_MODULES_LVGL_FS_H_ #ifdef __cplusplus extern "C" { #endif void lvgl_fs_init(void); #ifdef __cplusplus } #endif #endif /* ZEPHYR_MODULES_LVGL_FS_H_ */ ```
/content/code_sandbox/modules/lvgl/include/lvgl_fs.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
67
```objective-c /* * */ #ifndef ZEPHYR_MODULES_LVGL_INPUT_DEVICE_H_ #define ZEPHYR_MODULES_LVGL_INPUT_DEVICE_H_ #include <zephyr/device.h> #include <lvgl.h> #ifdef __cplusplus extern "C" { #endif lv_indev_t *lvgl_input_get_indev(const struct device *dev); #ifdef __cplusplus } #endif #endif /* ZEPHYR_MODULES_LVGL...
/content/code_sandbox/modules/lvgl/include/lvgl_input_device.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
94
```c /* * */ #define DT_DRV_COMPAT zephyr_lvgl_keypad_input #include "lvgl_common_input.h" #include "lvgl_keypad_input.h" #include <zephyr/sys/util.h> #include <zephyr/logging/log.h> LOG_MODULE_DECLARE(lvgl, CONFIG_LV_Z_LOG_LEVEL); struct lvgl_keypad_input_config { struct lvgl_common_input_config common_config;...
/content/code_sandbox/modules/lvgl/input/lvgl_keypad_input.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
685
```objective-c /* * */ #ifndef ZEPHYR_MODULES_LVGL_LVGL_ENCODER_INPUT_H_ #define ZEPHYR_MODULES_LVGL_LVGL_ENCODER_INPUT_H_ #include <zephyr/device.h> #ifdef __cplusplus extern "C" { #endif int lvgl_encoder_input_init(const struct device *dev); #ifdef __cplusplus } #endif #endif /* ZEPHYR_MODULES_LVGL_LVGL_ENCOD...
/content/code_sandbox/modules/lvgl/include/lvgl_encoder_input.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
95
```objective-c /* * */ #ifndef ZEPHYR_MODULES_LVGL_LVGL_POINTER_INPUT_H_ #define ZEPHYR_MODULES_LVGL_LVGL_POINTER_INPUT_H_ #include <zephyr/device.h> #ifdef __cplusplus extern "C" { #endif int lvgl_pointer_input_init(const struct device *dev); #ifdef __cplusplus } #endif #endif /* ZEPHYR_MODULES_LVGL_LVGL_POINT...
/content/code_sandbox/modules/lvgl/include/lvgl_pointer_input.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
92
```objective-c /* * */ #ifndef ZEPHYR_MODULES_LVGL_LVGL_COMMON_INPUT_H_ #define ZEPHYR_MODULES_LVGL_LVGL_COMMON_INPUT_H_ #include <lvgl.h> #include <zephyr/device.h> #include <zephyr/input/input.h> #ifdef __cplusplus extern "C" { #endif struct lvgl_common_input_config { struct k_msgq *event_msgq; }; struct lvgl...
/content/code_sandbox/modules/lvgl/include/lvgl_common_input.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
351
```objective-c /* * */ #ifndef ZEPHYR_MODULES_LVGL_LVGL_KEYPAD_INPUT_H_ #define ZEPHYR_MODULES_LVGL_LVGL_KEYPAD_INPUT_H_ #include <zephyr/device.h> #ifdef __cplusplus extern "C" { #endif int lvgl_keypad_input_init(const struct device *dev); #ifdef __cplusplus } #endif #endif /* ZEPHYR_MODULES_LVGL_LVGL_KEYPAD_I...
/content/code_sandbox/modules/lvgl/include/lvgl_keypad_input.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
96
```objective-c /* * */ #ifndef ZEPHYR_MODULES_LVGL_MEM_H_ #define ZEPHYR_MODULES_LVGL_MEM_H_ #include <stdlib.h> #include <stdbool.h> #ifdef __cplusplus extern "C" { #endif void *lvgl_malloc(size_t size); void *lvgl_realloc(void *ptr, size_t size); void lvgl_free(void *ptr); void lvgl_print_heap_info(bool dump...
/content/code_sandbox/modules/lvgl/include/lvgl_mem.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
118
```objective-c /* * */ #ifndef ZEPHYR_MODULES_LVGL_LV_CONF_H_ #define ZEPHYR_MODULES_LVGL_LV_CONF_H_ /* Memory manager settings */ #define LV_MEMCPY_MEMSET_STD 1 #define LV_MEM_CUSTOM 1 #if defined(CONFIG_LV_Z_MEM_POOL_HEAP_LIB_C) #define LV_MEM_CUSTOM_INCLUDE "stdlib.h" #define LV_MEM_CUSTOM_ALLOC mall...
/content/code_sandbox/modules/lvgl/include/lv_conf.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
271
```c /* * lfs util functions * */ #include "lfs_util.h" /* Use the LFS naive CRC implementation until it has been decided which CRC to * use for LittleFS. */ /* Software CRC implementation with small lookup table */ uint32_t lfs_crc(uint32_t crc, const void *buffer, size_t size) { static const uint32_t rtable[1...
/content/code_sandbox/modules/littlefs/zephyr_lfs_crc.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
318
```objective-c /* * */ #ifndef ZEPHYR_MODULES_LVGL_DISPLAY_H_ #define ZEPHYR_MODULES_LVGL_DISPLAY_H_ #include <zephyr/drivers/display.h> #include <lvgl.h> #ifdef __cplusplus extern "C" { #endif struct lvgl_disp_data { const struct device *display_dev; struct display_capabilities cap; bool blanking_on; }; stru...
/content/code_sandbox/modules/lvgl/include/lvgl_display.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
553
```unknown config ZEPHYR_LITTLEFS_MODULE bool # Configuration of LittleFS is found in subsys/fs/Kconfig.littlefs for historic # reasons. ```
/content/code_sandbox/modules/littlefs/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
36
```cmake # include_guard(GLOBAL) set(NANOPB_SRC_ROOT_FOLDER ${ZEPHYR_NANOPB_MODULE_DIR}) list(APPEND CMAKE_MODULE_PATH ${ZEPHYR_NANOPB_MODULE_DIR}/extra) find_package(Nanopb REQUIRED) if(NOT PROTOBUF_PROTOC_EXECUTABLE) message(FATAL_ERROR "'protoc' not found, please ensure protoc is installed\ and in path. See pa...
/content/code_sandbox/modules/nanopb/nanopb.cmake
cmake
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
364
```unknown config ZEPHYR_NANOPB_MODULE bool menuconfig NANOPB bool "Nanopb Support" # Nanopb requires c_std_11 compiler features like _Static_assert select REQUIRES_STD_C11 help This option enables the Nanopb library and generator. if NANOPB config NANOPB_ENABLE_MALLOC bool "Malloc usage" help This opt...
/content/code_sandbox/modules/nanopb/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
383
```unknown menu "ACPI driver support" config ACPI bool if ACPI config ACPI_DSDT_SUPPORT bool "Build source code for DSDT ACPICA support" default y if PCIE help Build source code for DSDT support endif #ACPI endmenu ```
/content/code_sandbox/modules/acpica/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
65
```unknown config ZEPHYR_TFLITE-MICRO_MODULE bool config TENSORFLOW_LITE_MICRO bool "TensorFlow Lite Micro Support" select REQUIRES_FULL_LIBCPP help This option enables the TensorFlow Lite Micro library. if CPU_CORTEX_M config TENSORFLOW_LITE_MICRO_CMSIS_NN_KERNELS bool "TensorFlow Lite Micro with optimized...
/content/code_sandbox/modules/tflite-micro/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
228
```objective-c /* * * * Origin of this file is the LittleFS lfs_util.h file adjusted for Zephyr * specific needs. */ #ifndef ZEPHYR_LFS_CONFIG_H #define ZEPHYR_LFS_CONFIG_H /* System includes */ #include <stdint.h> #include <stdbool.h> #include <string.h> #include <inttypes.h> #ifndef LFS_NO_MALLOC #include <st...
/content/code_sandbox/modules/littlefs/zephyr_lfs_config.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,495
```unknown config ZEPHYR_THRIFT_MODULE bool menuconfig THRIFT bool "Support for Thrift [EXPERIMENTAL]" select EXPERIMENTAL depends on CPP depends on STD_CPP17 depends on CPP_EXCEPTIONS depends on POSIX_API help Enable this option to support Apache Thrift if THRIFT config THRIFT_SSL_SOCKET bool "TSSLSock...
/content/code_sandbox/modules/thrift/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
167
```unknown config ZEPHYR_LZ4_MODULE bool config LZ4 bool "Lz4 data compression and decompression" help This option enables lz4 compression & decompression library support. ```
/content/code_sandbox/modules/lz4/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
46
```cmake find_program(THRIFT_EXECUTABLE thrift) if(NOT THRIFT_EXECUTABLE) message(FATAL_ERROR "The 'thrift' command was not found") endif() function(thrift target # CMake target (for dependencies / headers) lang # The language for generated sources lang_opts # Language options ...
/content/code_sandbox/modules/thrift/cmake/thrift.cmake
cmake
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
223
```c++ /* * */ #include <zephyr/kernel.h> #include <thrift/concurrency/Mutex.h> namespace apache { namespace thrift { namespace concurrency { class Mutex::impl { public: k_spinlock_key_t key; struct k_spinlock lock; }; Mutex::Mutex() { impl_ = std::make_shared<Mutex::impl>(); } void Mutex::lock() const { wh...
/content/code_sandbox/modules/thrift/src/thrift/concurrency/Mutex.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
249
```objective-c /* * */ #ifndef _THRIFT_SERVER_TFDSERVER_H_ #define _THRIFT_SERVER_TFDSERVER_H_ 1 #include <memory> #include <vector> #include <thrift/transport/TServerTransport.h> namespace apache { namespace thrift { namespace transport { class TFDServer : public TServerTransport { public: /** * Constructor...
/content/code_sandbox/modules/thrift/src/thrift/server/TFDServer.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
214
```objective-c /* * */ /* config.h. Generated from config.hin by configure. */ /* config.hin. Generated from configure.ac by autoheader. */ #ifndef ZEPHYR_MODULES_THRIFT_SRC_THRIFT_CONFIG_H_ #define ZEPHYR_MODULES_THRIFT_SRC_THRIFT_CONFIG_H_ /* Possible value for SIGNED_RIGHT_SHIFT_IS */ #define ARITHMETIC_RIGH...
/content/code_sandbox/modules/thrift/src/thrift/config.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,468
```objective-c /* * */ /* * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * * path_to_url * * Unless required by applicable law or agreed to in writing, * "AS IS" BASIS, WITHOUT ...
/content/code_sandbox/modules/thrift/src/thrift/server/TConnectedClient.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
779
```objective-c /* * */ /* * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * * path_to_url * * Unless required by applicable law or agreed to in writing, * "AS IS" BASIS, WITHOUT ...
/content/code_sandbox/modules/thrift/src/thrift/server/TSimpleServer.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
757
```c++ /* * */ /* * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * * path_to_url * * Unless required by applicable law or agreed to in writing, * "AS IS" BASIS, WITHOUT WARRANTI...
/content/code_sandbox/modules/thrift/src/thrift/server/TServerFramework.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,729
```objective-c /* * */ /* * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * * path_to_url * * Unless required by applicable law or agreed to in writing, * "AS IS" BASIS, WITHOUT ...
/content/code_sandbox/modules/thrift/src/thrift/server/TServerFramework.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,482
```c++ /* * */ #include <array> #include <system_error> #include <errno.h> #include <zephyr/posix/poll.h> #include <zephyr/posix/sys/eventfd.h> #include <zephyr/posix/unistd.h> #include <thrift/transport/TFDTransport.h> #include <zephyr/kernel.h> #include <zephyr/logging/log.h> #include "thrift/server/TFDServer....
/content/code_sandbox/modules/thrift/src/thrift/server/TFDServer.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,280
```objective-c /* * */ /* * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * * path_to_url * * Unless required by applicable law or agreed to in writing, * "AS IS" BASIS, WITHOUT ...
/content/code_sandbox/modules/thrift/src/thrift/server/TServer.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,228
```objective-c /* * */ #ifndef _THRIFT_TRANSPORT_TSSLSERVERSOCKET_H_ #define _THRIFT_TRANSPORT_TSSLSERVERSOCKET_H_ 1 #include <thrift/transport/TServerSocket.h> namespace apache { namespace thrift { namespace transport { class TSSLSocketFactory; /** * Server socket that accepts SSL connections. */ class TSSLSe...
/content/code_sandbox/modules/thrift/src/thrift/transport/TSSLServerSocket.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
362
```objective-c /* * */ /* * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * * path_to_url * * Unless required by applicable law or agreed to in writing, * "AS IS" BASIS, WITHOUT ...
/content/code_sandbox/modules/thrift/src/thrift/protocol/TBinaryProtocol.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,829
```objective-c /* * */ #ifndef _THRIFT_TRANSPORT_TSERVERSOCKET_H_ #define _THRIFT_TRANSPORT_TSERVERSOCKET_H_ 1 #include <functional> #include <thrift/concurrency/Mutex.h> #include <thrift/transport/PlatformSocket.h> #include <thrift/transport/TServerTransport.h> #include <sys/types.h> #ifdef HAVE_SYS_SOCKET_H #in...
/content/code_sandbox/modules/thrift/src/thrift/transport/TServerSocket.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,113
```objective-c /* * */ #ifndef _THRIFT_TRANSPORT_TSSLSOCKET_H_ #define _THRIFT_TRANSPORT_TSSLSOCKET_H_ 1 // Put this first to avoid WIN32 build failure #include <thrift/transport/TSocket.h> #include <string> #include <thrift/concurrency/Mutex.h> #include <zephyr/posix/sys/socket.h> namespace apache { namespace t...
/content/code_sandbox/modules/thrift/src/thrift/transport/TSSLSocket.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,225
```objective-c /* * */ #ifndef your_sha256_hashYPE_H_ #define your_sha256_hashYPE_H_ namespace apache::thrift::transport { enum ThriftTLScertificateType { Thrift_TLS_CA_CERT_TAG, Thrift_TLS_SERVER_CERT_TAG, Thrift_TLS_PRIVATE_KEY, }; } // namespace apache::thrift::transport #endif /* your_sha256_hashYPE_H_ */...
/content/code_sandbox/modules/thrift/src/thrift/transport/ThriftTLScertificateType.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
81
```c++ /* * */ #include <cstring> #include <zephyr/net/tls_credentials.h> #include <zephyr/posix/sys/socket.h> #include <zephyr/posix/unistd.h> #include <thrift/thrift_export.h> #include <thrift/transport/TSSLServerSocket.h> #include <thrift/transport/TSSLSocket.h> #include <thrift/transport/ThriftTLScertificateTyp...
/content/code_sandbox/modules/thrift/src/thrift/transport/TSSLServerSocket.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,854
```objective-c /* * */ #if FFCONF_DEF != 80286 #error "Configuration version mismatch" #endif /* * Overrides of FF_ options from ffconf.h */ #if defined(CONFIG_FS_FATFS_READ_ONLY) #undef FF_FS_READONLY #define FF_FS_READONLY CONFIG_FS_FATFS_READ_ONLY #endif /* defined(CONFIG_FS_FATFS_READ_ONLY) */ #if defined(CON...
/content/code_sandbox/modules/fatfs/zephyr_fatfs_config.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
841
```c /* * */ /* The file is based on template file by (C)ChaN, 2019, as * available from FAT FS module source: * path_to_url * and has been previously avaialble from directory for that module * under name zfs_diskio.c. */ #include <ff.h> #include <diskio.h> /* FatFs lower layer API */ #include <zfs_diskio.h> /* ...
/content/code_sandbox/modules/fatfs/zfs_diskio.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
901
```c /* * OS Dependent Functions for FatFs * * */ /* The file is based on template file by (C)ChaN, 2022, as * available from FAT FS module source: * path_to_url */ #include <zephyr/kernel.h> #include <ff.h> #if FF_USE_LFN == 3 /* Dynamic memory allocation */ /* Allocate a memory block */ void *ff_memalloc(UI...
/content/code_sandbox/modules/fatfs/zfs_ffsystem.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
482
```unknown config ZEPHYR_FATFSFS_MODULE bool # Configuration of ELM FAT is found in subsys/fs/Kconfig.fatfs for historic # reasons. ```
/content/code_sandbox/modules/fatfs/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
38
```objective-c /* * */ #ifndef ZEPHYR_MODULES_FATFS_ZFS_DISKIO_H_ #define ZEPHYR_MODULES_FATFS_ZFS_DISKIO_H_ /* * Header file for Zephyr specific portions of the FatFS disk interface. * These APIs are internal to Zephyr's FatFS VFS implementation */ /* * Values that can be passed to buffer pointer used by disk_...
/content/code_sandbox/modules/fatfs/zfs_diskio.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
131
```unknown config ZEPHYR_HAL_GIGADEVICE_MODULE bool config GD32_HAS_AF_PINMUX bool help This option should be selected if the series use an AF pinmux model. config GD32_HAS_AFIO_PINMUX bool help This option should be selected if the series use an AFIO pinmux model. config HAS_GD32_HAL bool select HAS_C...
/content/code_sandbox/modules/hal_gigadevice/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,718
```c++ /* * */ #include <thrift/thrift-config.h> #include <cstring> #include <errno.h> #include <memory> #include <string> #ifdef HAVE_ARPA_INET_H #include <zephyr/posix/arpa/inet.h> #endif #include <sys/types.h> #ifdef HAVE_POLL_H #include <poll.h> #endif #include <zephyr/net/tls_credentials.h> #include <fcntl.h...
/content/code_sandbox/modules/thrift/src/thrift/transport/TSSLSocket.cpp
c++
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,740
```unknown # Configuration for the crypto modules in the TF-M Module if BUILD_WITH_TFM if TFM_PARTITION_CRYPTO config TFM_CRYPTO_RNG_MODULE_ENABLED bool "Random number generator crypto module" default y help Enables the random number generator module within the crypto partition. Unset this option if 'psa_...
/content/code_sandbox/modules/trusted-firmware-m/Kconfig.tfm.crypto_modules
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
528