/Zephyr-latest/scripts/west_commands/zspdx/ |
D | writer.py | 15 … r"`\{\|}~]))+(\?*|\*?))|[\*\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\*\-]))(:(((\?*" 26 # 1) f: file handle for SPDX document 28 def writeRelationshipSPDX(f, rln): argument 29 …f.write(f"Relationship: {_normalize_spdx_name(rln.refA)} {rln.rlnType} {_normalize_spdx_name(rln.r… 33 # 1) f: file handle for SPDX document 35 def writeFileSPDX(f, bf): argument 38 f.write(f"""FileName: ./{bf.relpath} 43 f.write(f"FileChecksum: SHA256: {bf.sha256}\n") 45 f.write(f"FileChecksum: MD5: {bf.md5}\n") 46 f.write(f"LicenseConcluded: {bf.concludedLicense}\n") [all …]
|
/Zephyr-latest/samples/subsys/zbus/dyn_channel/ |
D | sample.yaml | 48 - "W: 0b 0b 0b 0b 0b 0b 0b 0b |........" 49 - "W: 0b 0b 0b 0b |...." 56 - "W: 0d 0d 0d 0d 0d 0d 0d 0d |........" 57 - "W: 0d 0d 0d 0d 0d 0d |......" 64 - "W: 0f 0f 0f 0f 0f 0f 0f 0f |........" 65 - "W: 0f 0f 0f 0f 0f 0f 0f 0f |........"
|
D | README.rst | 66 W: 0b 0b 0b 0b 0b 0b 0b 0b |........ 67 W: 0b 0b 0b 0b |.... 74 W: 0d 0d 0d 0d 0d 0d 0d 0d |........ 75 W: 0d 0d 0d 0d 0d 0d |...... 82 W: 0f 0f 0f 0f 0f 0f 0f 0f |........ 83 W: 0f 0f 0f 0f 0f 0f 0f 0f |........
|
/Zephyr-latest/tests/subsys/debug/coredump_threads/ |
D | testcase.yaml | 21 - "E: #CD:5([aA])45([0-9a-fA-F]+)" 22 - "E: #CD:41([0-9a-fA-F]+)" 23 - "E: #CD:54([0-9a-fA-F]+)" 24 - "E: #CD:4([dD])([0-9a-fA-F]+)" 25 - "E: #CD:4([dD])([0-9a-fA-F]+)" 26 - "E: #CD:4([dD])([0-9a-fA-F]+)" 27 - "E: #CD:4([dD])([0-9a-fA-F]+)" 28 - "E: #CD:4([dD])([0-9a-fA-F]+)" 29 - "E: #CD:4([dD])([0-9a-fA-F]+)" 30 - "E: #CD:4([dD])([0-9a-fA-F]+)" [all …]
|
/Zephyr-latest/soc/nuvoton/npcm/common/esiost/ |
D | esiost.py | 20 ESIOST_VER = "1.0.0" 23 HDR_ANCHOR_OFFSET = 0x0 24 HDR_FW_ENTRY_POINT_OFFSET = 0x21C 25 HDR_FW_FLASH_ADDR_START_LOAD_OFFSET = 0x220 26 HDR_FW_FLASH_ADDR_END_LOAD_OFFSET = 0x224 27 HDR_FW_LOAD_START_ADDR_OFFSET = 0x228 28 HDR_FW_LENGTH_OFFSET = 0x22C 29 HDR_FW_LOAD_HASH_OFFSET = 0x480 30 HDR_FW_SEG1_START_OFFSET = 0x4C0 31 HDR_FW_SEG1_SIZE_OFFSET = 0x4C4 [all …]
|
/Zephyr-latest/tests/drivers/coredump/coredump_api/ |
D | testcase.yaml | 19 - "E: #CD:5([aA])45([0-9a-fA-F]+)" 20 - "E: #CD:4([dD])([0-9a-fA-F]+)" 21 - "E: #CD:4([dD])([0-9a-fA-F]+)" 22 - "E: #CD:4([dD])([0-9a-fA-F]+)" 24 - "E: #CD:4([dD])([0-9a-fA-F]+)" 26 - "E: #CD:4([dD])([0-9a-fA-F]+)" 28 - "E: #CD:4([dD])([0-9a-fA-F]+)" 30 - "E: #CD:4([dD])([0-9a-fA-F]+)" 46 - "E: #CD:5([aA])45([0-9a-fA-F]+)" 47 - "E: #CD:4([dD])([0-9a-fA-F]+)" [all …]
|
/Zephyr-latest/arch/x86/zefi/ |
D | printf.h | 14 * the regex: [0-9]*\.?[0-9]* 40 if (v < 0) { in prdec() 48 digs[i] = 0; in prdec() 51 digs[i] = '0' + (v % 10); in prdec() 57 while (digs[i] != '\0') { in prdec() 66 r->buf[r->idx] = 0; in endrec() 70 static int vpf(struct _pfr *r, const char *f, va_list ap) in vpf() argument 72 for (/**/; *f != '\0'; f++) { in vpf() 75 if (*f != '%') { in vpf() 76 pc(r, *f); in vpf() [all …]
|
/Zephyr-latest/tests/drivers/sensor/adltc2990/src/ |
D | main.c | 21 (pin_voltage - 0.01f) * ((r1 + r2) / (float)r2), \ 22 (pin_voltage + 0.01f) * ((r1 + r2) / (float)r2), \ 23 "%f Out of Range [%f,%f] input %f, [%dmΩ, %dmΩ] " \ 26 (double)((pin_voltage - 0.01f) * ((r1 + r2) / (float)r2)), \ 27 (double)((pin_voltage + 0.01f) * ((r1 + r2) / (float)r2)), (double)pin_voltage, \ 35 (pin_voltage - 0.01f) * ADLTC2990_MICROOHM_CONVERSION_FACTOR / r_microohms, \ 36 (pin_voltage + 0.01f) * ADLTC2990_MICROOHM_CONVERSION_FACTOR / r_microohms, \ 37 "%f Out of Range [%f,%f] input %f, current-resistor: %dµΩ\nCheck if the sensor " \ 40 (double)((pin_voltage - 0.001f) * ADLTC2990_MICROOHM_CONVERSION_FACTOR / \ 42 (double)((pin_voltage + 0.001f) * ADLTC2990_MICROOHM_CONVERSION_FACTOR / \ [all …]
|
/Zephyr-latest/tests/subsys/dsp/utils/src/ |
D | f32.c | 23 #define TEST_CASES_SHIFT_F32_TO_Q7 (-1.0F, 0, -128), (1.0F, 0, 127), (1.0F, 7, 1), (-1.0F, 7, -1) 26 (-1.0F, 0, -32768), (1.0F, 0, 32767), (1.0F, 15, 1), (-1.0F, 15, -1) 29 (-1.0F, 0, -2147483648), (1.0F, 0, 2147483647), (1.0F, 31, 1), (-1.0F, 31, -1) 37 "Conversion failed: %f shifted by %d = %d (expected %d)", (double)data, shift, in test_shift_f32_to_q7() 47 "Conversion failed: %f shifted by %d = %d (expected %d)", (double)data, shift, in test_shift_f32_to_q15() 57 "Conversion failed: %f shifted by %d = %d (expected %d)", (double)data, shift, in test_shift_f32_to_q31()
|
D | q15.c | 24 (-32768, 0, -1.0F), (32767, 0, 0.999969482421875F), (32767, 15, 32767.0F), \ 25 (-32768, 15, -32768.0F) 28 (-32768, 0, -1), (32767, 0, 0.999969482421875), (32767, 15, 32767.0), (-32768, 15, -32768.0) 35 "Conversion failed: 0x%08x shifted by %d = %f (expected %f)", data, shift, in test_shift_q15_to_f32() 44 "Conversion failed: 0x%08x shifted by %d = %f (expected %f)", data, shift, in test_shift_q15_to_f64()
|
D | q31.c | 24 (2147483647, 0, 1.0F), (-2147483648, 0, -1.0F), (-2147483648, 31, -2147483648.0F), \ 25 (2147483647, 31, 2147483647.0F) 28 (2147483647, 0, 0.9999999995343387), (-2147483648, 0, -1.0), \ 36 "Conversion failed: 0x%08x shifted by %d = %f (expected %f)", data, shift, in test_shift_q31_to_f32() 45 "Conversion failed: 0x%08x shifted by %d = %f (expected %f)", data, shift, in test_shift_q31_to_f64()
|
D | q7.c | 24 (-128, 0, -1.0F), (127, 0, 0.9921875F), (127, 7, 127.0F), (-128, 7, -128.0F) 27 (-128, 0, -1.0), (127, 0, 0.9921875), (127, 7, 127.0), (-128, 7, -128.0) 34 "Conversion failed: 0x%08x shifted by %d = %f (expected %f)", data, shift, in test_shift_q7_to_f32() 43 "Conversion failed: 0x%08x shifted by %d = %f (expected %f)", data, shift, in test_shift_q7_to_f64()
|
/Zephyr-latest/soc/nuvoton/npcx/common/ecst/ |
D | ecst.py | 26 HDR_ANCHOR_OFFSET = 0 45 SIGNATURE_OFFSET = 0 50 FW_HDR_ANCHOR = 0x2A3B4D5E 51 FW_HDR_EXT_ANCHOR_ENABLE = 0xAB1E 52 FW_HDR_EXT_ANCHOR_DISABLE = 0x54E1 53 FW_HDR_CRC_DISABLE = 0x00 54 FW_HDR_CRC_ENABLE = 0x02 55 FW_CRC_DISABLE = 0x00 56 FW_CRC_ENABLE = 0x02 57 HDR_PTR_SIGNATURE = 0x55AA650E [all …]
|
/Zephyr-latest/tests/lib/c_lib/common/src/ |
D | test_sqrt.c | 13 #define local_abs(x) (((x) < 0) ? -(x) : (x)) 24 1.0f, 2.0f, 3.0f, 4.0f, 25 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, /* numbers across the decade */ 26 3.14159265359f, 2.718281828f, /* irrational numbers pi and e */ 27 123.4f, 0.025f, 0.10f, 1.875f /* numbers with infinite */ 46 ieee754.u &= ~0x8000000000000000; /* ignore the sign */ in isinf() 47 return ((ieee754.u >> 52) == 0x7FF) && in isinf() 48 ((ieee754.u & 0x000fffffffffffff) == 0); in isinf() 57 ieee754.u &= ~0x8000000000000000; /* ignore the sign */ in isnan() 58 return ((ieee754.u >> 52) == 0x7FF) && in isnan() [all …]
|
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/creds/ |
D | convert_keys.py | 9 with open(fin, 'rb') as f: 10 data = f.read() 12 data += b'\0' # add null terminator 14 with open(fout, 'w') as f: 15 f.write("#include <stdint.h>\n") 16 f.write(f"const uint8_t {name}[] = {{") 17 for i in range(0, len(data), 16): 18 f.write("\n\t") 19 f.write(", ".join(f"0x{b:02x}" for b in data[i:i+16])) 20 f.write(",") [all …]
|
/Zephyr-latest/tests/subsys/debug/coredump/ |
D | testcase.yaml | 19 - "E: #CD:5([aA])45([0-9a-fA-F]+)" 20 - "E: #CD:41([0-9a-fA-F]+)" 21 - "E: #CD:4([dD])([0-9a-fA-F]+)" 22 - "E: #CD:4([dD])([0-9a-fA-F]+)" 47 - "E: #CD:5([aA])45([0-9a-fA-F]+)" 48 - "E: #CD:41([0-9a-fA-F]+)" 49 - "E: #CD:4([dD])([0-9a-fA-F]+)" 50 - "E: #CD:4([dD])([0-9a-fA-F]+)" 51 - "E: #CD:4([dD])([0-9a-fA-F]+)"
|
/Zephyr-latest/scripts/coccinelle/ |
D | find_dev_usage.cocci | 23 def check_and_report(F, f, D, nb_args, p): 24 if f in f_void and int(nb_args) in f_void[f]: 26 loosing const qualifier, please wrap".format(F, f, D) 27 coccilib.report.print_report(p[0], msg) 28 elif f not in f_void and f not in f_other and not f.isupper(): 30 check if const qualifier is not lost".format(F, f, D) 31 coccilib.report.print_report(p[0], msg) 34 with open("function_names.pickle", "rb") as f: 35 data = pickle.load(f) 50 identifier f; [all …]
|
/Zephyr-latest/arch/xtensa/core/ |
D | gen_zsr.py | 44 return syms[s] if s in syms else 0 53 regs = [ f"MISC{n}" for n in range(0, int(get("XCHAL_NUM_MISC_REGS"))) ] 60 if have_threadptr == 0: 64 maxint = 0 66 regs.append(f"EXCSAVE{il}") 79 levelsym = f"XCHAL_INT{intnum}_LEVEL" 87 with open(outfile, "w") as f: 88 f.write("/* Generated File, see gen_zsr.py */\n") 89 f.write("#ifndef ZEPHYR_ZSR_H\n") 90 f.write("#define ZEPHYR_ZSR_H\n") [all …]
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | reports.py | 60 with open(log_file, "rb") as f: 61 log = f.read().decode("utf-8") 84 duration = 0 89 name=f"{name}", 90 time=f"{duration}") 99 ET.SubElement(eleTestcase, ReportStatus.SKIP, type=f"{tc_type}", message=f"{reason}") 102 el = ET.SubElement(eleTestcase, ReportStatus.FAIL, type="failure", message=f"{reason}") 107 el = ET.SubElement(eleTestcase, ReportStatus.ERROR, type="failure", message=f"{reason}") 120 logger.debug(f"{name}: No status") 128 logger.error(f"{name}: Unknown status '{status}'") [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/src/ |
D | main.c | 41 return 0; in main() 45 return 0; in main() 49 return 0; in main() 53 return 0; in main() 57 return 0; in main() 64 odr_attr.val2 = 0; in main() 67 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in main() 69 return 0; in main() 73 SENSOR_ATTR_SAMPLING_FREQUENCY, &odr_attr) < 0) { in main() 75 return 0; in main() [all …]
|
/Zephyr-latest/samples/subsys/fs/zms/ |
D | README.rst | 15 #. A binary blob representing a key/value pair: stored at id=0xbeefdead, 16 data={0xDE, 0xAD, 0xBE, 0xEF, 0xDE, 0xAD, 0xBE, 0xEF} 55 [00:00:00.000,000] <inf> fs_zms: alloc wra: 0, fc0 56 [00:00:00.000,000] <inf> fs_zms: data wra: 0, 0 57 ITERATION: 0 63 [00:00:00.000,000] <inf> fs_zms: alloc wra: 0, f80 64 [00:00:00.000,000] <inf> fs_zms: data wra: 0, 8c 70 Id: 2, loop_cnt: 0 72 …0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 … 73 …56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 73 74 75 76… [all …]
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_util.c | 26 int32_t e = -1, v, f = 0; in lwm2m_float_to_b32() local 36 if (val1 == 0 && val2 == 0) { in lwm2m_float_to_b32() 37 memset(b32, 0, len); in lwm2m_float_to_b32() 38 return 0; in lwm2m_float_to_b32() 45 while (v > 0) { in lwm2m_float_to_b32() 46 f >>= 1; in lwm2m_float_to_b32() 49 f |= (1 << 23); in lwm2m_float_to_b32() 61 while (v > 0 && i < 23) { in lwm2m_float_to_b32() 63 if (!f && e < 0 && v < PRECISION32) { in lwm2m_float_to_b32() 69 f |= 1 << (22 - i); in lwm2m_float_to_b32() [all …]
|
/Zephyr-latest/subsys/tracing/ctf/ |
D | ctf_map.h | 54 #define MAP_GET_END2() 0, MAP_END 58 #define MAP_NEXT1(test, next) MAP_NEXT0(test, next, 0) 61 #define MAP0(f, x, peek, ...) f(x) MAP_NEXT(peek, MAP1)(f, peek, __VA_ARGS__) argument 62 #define MAP1(f, x, peek, ...) f(x) MAP_NEXT(peek, MAP0)(f, peek, __VA_ARGS__) argument 64 #define MAP_LIST_NEXT1(test, next) MAP_NEXT0(test, MAP_COMMA next, 0) 67 #define MAP_LIST0(f, x, peek, ...) f(x) MAP_LIST_NEXT(peek, MAP_LIST1)(f, peek, __VA_ARGS__) argument 68 #define MAP_LIST1(f, x, peek, ...) f(x) MAP_LIST_NEXT(peek, MAP_LIST0)(f, peek, __VA_ARGS__) argument 71 * Applies the function macro `f` to each of the remaining parameters. 73 #define MAP(f, ...) EVAL(MAP1(f, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) argument 76 * Applies the function macro `f` to each of the remaining parameters and [all …]
|
/Zephyr-latest/tests/kernel/timer/timer_behavior/src/ |
D | jitter_drift.c | 18 #define TIMER_OUT_NODE DT_INST(0, test_kernel_timer_behavior_external) 49 if (periodic_idx == 0) { in timer_period_fn() 87 if (periodic_idx == 0) { in timer_startdelay_fn() 108 * @retval 0 an unhandled wrap of the timer occurred and the value should be ignored 115 return 0; in periodic_diff() 137 periodic_idx = 0; in do_test_using() 138 k_sem_init(&periodic_sem, 0, 1); in do_test_using() 156 uint64_t total_cycles = 0; in do_test_using() 157 uint32_t periodic_rollovers = 0; in do_test_using() 159 uint64_t max_cyc = 0; in do_test_using() [all …]
|
/Zephyr-latest/doc/_extensions/zephyr/doxytooltip/static/tippy/ |
D | popper.min.js | 7 …f(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((… function
|