| /freebsd-13.1/contrib/googletest/googlemock/scripts/generator/cpp/ |
| H A D | gmock_class_test.py | 58 source = """ 69 source = """ 86 source = """ 99 source = """ 115 source = """ 131 source = """ 142 source = """ 153 source = """ 164 source = """ 176 source = """ [all …]
|
| H A D | tokenize.py | 90 i = source.find('"', i+1) 91 while source[i-1] == '\\': 105 def _GetChar(source, start, i): argument 107 i = source.find("'", i+1) 108 while source[i-1] == '\\': 119 def GetTokens(source): argument 139 end = len(source) 149 c = source[i] 161 elif source[i] == "'" and source[start:i] in _STR_PREFIXES: 175 new_ch = source[i] [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | ConvertUTF.cpp | 155 ch = *source++; in ConvertUTF32toUTF16() 202 ch = *source++; in ConvertUTF16toUTF32() 400 case 1: if (*source >= 0x80 && *source < 0xC2) return false; in isLegalUTF8() 446 b1 = *source; in findMaximalSubpartOfIllFormedUTF8Sequence() 447 ++source; in findMaximalSubpartOfIllFormedUTF8Sequence() 459 b2 = *source; in findMaximalSubpartOfIllFormedUTF8Sequence() 460 ++source; in findMaximalSubpartOfIllFormedUTF8Sequence() 479 b3 = *source; in findMaximalSubpartOfIllFormedUTF8Sequence() 489 b3 = *source; in findMaximalSubpartOfIllFormedUTF8Sequence() 499 b3 = *source; in findMaximalSubpartOfIllFormedUTF8Sequence() [all …]
|
| /freebsd-13.1/contrib/libcbor/src/cbor/internal/ |
| H A D | loaders.c | 12 uint8_t _cbor_load_uint8(cbor_data source) { return (uint8_t)*source; } in _cbor_load_uint8() argument 17 memcpy(&result, source, 2); in _cbor_load_uint16() 20 return ((uint16_t) * (source + 0) << 8) + (uint8_t) * (source + 1); in _cbor_load_uint16() 27 memcpy(&result, source, 4); in _cbor_load_uint32() 30 return ((uint32_t) * (source + 0) << 0x18) + in _cbor_load_uint32() 31 ((uint32_t) * (source + 1) << 0x10) + in _cbor_load_uint32() 32 ((uint16_t) * (source + 2) << 0x08) + (uint8_t) * (source + 3); in _cbor_load_uint32() 39 memcpy(&result, source, 8); in _cbor_load_uint64() 48 ((uint16_t) * (source + 6) << 0x08) + (uint8_t) * (source + 7); in _cbor_load_uint64() 67 double _cbor_load_half(cbor_data source) { in _cbor_load_half() argument [all …]
|
| H A D | loaders.h | 18 uint8_t _cbor_load_uint8(const unsigned char *source); 20 uint16_t _cbor_load_uint16(const unsigned char *source); 22 uint32_t _cbor_load_uint32(const unsigned char *source); 24 uint64_t _cbor_load_uint64(const unsigned char *source); 26 double _cbor_load_half(cbor_data source); 28 float _cbor_load_float(cbor_data source); 30 double _cbor_load_double(cbor_data source);
|
| /freebsd-13.1/contrib/ntp/lib/isc/win32/ |
| H A D | entropy.c | 56 if (source->bad) in get_from_filesource() 162 firstsource = source; in fillpool() 179 source = ISC_LIST_NEXT(source, link); in fillpool() 180 if (source == NULL) in fillpool() 214 source = ISC_LIST_NEXT(source, link); in fillpool() 236 UNUSED(source); in destroyusocketsource() 253 source = NULL; in isc_entropy_createfilesource() 277 source->ent = ent; in isc_entropy_createfilesource() 278 source->total = 0; in isc_entropy_createfilesource() 280 memset(source->name, 0, sizeof(source->name)); in isc_entropy_createfilesource() [all …]
|
| /freebsd-13.1/contrib/ntp/lib/isc/unix/ |
| H A D | entropy.c | 80 if (source->bad) in get_from_filesource() 106 source->bad = ISC_TRUE; in get_from_filesource() 121 if (source->bad) in get_from_usocketsource() 346 source = ISC_LIST_NEXT(source, link); in fillpool() 347 if (source == NULL) in fillpool() 379 source = ISC_LIST_NEXT(source, link); in fillpool() 430 source = ISC_LIST_NEXT(source, link); in wait_for_sources() 560 if (source == NULL) { in isc_entropy_createfilesource() 569 source->ent = ent; in isc_entropy_createfilesource() 570 source->total = 0; in isc_entropy_createfilesource() [all …]
|
| /freebsd-13.1/contrib/ntp/lib/isc/ |
| H A D | lex.c | 198 source = isc_mem_get(lex->mctx, sizeof(*source)); in new_source() 199 if (source == NULL) in new_source() 208 isc_mem_put(lex->mctx, source, sizeof(*source)); in new_source() 216 isc_mem_put(lex->mctx, source, sizeof(*source)); in new_source() 220 source->line = 1; in new_source() 298 isc_mem_put(lex->mctx, source, sizeof(*source)); in isc_lex_close() 326 source->line--; in pushback() 389 source->saved_line = source->line; in isc_lex_gettoken() 454 source->result = pushandgrow(lex, source, c); in isc_lex_gettoken() 473 source->line++; in isc_lex_gettoken() [all …]
|
| H A D | base32.c | 66 while (source->length > 0) { in base32_totext() 68 if (source->length == 1) { in base32_totext() 78 if (source->length == 2) { in base32_totext() 86 if (source->length == 3) { in base32_totext() 95 if (source->length == 4) { in base32_totext() 105 isc_region_consume(source, 5); in base32_totext() 115 if (source->length > 0) in base32_totext() 116 isc_region_consume(source, source->length); in base32_totext() 328 while (source->length != 0) { in base32_decoderegion() 329 int c = *source->base; in base32_decoderegion() [all …]
|
| H A D | entropy.c | 490 if (source->bad) in get_from_callback() 725 source = *sourcep; in destroysource() 727 ent = source->ent; in destroysource() 777 source = ISC_LIST_NEXT(source, link); in destroy_check() 838 source = *sourcep; in isc_entropy_destroysource() 841 ent = source->ent; in isc_entropy_destroysource() 898 source->ent = ent; in isc_entropy_createcallbacksource() 900 memset(source->name, 0, sizeof(source->name)); in isc_entropy_createcallbacksource() 942 source = ISC_LIST_NEXT(source, link); in isc_entropy_stopcallbacksources() 979 memset(source->name, 0, sizeof(source->name)); in isc_entropy_createsamplesource() [all …]
|
| H A D | base64.c | 63 while (source->length > 2) { in isc_base64_totext() 66 ((source->base[1]>>4)&0x0f)]; in isc_base64_totext() 68 ((source->base[2]>>6)&0x03)]; in isc_base64_totext() 71 isc_region_consume(source, 3); in isc_base64_totext() 74 if (source->length != 0 && in isc_base64_totext() 81 if (source->length == 2) { in isc_base64_totext() 84 ((source->base[1]>>4)&0x0f)]; in isc_base64_totext() 88 isc_region_consume(source, 2); in isc_base64_totext() 94 isc_region_consume(source, 1); in isc_base64_totext() 232 l = strlen(source); in str_totext() [all …]
|
| H A D | string.c | 38 char *s = source; in isc_string_touint64() 43 *end = source; in isc_string_touint64() 61 *end = source; in isc_string_touint64() 82 *end = source; in isc_string_touint64() 88 *end = source; in isc_string_touint64() 102 if (strlcpy(target, source, size) >= size) { in isc_string_copy() 116 strlcpy(target, source, size); in isc_string_copy_truncate() 141 strlcat(target, source, size); in isc_string_append_truncate() 187 REQUIRE(source != NULL); in isc_string_regiondup() 191 memcpy(source->base, target, source->length); in isc_string_regiondup() [all …]
|
| /freebsd-13.1/contrib/libcbor/src/cbor/ |
| H A D | streaming.c | 26 cbor_data source, size_t source_size, in cbor_stream_decode() argument 34 switch (*source) { in cbor_stream_decode() 61 callbacks->uint8(context, _cbor_load_uint8(source)); in cbor_stream_decode() 68 callbacks->uint8(context, _cbor_load_uint8(source + 1)); in cbor_stream_decode() 199 callbacks->byte_string(context, source + 1, length); in cbor_stream_decode() 208 size_t length = (size_t)_cbor_load_uint8(source + 1); in cbor_stream_decode() 288 callbacks->string(context, source + 1, length); in cbor_stream_decode() 296 size_t length = (size_t)_cbor_load_uint8(source + 1); in cbor_stream_decode() 298 callbacks->string(context, source + 1 + 1, length); in cbor_stream_decode() 309 callbacks->string(context, source + 1 + 2, length); in cbor_stream_decode() [all …]
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | temp_serializer.c | 74 source_stack_t *source; member 123 context->source = apr_palloc(pool, sizeof(*context->source)); in svn_temp_serializer__init() 135 context->source = NULL; in svn_temp_serializer__init() 172 context->source = apr_palloc(pool, sizeof(*context->source)); in svn_temp_serializer__init_append() 197 if (context->source == NULL) in store_current_end_pointer() 243 if (source) in svn_temp_serializer__push() 256 context->source = new; in svn_temp_serializer__push() 272 assert(context->source); in svn_temp_serializer__pop() 275 context->source = context->source->upper; in svn_temp_serializer__pop() 290 if (source) in svn_temp_serializer__add_leaf() [all …]
|
| /freebsd-13.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | obsolete.c | 112 if (source <= 0x0000007f) in _nc_conv_to_utf8() 114 else if (source <= 0x000007ff) in _nc_conv_to_utf8() 116 else if (source <= 0x0000ffff) in _nc_conv_to_utf8() 118 else if (source <= 0x001fffff) in _nc_conv_to_utf8() 120 else if (source <= 0x03ffffff) in _nc_conv_to_utf8() 191 if ((*source & 0x80) == 0) { in _nc_conv_to_utf32() 193 mask = (unsigned) *source; in _nc_conv_to_utf32() 196 mask = (unsigned) (*source & 0x1f); in _nc_conv_to_utf32() 199 mask = (unsigned) (*source & 0x0f); in _nc_conv_to_utf32() 202 mask = (unsigned) (*source & 0x07); in _nc_conv_to_utf32() [all …]
|
| /freebsd-13.1/lib/libfigpar/ |
| H A D | string_m.c | 50 const char *p = source; in strcount() 106 if (source == NULL) in replaceall() 112 slen = strlen(source); in replaceall() 127 temp = source; in replaceall() 146 if (temp != source) in replaceall() 150 return (strlen(source)); in replaceall() 188 pos = chr = source; in strexpand() 275 cp1 = cp2 = source; in strexpandnl() 298 strtolower(char *source) in strtolower() argument 300 char *p = source; in strtolower() [all …]
|
| /freebsd-13.1/contrib/ncurses/ncurses/base/ |
| H A D | lib_screen.c | 220 if (source[0] == MARKER && source[1] == L_CURL) { in decode_attr() 224 source++; in decode_attr() 333 source = decode_attr(source, &attr, &color); in decode_chtype() 334 source = decode_char(source, &value); in decode_chtype() 357 source = decode_attr(source, &attr, &color); in decode_cchar() 359 source = decode_char(source, &value); in decode_cchar() 362 while (source[0] == MARKER && source[1] == APPEND) { in decode_cchar() 363 source += 2; in decode_cchar() 364 source = decode_char(source, &value); in decode_cchar() 450 source = decode_cchar(source, prior, target); in read_row() [all …]
|
| /freebsd-13.1/contrib/libcbor/examples/ |
| H A D | cjson2cbor.c | 28 cbor_item_t *cjson_cbor_load(void *source, in cjson_cbor_load() argument 49 cbor_load_callback(source, &callbacks, &context); in cjson_cbor_load() 54 void cjson_cbor_stream_decode(cJSON *source, in cjson_cbor_stream_decode() argument 57 switch (source->type) { in cjson_cbor_stream_decode() 72 if (fabs(source->valuedouble - source->valueint) > DBL_EPSILON) { in cjson_cbor_stream_decode() 73 callbacks->float4(context, source->valuedouble); in cjson_cbor_stream_decode() 76 if (source->valueint >= 0) { in cjson_cbor_stream_decode() 77 callbacks->uint64(context, source->valueint); in cjson_cbor_stream_decode() 87 strlen(source->valuestring)); in cjson_cbor_stream_decode() 92 cJSON *item = source->child; in cjson_cbor_stream_decode() [all …]
|
| /freebsd-13.1/tools/sched/ |
| H A D | schedgraph.py | 331 self.source = source 453 self.source = source 506 self.source = source 519 if (source.group == self.source.group): 628 self.source = source 783 cpu = source.events[len(source.events) -1].cpu 1083 return (source) 1088 return source 1115 source.fixup() 1416 return source.y - self.bdheight - source.ysize() [all …]
|
| /freebsd-13.1/contrib/file/magic/Magdir/ |
| H A D | c-lang | 8 0 search/8192 "libhdr" BCPL source text 10 0 search/8192 "LIBHDR" BCPL source text 19 >>&0 clear x source text 23 >0 regex \^#[[:space:]]*pragma C source text 27 >>&0 regex \^#[[:space:]]*endif$ C source text 31 >>&0 regex \^#[[:space:]]*define C source text 46 >0 regex \^struct[[:space:]]+ C source text 49 >0 regex \^union[[:space:]]+ C source text 52 >&0 search/64 String Java source text 55 >>&0 regex \\)[[:space:]]*\\{ C source text [all …]
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_subr/lz4/ |
| H A D | lz4internal.h | 132 LZ4LIB_API int LZ4_compress_default(const char* source, char* dest, int sourceSize, int maxDestSize… 143 LZ4LIB_API int LZ4_decompress_safe (const char* source, char* dest, int compressedSize, int maxDeco… 172 LZ4LIB_API int LZ4_compress_fast (const char* source, char* dest, int sourceSize, int maxDestSize, … 183 LZ4LIB_API int LZ4_compress_fast_extState (void* state, const char* source, char* dest, int inputSi… 197 LZ4LIB_API int LZ4_compress_destSize (const char* source, char* dest, int* sourceSizePtr, int targe… 211 LZ4LIB_API int LZ4_decompress_fast (const char* source, char* dest, int originalSize); 225 LZ4LIB_API int LZ4_decompress_safe_partial (const char* source, char* dest, int compressedSize, int… 308 …ompress_fast_continue (LZ4_streamDecode_t* LZ4_streamDecode, const char* source, char* dest, int o… 317 LZ4LIB_API int LZ4_decompress_fast_usingDict (const char* source, char* dest, int originalSize, con… 433 …compress_default() instead") int LZ4_compress (const char* source, char* dest, int s… [all …]
|
| H A D | lz4.c | 471 const char* const source, in LZ4_compress_generic() argument 481 const BYTE* ip = (const BYTE*) source; in LZ4_compress_generic() 488 const BYTE* anchor = (const BYTE*) source; in LZ4_compress_generic() 504 base = (const BYTE*)source; in LZ4_compress_generic() 505 lowLimit = (const BYTE*)source; in LZ4_compress_generic() 513 lowLimit = (const BYTE*)source; in LZ4_compress_generic() 629 if (match < (const BYTE*)source) { in LZ4_compress_generic() 1019 if (dictEnd == (const BYTE*)source) { in LZ4_compress_fast_continue() 1052 if (smallest > (const BYTE*) source) smallest = (const BYTE*) source; in LZ4_compress_forceExtDict() 1100 const char* const source, in LZ4_decompress_generic() argument [all …]
|
| /freebsd-13.1/contrib/llvm-project/ |
| H A D | FREEBSD-Xlist | 306 lldb/source/API/CMakeLists.txt 308 lldb/source/CMakeLists.txt 310 lldb/source/Core/CMakeLists.txt 313 lldb/source/Host/CMakeLists.txt 314 lldb/source/Host/android/ 315 lldb/source/Host/linux/ 316 lldb/source/Host/macosx/ 317 lldb/source/Host/windows/ 334 lldb/source/Plugins/CMakeLists.txt 437 lldb/source/Symbol/CMakeLists.txt [all …]
|
| /freebsd-13.1/bin/ln/ |
| H A D | ln.c | 236 if ((Pflag ? lstat : stat)(source, &sb)) { in linkit() 237 warn("%s", source); in linkit() 243 warn("%s", source); in linkit() 260 warn("%s", source); in linkit() 271 if (*source == '/') { in linkit() 273 if (stat(source, &sb) != 0) in linkit() 285 p, source); in linkit() 287 warn("warning: %s", source); in linkit() 297 if (!sflag && samedirent(source, target)) { in linkit() 299 source, target); in linkit() [all …]
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/clock/ |
| H A D | silabs,si5351.txt | 30 - silabs,pll-source: pair of (number, source) for each pll. Allows 43 - silabs,clock-source: source clock of the output divider stage N, shall be 49 - silabs,multisynth-source: source pll A(0) or B(1) of corresponding multisynth 83 silabs,pll-source = <0 0>, <1 0>; 88 * - pll0 as clock source of multisynth0 96 silabs,multisynth-source = <0>; 97 silabs,clock-source = <0>; 105 * - pll1 as clock source of multisynth1 112 silabs,multisynth-source = <1>; 113 silabs,clock-source = <0>; [all …]
|