Home
last modified time | relevance | path

Searched refs:NUL (Results 1 – 25 of 162) sorted by relevance

1234567

/freebsd/contrib/ntp/sntp/libopts/
H A Dstreqvcmp.c41 NUL, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, '\a',
110 if (u1 == NUL) in strneqvcmp()
120 if (u1 == NUL) in strneqvcmp()
156 if (u1 == NUL) in streqvcmp()
166 if (u1 == NUL) in streqvcmp()
243 if ((s != NULL) && (*s != NUL)) { in strequate()
245 while (*s != NUL) in strequate()
274 } while (*(s++) != NUL); in strtransform()
H A Dtokenize.c40 case NUL: *ppSrc = NULL; return; in copy_cooked()
68 case NUL: *ppSrc = NULL; return; in copy_raw()
76 case NUL: *ppSrc = NULL; return; in copy_raw()
120 if (*str == NUL) goto enoent_res; in alloc_token_list()
134 } while (*pz != NUL); in alloc_token_list()
265 case NUL: in ao_string_tokenize()
277 *(pzDest++) = NUL; in ao_string_tokenize()
278 } while (*str != NUL); in ao_string_tokenize()
H A Dload.c143 if ( (*(dst++) = *(src++)) == NUL) in optionMakePath()
156 case NUL: in optionMakePath()
165 if (program_pkgdatadir[0] == NUL) in optionMakePath()
196 case NUL: in add_prog_path()
266 *dir_part = NUL; in add_env_val()
315 *end = NUL; in munge_str()
353 *(end++) = NUL; in assemble_arg_val()
363 *(end++) = NUL; in assemble_arg_val()
504 if (*opt_state->pzOptArg != NUL) in load_opt_line()
509 if (*opt_state->pzOptArg == NUL) in load_opt_line()
[all …]
H A Dparse-duration.c32 #ifndef NUL
33 #define NUL '\0' macro
128 if (*pz != NUL) in parse_hr_min_sec()
203 buf[4] = NUL; in parse_yearmonthday()
208 buf[2] = NUL; in parse_yearmonthday()
213 buf[2] = NUL; in parse_yearmonthday()
253 if (*pz != NUL) in parse_YMWD()
301 buf[2] = NUL; in parse_hourminutesecond()
306 buf[2] = NUL; in parse_hourminutesecond()
311 buf[2] = NUL; in parse_hourminutesecond()
[all …]
H A Dnested.c83 case NUL: return; in remove_continuation()
101 if (ch == NUL) in scan_q_str()
112 if (ch == NUL) in scan_q_str()
120 if (*(pzTxt++) == NUL) in scan_q_str()
160 if (ch == NUL) goto data_copy_done; in add_string()
166 *pzDst = NUL; in add_string()
169 pNV->v.strVal[0] = NUL; in add_string()
176 pNV->pzName[ nm_len ] = NUL; in add_string()
217 new_val->pzName[ nm_len ] = NUL; in add_bool()
254 new_val->pzName[ nm_len ] = NUL; in add_number()
[all …]
H A Dconfigfile.c40 return (*txt == NUL) ? NULL : txt; in skip_unkn()
485 *pzEnd++ = NUL; in handle_cfg()
513 case NUL: in handle_cfg()
518 *pcD = NUL; in handle_cfg()
535 *(pzEnd++) = NUL; in handle_cfg()
621 ftxt[len] = NUL; in aoflags_directive()
657 if (*txt == NUL) in program_directive()
690 z[++len] = NUL; in handle_section()
765 return NUL; in parse_xml_encoding()
781 return NUL; in parse_xml_encoding()
[all …]
H A Dputshell.c66 case NUL: in string_size()
145 if (*text != NUL) { in optionQuoteString()
155 case NUL: in optionQuoteString()
161 *(out++) = NUL; in optionQuoteString()
210 if ((str == NULL) || (*str == NUL)) { in print_quot_str()
220 if (*str == NUL) in print_quot_str()
243 if (*str == NUL) in print_quot_str()
287 while (*pz != NUL) { in print_membership()
296 else if (ch == NUL) { pz--; goto name_done; } in print_membership()
465 || (pOD->optArg.argString[0] == NUL) ) { in optionPutShell()
H A Dsort.c52 if (*arg_txt != NUL) in must_arg()
89 if (*arg_txt != NUL) in maybe_arg()
122 while (*arg_txt != NUL) { in short_opt_ck()
137 if (arg_txt[1] != NUL) in short_opt_ck()
151 if (arg_txt[1] == NUL) { in short_opt_ck()
225 case NUL: in optionSort()
237 if (arg_txt[2] == NUL) { in optionSort()
H A Dcook.c64 case NUL: /* NUL - end of input string */ in ao_string_cook_escape_char()
94 z[ct] = NUL; in ao_string_cook_escape_char()
119 z[ct] = NUL; in ao_string_cook_escape_char()
258 *pzD = NUL; /* This is probably the end of the line */ in ao_string_cook()
267 case NUL: in ao_string_cook()
H A Dsave-flags.c52 #ifndef NUL
53 #define NUL '\0' macro
168 if (map->svfl_name[len] == NUL) in find_save_flags_bnm()
220 case NUL: return res; in save_flags_str2mask()
230 if (*str == NUL) in save_flags_str2mask()
H A Denum.c174 if ((*pz == NUL) && (val < name_ct)) in find_name()
182 if (IS_INVERSION_CHAR(*name) && (name[2] == NUL)) { in find_name()
195 if (paz_names[idx][len] == NUL) in find_name()
367 *pz = NUL; in set_memb_names()
387 *pz = NUL; in set_memb_names()
410 if ((arg == NULL) || (*arg == NUL)) in check_membership_start()
471 nm_buf[len] = NUL; in find_member_bit()
556 while (*arg != NUL) { in optionSetMembers()
H A Dfind.c46 case NUL: return res; in parse_opt()
51 buf[res] = NUL; in parse_opt()
128 if (pOD->pz_Name[ nm_len ] == NUL) { in opt_match_ct()
148 if (pOD->pz_DisableName[ nm_len ] == NUL) { in opt_match_ct()
465 if (*++(opts->pzCurOpt) == NUL) in get_opt_arg_must()
524 if (*++pOpts->pzCurOpt != NUL) in get_opt_arg_may()
671 if ((opts->pzCurOpt != NULL) && (*opts->pzCurOpt != NUL)) in find_opt()
716 if (*(opts->pzCurOpt) == NUL) in find_opt()
729 if (*++(opts->pzCurOpt) == NUL) in find_opt()
H A Dboolean.c65 if ((val != 0) || (*pz != NUL)) in optionBooleanVal()
73 case NUL: in optionBooleanVal()
H A Dmakeshell.c159 if ((script_trailer != NULL) && (*script_trailer != NUL)) in optionParseShell()
366 if ((*pzPN++ = (char)tolower(*pz++)) == NUL) in emit_usage()
655 *pz = NUL; in emit_match_expr()
658 if (name[nm_ix] == NUL) { in emit_match_expr()
659 *pz = NUL; in emit_match_expr()
754 *scan = NUL; in load_old_output()
788 *(scn++) = NUL; in open_out()
873 while (*pz != NUL) { in genshelloptUsage()
/freebsd/lib/libc/amd64/string/
H A Dstrlcpy.S59 movb $0, (%rdi, %rdx, 1) # NUL-terminate output buffer
68 sub $1, %rdx # do not count NUL byte in buffer length
75 pcmpeqb (%rsi), %xmm1 # NUL found in head?
88 pcmpeqb %xmm3, %xmm1 # NUL found in second chunk?
111 0: pcmpeqb %xmm0, %xmm1 # NUL byte encountered?
123 pcmpeqb %xmm0, %xmm1 # NUL byte encountered?
138 2: pcmpeqb %xmm1, %xmm0 # NUL byte encountered?
146 movb $0, 16(%rdi, %r8, 1) # NUL terminate
167 2: tzcnt %eax, %eax # where is the NUL byte?
177 movdqu -15(%rsi, %rax, 1), %xmm0 # load string tail (incl. NUL)
[all …]
H A Dstrncmp.S51 test %ecx, %ecx # NUL char in first string?
155 test %r8d, %r10d # NUL byte present in first string?
158 test %r9d, %r11d # NUL byte present in second string?
174 pcmpeqb %xmm0, %xmm2 # NUL byte present?
176 pandn %xmm4, %xmm2 # match and not NUL byte?
178 xor $0xffff, %r9d # mismatch or NUL byte?
207 bts %ecx, %r10d # treat as if NUL byte present
210 test %r8w, %r10w # NUL byte present in first string head?
213 test %r9w, %r11w # NUL byte present in second string head?
223 pcmpeqb %xmm0, %xmm2 # NUL byte present?
[all …]
H A Dstpncpy.S58 test %rax, %rax # NUL found?
62 sub %rsi, %rdx # copy until the NUL byte
129 pcmpeqb %xmm0, %xmm1 # NUL byte encountered?
142 pcmpeqb %xmm0, %xmm1 # NUL byte encountered?
157 pcmpeqb 16(%rsi), %xmm1 # NUL byte in source tail?
159 bts %r10d, %r8d # treat end of buffer as NUL
160 tzcnt %r8d, %r8d # where is the NUL byte?
161 movdqu (%rsi, %r8, 1), %xmm0 # load source tail before NUL
162 lea 16(%rdi, %r8, 1), %rax # point return value to NUL byte
174 lea (%rdi, %r8, 1), %rax # where the NUL byte will be
[all …]
H A Dstrchrnul.S72 or %r10, %rax # str without NUL bytes before it
115 2: tzcnt %rax, %rax # first NUL or c byte match
117 add %rdi, %rax # pointer to found c or NUL
135 pcmpeqb %xmm1, %xmm2 # NUL bytes present?
147 pcmpeqb %xmm1, %xmm2 # NUL bytes present?
157 pcmpeqb %xmm1, %xmm2 # NUL bytes present?
166 add %rdi, %rax # pointer to found c or NUL
H A Dstrrchr.S74 and %r9, %rax # NUL bytes in str, not including junk bits
94 and %r9, %rax # NUL bytes in str, not including junk bits
100 xor %rdx, %rax # all bytes behind the NUL byte
101 or %rax, %rcx # (str ^ c) without matches behind NUL byte
135 pcmpeqb %xmm1, %xmm2 # NUL byte present?
141 and %edx, %eax # NUL present in the string?
151 pcmpeqb %xmm1, %xmm2 # NUL byte present?
163 pcmpeqb %xmm1, %xmm2 # NUL byte present?
H A Dstrcmp.S125 test %r8d, %r10d # NUL byte present in first string?
128 test %r9d, %r11d # NUL byte present in second string?
138 pcmpeqb %xmm0, %xmm2 # NUL byte present?
140 pandn %xmm4, %xmm2 # match and not NUL byte?
142 xor $0xffff, %r9d # mismatch or NUL byte?
234 shl %cl, %r8w # adjust NUL mask to positions in RDI/RDX
236 or %r8d, %r9d # NUL bytes also count as mismatches
250 or %r10d, %ecx # mask of mismatches or NUL bytes
335 shl %cl, %r8w # adjust NUL mask to positions in RDI/RDX
337 or %r8d, %r9d # NUL bytes also count as mismatches
[all …]
H A Dstpcpy.S140 pcmpeqb %xmm1, %xmm0 # NUL byte present?
149 pcmpeqb %xmm0, %xmm1 # NUL byte present?
162 pcmpeqb %xmm2, %xmm1 # NUL byte present?
170 pcmpeqb %xmm0, %xmm1 # NUL byte present?
179 add %rsi, %rax # point to NUL byte
H A Dstrcspn.S188 add %eax, %edx # length of set (excluding NUL byte)
242 pcmpeqb %xmm1, %xmm0 # where is the NUL byte?
244 tzcnt %ecx, %ecx # location of NUL byte in (%rax)
246 add %rcx, %rax # prefix length before match/NUL
255 tzcnt %ecx, %ecx # location of NUL byte
256 2: mov %ecx, %eax # prefix length before match/NUL
295 pcmpeqb %xmm1, %xmm0 # where is the NUL byte?
297 tzcnt %ecx, %ecx # location of NUL byte in (%rax)
299 add %rcx, %rax # prefix length before match/NUL
/freebsd/crypto/openssl/doc/man3/
H A DBIO_read.pod40 The returned string is always NUL-terminated and the '\n' is preserved
42 On binary input there may be NUL characters within the string;
47 The returned string is always NUL-terminated and the '\n' is preserved
49 On binary input there may be NUL characters within the string;
55 BIO_puts() attempts to write a NUL-terminated string I<buf> to BIO I<b>,
56 without the terminating NUL byte and without appending '\n'
75 the first NUL character contained in the data read.
76 In any case the trailing NUL that is added after the data read
/freebsd/contrib/bc/vs/tests/
H A Dtests_bc.bat7 del /f /q *.txt > NUL
71 fc.exe "%scripts%\%%i_results.txt" "%%i_results.txt" > NUL
93 fc.exe "%scripts%\leadingzero_results.txt" "leadingzero_z_results.txt" > NUL
/freebsd/contrib/ntp/sntp/libopts/autoopts/
H A Dproject.h74 #undef NUL
75 #define NUL '\0' macro

1234567