Searched refs:numchars (Results 1 - 9 of 9) sorted by relevance
/third_party/python/Lib/idlelib/ |
H A D | squeezer.py | 43 numchars = m.start() - pos 44 pos += numchars 45 current_column += numchars
|
/third_party/qrcodegen/rust/src/ |
H A D | lib.rs | 245 bb.append_bits(u32::try_from(seg.numchars).unwrap(), seg.mode.num_char_count_bits(version)); in encode_segments_advanced() 958 numchars: usize, 1080 /// The character count (numchars) must agree with the mode and 1082 pub fn new(mode: QrSegmentMode, numchars: usize, data: Vec<bool>) -> Self { in new() 1083 Self { mode, numchars, data } in new() 1097 self.numchars in num_chars() 1118 if seg.numchars >= limit { in get_total_bits()
|
/third_party/python/Lib/encodings/ |
H A D | punycode.py | 91 def adapt(delta, first, numchars): 96 delta += delta // numchars
|
/third_party/qrcodegen/rust-no-heap/src/ |
H A D | lib.rs | 286 bb.append_bits(u32::try_from(seg.numchars).unwrap(), seg.mode.num_char_count_bits(version)); in encode_segments_to_codewords() 1083 numchars: usize, 1089 // The character count (numchars) must agree with the mode and the bit buffer length. 1184 /// The character count (numchars) must agree with the mode and 1186 pub fn new(mode: QrSegmentMode, numchars: usize, data: &'a [u8], bitlength: usize) -> Self { in new() 1188 Self { mode, numchars, data, bitlength } 1202 self.numchars in num_chars() 1213 /// - For byte mode, numchars measures the number of bytes, not Unicode code points. 1214 /// - For ECI mode, numchars must be 0, and the worst-case number of bytes is returned. 1216 pub fn calc_buffer_size(mode: QrSegmentMode, numchars [all...] |
/third_party/python/Lib/ |
H A D | tokenize.py | 435 numchars = '0123456789' 537 if (initial in numchars or # ordinary number
|
/third_party/mesa3d/src/imgui/ |
H A D | imstb_textedit.h | 1150 static StbUndoRecord *stb_text_create_undo_record(StbUndoState *state, int numchars) in stb_text_create_undo_record() argument 1161 if (numchars > STB_TEXTEDIT_UNDOCHARCOUNT) { in stb_text_create_undo_record() 1168 while (state->undo_char_point + numchars > STB_TEXTEDIT_UNDOCHARCOUNT) in stb_text_create_undo_record()
|
/third_party/skia/third_party/externals/imgui/ |
H A D | imstb_textedit.h | 1181 static StbUndoRecord *stb_text_create_undo_record(StbUndoState *state, int numchars) in stb_text_create_undo_record() argument 1192 if (numchars > STB_TEXTEDIT_UNDOCHARCOUNT) { in stb_text_create_undo_record() 1199 while (state->undo_char_point + numchars > STB_TEXTEDIT_UNDOCHARCOUNT) in stb_text_create_undo_record()
|
/third_party/node/src/ |
H A D | node_file.cc | 1031 ssize_t numchars; in InternalModuleReadJSON() local 1041 numchars = uv_fs_read(loop, &read_req, fd, &buf, 1, offset, nullptr); in InternalModuleReadJSON() 1044 if (numchars < 0) { in InternalModuleReadJSON() 1048 offset += numchars; in InternalModuleReadJSON() 1049 } while (static_cast<size_t>(numchars) == kBlockSize); in InternalModuleReadJSON()
|
/third_party/glfw/deps/ |
H A D | nuklear.h | 22466 nk_textedit_create_undo_record(struct nk_text_undo_state *state, int numchars) in nk_textedit_create_undo_record() argument 22478 if (numchars > NK_TEXTEDIT_UNDOCHARCOUNT) { in nk_textedit_create_undo_record() 22486 while (state->undo_char_point + numchars > NK_TEXTEDIT_UNDOCHARCOUNT) in nk_textedit_create_undo_record()
|
Completed in 62 milliseconds