Home
last modified time | relevance | path

Searched refs:string_ptr (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/dports/net-p2p/py-libtorrent-rasterbar/libtorrent-1.2.13/include/libtorrent/aux_/
H A Dstring_ptr.hpp41 struct string_ptr struct
43 explicit string_ptr(string_view str) : m_ptr(new char[str.size() + 1]) in string_ptr() argument
48 ~string_ptr() in ~string_ptr() argument
52 string_ptr(string_ptr&& rhs) in string_ptr() argument
57 string_ptr& operator=(string_ptr&& rhs) in operator =() argument
65 string_ptr(string_ptr const& rhs) = delete;
66 string_ptr& operator=(string_ptr const& rhs) = delete;
/dports/net-p2p/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14/include/libtorrent/aux_/
H A Dstring_ptr.hpp41 struct string_ptr struct
43 explicit string_ptr(string_view str) : m_ptr(new char[str.size() + 1]) in string_ptr() argument
48 ~string_ptr() in ~string_ptr() argument
52 string_ptr(string_ptr&& rhs) in string_ptr() function
57 string_ptr& operator=(string_ptr&& rhs) in operator =() argument
65 string_ptr(string_ptr const& rhs) = delete;
66 string_ptr& operator=(string_ptr const& rhs) = delete;
/dports/devel/jwasm/JWasm-f0a2fdd/src/
H A Dstring.c145 if ( sym->string_ptr ) in CatStrDir()
146 LclFree( sym->string_ptr ); in CatStrDir()
228 if ( sym->string_ptr ) in SetTextMacro()
229 LclFree( sym->string_ptr ); in SetTextMacro()
264 sym->string_ptr = (char *)value; in AddPredefinedText()
312 p = tokenarray[i].string_ptr; in SubStrDir()
430 if ( sym->string_ptr ) in SubStrDir()
431 LclFree( sym->string_ptr ); in SubStrDir()
435 LclFree( sym->string_ptr ); in SubStrDir()
554 src = tokenarray[i].string_ptr; in InStrDir()
[all …]
H A Doption.c60 if ( 0 == _stricmp( tokenarray[i].string_ptr, "NONE" ) ) { in OPTFUNC()
72 DebugMsg1(("SetCaseMap(%s) ok\n", tokenarray[i].string_ptr )); in OPTFUNC()
232 for ( p = tokenarray[i].string_ptr; *p; ) { in OPTFUNC()
293 if ( 0 == _stricmp( tokenarray[i].string_ptr, "TRUE" ) ) { in OPTFUNC()
333 if ( 0 == _stricmp( tokenarray[i].string_ptr, "NONE" ) ) { in OPTFUNC()
366 if ( 0 == _stricmp( tokenarray[i].string_ptr, "NONE" ) ) { in OPTFUNC()
390 if ( 0 == _stricmp( tokenarray[i].string_ptr, "GROUP" ) ) { in OPTFUNC()
586 if ( 0 == _stricmp( tokenarray[i].string_ptr, "AUTO" ) ) { in OPTFUNC()
643 oldname = tokenarray[i].string_ptr; in OPTFUNC()
662 RenameKeyword( index, tokenarray[i].string_ptr, strlen( tokenarray[i].string_ptr ) ); in OPTFUNC()
[all …]
H A Dsafeseh.c44 return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) ); in SafeSEHDirective()
46 sym = SymSearch( tokenarray[i].string_ptr ); in SafeSEHDirective()
51 return( EmitErr( SYMBOL_NOT_DEFINED, tokenarray[i].string_ptr ) ); in SafeSEHDirective()
54 return( EmitErr( SAFESEH_ARGUMENT_MUST_BE_A_PROC, tokenarray[i].string_ptr ) ); in SafeSEHDirective()
63 sym = SymCreate( tokenarray[i].string_ptr ); in SafeSEHDirective()
85 return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) ); in SafeSEHDirective()
H A Ddirectiv.c92 name = tokenarray[i].string_ptr; in IncludeDirective()
173 name = tokenarray[i].string_ptr; in IncludeLibDirective()
212 memcpy( StringBufferEnd, tokenarray[i].string_ptr+1, tokenarray[i].stringlen ); in IncBinDirective()
217 memcpy( StringBufferEnd, tokenarray[i].string_ptr, tokenarray[i].stringlen+1 ); in IncBinDirective()
310 DebugMsg(("AliasDirective: syntax error: %s\n", tokenarray[i+1].string_ptr )); in AliasDirective()
311 return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i+1].string_ptr ) ); in AliasDirective()
319 subst = tokenarray[i+2].string_ptr; in AliasDirective()
322 return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i+3].string_ptr ) ); in AliasDirective()
326 sym = SymSearch( tokenarray[i].string_ptr ); in AliasDirective()
341 sym = SymCreate( tokenarray[i].string_ptr ); in AliasDirective()
[all …]
H A Dcondasm.c283 string1 = tokenarray[i].string_ptr; in CondAsmDirective()
296 string2 = tokenarray[i].string_ptr; in CondAsmDirective()
324 string1 = tokenarray[i].string_ptr; in CondAsmDirective()
368 ( sym = SymSearch( tokenarray[i].string_ptr ) ) && in CondAsmDirective()
434 strcpy( StringBufferEnd+2, tokenarray[i].string_ptr ); in GetErrText()
526 ( sym = SymSearch( tokenarray[idloc].string_ptr ) ) && in ErrorDirective()
548 sym = SymSearch( tokenarray[idloc].string_ptr ); in ErrorDirective()
549 strcpy( StringBufferEnd, tokenarray[idloc].string_ptr ); in ErrorDirective()
561 string1 = tokenarray[i].string_ptr; in ErrorDirective()
580 string1 = tokenarray[i].string_ptr; in ErrorDirective()
[all …]
H A Dexpreval.c230 fnEmitErr( SYNTAX_ERROR_EX, item->string_ptr ); in get_precedence()
371 ( *tokenarray[i].string_ptr == '"' || *tokenarray[i].string_ptr == '\'' )) in get_operand()
380 tmp = tokenarray[i].string_ptr + 1; /* skip the quote */ in get_operand()
435 tmp = tokenarray[i].string_ptr; in get_operand()
775 else if ( isalpha( *tokenarray[i].string_ptr ) ) in get_operand()
2718 oper->string_ptr, in calculate()
2917 oper->string_ptr, in calculate()
2972 name = opnd2->base_reg->string_ptr; in calculate()
3071 oper->string_ptr, in calculate()
3079 oper->string_ptr, in calculate()
[all …]
H A Dtypes.c187 return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) ); in StructDirective()
204 name = tokenarray[i].string_ptr; in StructDirective()
210 name = tokenarray[0].string_ptr; in StructDirective()
862 pti->symtype = SymSearch( tokenarray[i].string_ptr );
908 EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr );
913 pti->symtype = SymSearch( tokenarray[i].string_ptr );
974 name = tokenarray[0].string_ptr;
1132 name = tokenarray[0].string_ptr;
1165 EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr );
1168 len = strlen( tokenarray[i].string_ptr );
[all …]
/dports/news/trn/trn-3.6/
H A Drt-mt.c232 string_ptr = strings;
246 if (string_ptr >= string_end)
248 *author_ptr++ = string_ptr;
249 string_ptr += strlen(string_ptr) + 1;
268 register char *string_ptr; local
290 len = strlen(string_ptr);
295 string_ptr += len + 1;
503 string_ptr = strings;
519 string_ptr += len;
535 len2 = strlen(string_ptr);
[all …]
/dports/sysutils/busybox/busybox-1.26.2/libbb/
H A Dplatform.c39 int FAST_FUNC vasprintf(char **string_ptr, const char *format, va_list p) in vasprintf() argument
53 *string_ptr = strdup(buf); in vasprintf()
54 return (*string_ptr ? r : -1); in vasprintf()
57 *string_ptr = malloc(r+1); in vasprintf()
58 r = (*string_ptr ? vsnprintf(*string_ptr, r+1, format, p2) : -1); in vasprintf()
71 char *string_ptr; in dprintf() local
74 r = vasprintf(&string_ptr, format, p); in dprintf()
77 r = full_write(fd, string_ptr, r); in dprintf()
78 free(string_ptr); in dprintf()
/dports/news/trn4/trn-4.0-test77/
H A Drt-mt.c234 register char* string_ptr; in read_authors() local
244 string_ptr = strings; in read_authors()
258 if (string_ptr >= string_end) in read_authors()
260 *author_ptr++ = string_ptr; in read_authors()
261 string_ptr += strlen(string_ptr) + 1; in read_authors()
302 len = strlen(string_ptr); in read_subjects()
308 string_ptr += len + 1; in read_subjects()
531 string_ptr = strings; in read_ids()
547 string_ptr += len; in read_ids()
563 len2 = strlen(string_ptr); in read_ids()
[all …]
/dports/databases/p5-Memcached-libmemcached/Memcached-libmemcached-1.001801/src/libmemcached/libmemcached/
H A Dresponse.cc54 char *string_ptr= buffer; in textual_value_fetch() local
70 *key= *string_ptr; in textual_value_fetch()
80 if (end_ptr == string_ptr) in textual_value_fetch()
86 string_ptr++; in textual_value_fetch()
92 for (next_ptr= string_ptr; isdigit(*string_ptr); string_ptr++) {}; in textual_value_fetch()
102 string_ptr++; in textual_value_fetch()
108 for (next_ptr= string_ptr; isdigit(*string_ptr); string_ptr++) {}; in textual_value_fetch()
118 if (*string_ptr == '\r') in textual_value_fetch()
121 string_ptr+= 2; in textual_value_fetch()
125 string_ptr++; in textual_value_fetch()
[all …]
H A Ddump.cc92 char *string_ptr, *end_ptr; in ascii_dump() local
94 string_ptr= buffer; in ascii_dump()
95 string_ptr+= 5; /* Move past ITEM */ in ascii_dump()
97 for (end_ptr= string_ptr; isgraph(*end_ptr); end_ptr++) {} ; in ascii_dump()
99 char *key= string_ptr; in ascii_dump()
100 key[(size_t)(end_ptr-string_ptr)]= 0; in ascii_dump()
104 …urn_t callback_rc= (*callback[callback_counter])(memc, key, (size_t)(end_ptr-string_ptr), context); in ascii_dump()
/dports/databases/libmemcached/libmemcached-1.0.18/libmemcached/
H A Dresponse.cc54 char *string_ptr= buffer; in textual_value_fetch() local
70 *key= *string_ptr; in textual_value_fetch()
80 if (end_ptr == string_ptr) in textual_value_fetch()
86 string_ptr++; in textual_value_fetch()
92 for (next_ptr= string_ptr; isdigit(*string_ptr); string_ptr++) {}; in textual_value_fetch()
102 string_ptr++; in textual_value_fetch()
108 for (next_ptr= string_ptr; isdigit(*string_ptr); string_ptr++) {}; in textual_value_fetch()
118 if (*string_ptr == '\r') in textual_value_fetch()
121 string_ptr+= 2; in textual_value_fetch()
125 string_ptr++; in textual_value_fetch()
[all …]
H A Ddump.cc92 char *string_ptr, *end_ptr; in ascii_dump() local
94 string_ptr= buffer; in ascii_dump()
95 string_ptr+= 5; /* Move past ITEM */ in ascii_dump()
97 for (end_ptr= string_ptr; isgraph(*end_ptr); end_ptr++) {} ; in ascii_dump()
99 char *key= string_ptr; in ascii_dump()
100 key[(size_t)(end_ptr-string_ptr)]= 0; in ascii_dump()
104 …urn_t callback_rc= (*callback[callback_counter])(memc, key, (size_t)(end_ptr-string_ptr), context); in ascii_dump()
/dports/lang/sdcc/sdcc-4.0.0/sim/ucsim/cmd.src/
H A Dcmdlex.l97 static const char *string_ptr = NULL; variable
103 string_ptr=NULL; in uc_yy_free_string_to_parse()
110 if (NULL == string_ptr) in uc_yy_input()
112 string_ptr = string_to_parse; in uc_yy_input()
120 if (NULL != string_ptr) in uc_yy_input()
122 int lrem = strlen(string_ptr); in uc_yy_input()
126 strncpy(buf, string_ptr, n); in uc_yy_input()
127 string_ptr += n; in uc_yy_input()
/dports/sysutils/thefish/thefish-0.6.7/
H A Dncurses_ui.c147 rc_local.string_ptr = my_rc->string_ptr; in create_ncurses_ui()
256 str_it[i].prompt = rc_local.string_ptr[i - 2].name; in ncurses_ui_main()
257 str_it[i].title = rc_local.string_ptr[i - 2].value; in ncurses_ui_main()
490 rc_local.string_ptr, rc_local.string_size); in commit_data()
593 strncpy(result, rc_local.string_ptr[i].value, 255); in edit_callback()
605 strncpy(rc_local.string_ptr[i].value, result, 255); in edit_callback()
607 if (!strncmp(rc_local.string_ptr[i].value, rc_local.string_ptr[i].orig, 255) in edit_callback()
608 && rc_local.string_ptr[i].user_added == USER_ADDED_NO) { in edit_callback()
610 rc_local.string_ptr[i].modified = MODIFIED_NO; in edit_callback()
614 rc_local.string_ptr[i].modified = MODIFIED_YES; in edit_callback()
[all …]
H A Dparser.c113 my_rc->string_ptr = malloc(tmp_strings * sizeof(RC_NODE)); in build_list()
114 memset(my_rc->string_ptr, 0, (tmp_strings * sizeof(RC_NODE))); in build_list()
118 my_rc->string_ptr = malloc(sizeof(RC_NODE)); in build_list()
119 memset(my_rc->string_ptr, 0, (sizeof(RC_NODE))); in build_list()
128 bar = my_rc->string_ptr; in build_list()
401 memcpy(rc_str_final, my_rc_defaults->string_ptr, in merge_lists()
404 baz = my_rc->string_ptr; in merge_lists()
410 baz = my_rc->string_ptr; in merge_lists()
437 baz = my_rc->string_ptr; in merge_lists()
441 bar = my_rc_defaults->string_ptr; in merge_lists()
[all …]
/dports/devel/smv/smv/
H A Dstring.c11 string_ptr string; in string_hash_fun()
20 string_ptr a1,a2; in string_eq_fun()
32 string_ptr find_string(x) in find_string()
37 if(res = (string_ptr)find_hash(string_hash,&a))return(res);
39 return((string_ptr)insert_hash(string_hash,&a));
/dports/games/xpat2/xpat2-1.07/src/
H A DXm-args.c43 char *string_ptr; in process_extra_args() local
53 if (string_ptr = strrchr(argv[0], '/')) in process_extra_args()
54 string_ptr += 1; in process_extra_args()
56 string_ptr = argv[0]; in process_extra_args()
57 strncpy (progname, string_ptr, sizeof(progname)); in process_extra_args()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/acpi/acpica/
H A Drsutils.c287 union aml_resource * aml, char *string_ptr) in acpi_rs_get_resource_source() argument
311 resource_source->string_ptr = string_ptr; in acpi_rs_get_resource_source()
312 if (!string_ptr) { in acpi_rs_get_resource_source()
317 resource_source->string_ptr = in acpi_rs_get_resource_source()
335 memset(resource_source->string_ptr, 0, total_length); in acpi_rs_get_resource_source()
340 acpi_rs_strcpy(resource_source->string_ptr, in acpi_rs_get_resource_source()
351 resource_source->string_ptr = NULL; in acpi_rs_get_resource_source()
399 resource_source->string_ptr); in acpi_rs_set_resource_source()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/acpi/acpica/
H A Drsutils.c287 union aml_resource * aml, char *string_ptr) in acpi_rs_get_resource_source() argument
311 resource_source->string_ptr = string_ptr; in acpi_rs_get_resource_source()
312 if (!string_ptr) { in acpi_rs_get_resource_source()
317 resource_source->string_ptr = in acpi_rs_get_resource_source()
335 memset(resource_source->string_ptr, 0, total_length); in acpi_rs_get_resource_source()
340 acpi_rs_strcpy(resource_source->string_ptr, in acpi_rs_get_resource_source()
351 resource_source->string_ptr = NULL; in acpi_rs_get_resource_source()
399 resource_source->string_ptr); in acpi_rs_set_resource_source()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/acpi/acpica/
H A Drsutils.c287 union aml_resource * aml, char *string_ptr) in acpi_rs_get_resource_source() argument
311 resource_source->string_ptr = string_ptr; in acpi_rs_get_resource_source()
312 if (!string_ptr) { in acpi_rs_get_resource_source()
317 resource_source->string_ptr = in acpi_rs_get_resource_source()
335 memset(resource_source->string_ptr, 0, total_length); in acpi_rs_get_resource_source()
340 acpi_rs_strcpy(resource_source->string_ptr, in acpi_rs_get_resource_source()
351 resource_source->string_ptr = NULL; in acpi_rs_get_resource_source()
399 resource_source->string_ptr); in acpi_rs_set_resource_source()
/dports/mail/ifile/ifile-1.3.8/
H A Dscan.c37 const char *string_ptr; /* a placeholder into STRING */ in ifile_scan_fp_for_string() local
66 string_ptr = string+1; in ifile_scan_fp_for_string()
67 while (*string_ptr) in ifile_scan_fp_for_string()
76 if (tolower (byte) != tolower (*string_ptr)) in ifile_scan_fp_for_string()
80 string_ptr++; in ifile_scan_fp_for_string()

12345678910>>...20