Searched refs:ptr (Results 1 - 25 of 2428) sorted by relevance

1234567891011>>

/macosx-10.9.5/bind9-45.100/bind9/unit/atf-src/atf-c/
H A Dutils.c37 char **ptr; local
39 for (ptr = argv; *ptr != NULL; ptr++)
40 free(*ptr);
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/cairo/
H A DRefPtrCairo.cpp31 template<> void refIfNotNull(cairo_t* ptr) argument
33 if (LIKELY(ptr != 0))
34 cairo_reference(ptr);
37 template<> void derefIfNotNull(cairo_t* ptr) argument
39 if (LIKELY(ptr != 0))
40 cairo_destroy(ptr);
43 template<> void refIfNotNull(cairo_surface_t* ptr) argument
45 if (LIKELY(ptr != 0))
46 cairo_surface_reference(ptr);
49 template<> void derefIfNotNull(cairo_surface_t* ptr) argument
55 refIfNotNull(cairo_font_face_t* ptr) argument
61 derefIfNotNull(cairo_font_face_t* ptr) argument
67 refIfNotNull(cairo_scaled_font_t* ptr) argument
73 derefIfNotNull(cairo_scaled_font_t* ptr) argument
79 refIfNotNull(cairo_pattern_t* ptr) argument
85 derefIfNotNull(cairo_pattern_t* ptr) argument
91 refIfNotNull(cairo_region_t* ptr) argument
97 derefIfNotNull(cairo_region_t* ptr) argument
104 refIfNotNull(FcPattern* ptr) argument
110 derefIfNotNull(FcPattern* ptr) argument
[all...]
H A DOwnPtrCairo.cpp33 template <> void deleteOwnedPtr<FcObjectSet>(FcObjectSet* ptr) argument
35 if (ptr)
36 FcObjectSetDestroy(ptr);
39 template <> void deleteOwnedPtr<FcFontSet>(FcFontSet* ptr) argument
41 if (ptr)
42 FcFontSetDestroy(ptr);
46 template <> void deleteOwnedPtr<cairo_path_t>(cairo_path_t* ptr) argument
48 if (ptr)
49 cairo_path_destroy(ptr);
/macosx-10.9.5/WebCore-7537.78.1/platform/network/soup/
H A DGOwnPtrSoup.cpp27 template <> void freeOwnedGPtr<SoupURI>(SoupURI* ptr) argument
29 if (ptr)
30 soup_uri_free(ptr);
33 template <> void freeOwnedGPtr<SoupCookie>(SoupCookie* ptr) argument
35 if (ptr)
36 soup_cookie_free(ptr);
39 template <> void freeOwnedGPtr<SoupMessageHeaders>(SoupMessageHeaders* ptr) argument
41 if (ptr)
42 soup_message_headers_free(ptr);
/macosx-10.9.5/CrackLib-37765/cracklib27/cracklib/
H A Dstringlib.c20 register char *ptr; local
23 for (ptr = string; *ptr; ptr++);
24 if (ptr != string)
26 c = *(--ptr);
27 *ptr = '\0';
36 register char *ptr; local
37 for (ptr = string; *ptr; pt
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/gtk/
H A DGRefPtrGtk.cpp34 template <> GtkTargetList* refGPtr(GtkTargetList* ptr) argument
36 if (ptr)
37 gtk_target_list_ref(ptr);
38 return ptr;
41 template <> void derefGPtr(GtkTargetList* ptr) argument
43 if (ptr)
44 gtk_target_list_unref(ptr);
48 template <> SecretValue* refGPtr(SecretValue* ptr) argument
50 if (ptr)
51 secret_value_ref(ptr);
55 derefGPtr(SecretValue* ptr) argument
63 refGPtr(GdkCursor* ptr) argument
70 derefGPtr(GdkCursor* ptr) argument
[all...]
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dstrtok.c31 Curl_strtok_r(char *ptr, const char *sep, char **end) argument
33 if(!ptr)
35 ptr = *end;
38 while(*ptr && strchr(sep, *ptr))
39 ++ptr;
41 if(*ptr) {
43 char *start = ptr;
H A Dcurl_multibyte.h60 #define Curl_convert_UTF8_to_tchar(ptr) Curl_convert_UTF8_to_wchar((ptr))
61 #define Curl_convert_tchar_to_UTF8(ptr) Curl_convert_wchar_to_UTF8((ptr))
62 #define Curl_unicodefree(ptr) \
63 do {if((ptr)) {free((ptr)); (ptr) = NULL;}} WHILE_FALSE
74 #define Curl_convert_UTF8_to_tchar(ptr) (ptr)
[all...]
/macosx-10.9.5/libstdcxx-60/src/
H A Ddel_opv.cc31 operator delete[] (void* ptr) throw () argument
33 ::operator delete (ptr);
H A Ddel_op.cc32 operator delete (void* ptr) throw () argument
34 if (ptr)
35 ::free(ptr);
H A Ddel_opnt.cc31 operator delete (void* ptr, const std::nothrow_t&) throw () argument
33 ::operator delete(ptr);
H A Ddel_opvnt.cc31 operator delete[] (void* ptr, const std::nothrow_t&) throw () argument
33 ::operator delete[](ptr);
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/gstreamer/
H A DGRefPtrGStreamer.cpp29 template <> GRefPtr<GstElement> adoptGRef(GstElement* ptr) argument
31 ASSERT(!ptr || !gstObjectIsFloating(GST_OBJECT(ptr)));
32 return GRefPtr<GstElement>(ptr, GRefPtrAdopt);
35 template <> GstElement* refGPtr<GstElement>(GstElement* ptr) argument
37 if (ptr)
38 webkitGstObjectRefSink(GST_OBJECT(ptr));
40 return ptr;
43 template <> void derefGPtr<GstElement>(GstElement* ptr) argument
45 if (ptr)
49 adoptGRef(GstPad* ptr) argument
55 refGPtr(GstPad* ptr) argument
63 derefGPtr(GstPad* ptr) argument
69 adoptGRef(GstPadTemplate* ptr) argument
75 refGPtr(GstPadTemplate* ptr) argument
83 derefGPtr(GstPadTemplate* ptr) argument
89 adoptGRef(GstCaps* ptr) argument
94 refGPtr(GstCaps* ptr) argument
101 derefGPtr(GstCaps* ptr) argument
108 adoptGRef(GstTask* ptr) argument
114 refGPtr(GstTask* ptr) argument
122 derefGPtr(GstTask* ptr) argument
128 adoptGRef(GstBus* ptr) argument
134 refGPtr(GstBus* ptr) argument
142 derefGPtr(GstBus* ptr) argument
148 adoptGRef(GstElementFactory* ptr) argument
154 refGPtr(GstElementFactory* ptr) argument
162 derefGPtr(GstElementFactory* ptr) argument
168 adoptGRef(GstBuffer* ptr) argument
173 refGPtr(GstBuffer* ptr) argument
181 derefGPtr(GstBuffer* ptr) argument
[all...]
/macosx-10.9.5/IOKitUser-907.100.13/kext.subproj/
H A Dmisc_util.h34 #define SAFE_FREE(ptr) do { \
35 if (ptr) free(ptr); \
37 #define SAFE_FREE_NULL(ptr) do { \
38 if (ptr) free(ptr); \
39 (ptr) = NULL; \
41 #define SAFE_RELEASE(ptr) do { \
42 if (ptr) CFRelease(ptr); \
[all...]
/macosx-10.9.5/ncurses-42/ncurses/ncurses/tinfo/
H A Dadd_tries.c50 TRIES *ptr, *savedptr; local
58 ptr = savedptr = (*tree);
63 while (!CMP_TRY(ptr->ch, cmp)
64 && ptr->sibling != 0)
65 ptr = ptr->sibling;
67 if (CMP_TRY(ptr->ch, cmp)) {
69 ptr->value = code;
72 if (ptr->child != 0)
73 ptr
[all...]
/macosx-10.9.5/remote_cmds-41.90.1/timed.tproj/timed.tproj/
H A Dbyteorder.c50 bytenetorder(ptr)
51 struct tsp *ptr;
53 ptr->tsp_seq = htons((u_short)ptr->tsp_seq);
54 switch (ptr->tsp_type) {
60 ptr->tsp_time.tv_sec = htonl((u_long)ptr->tsp_time.tv_sec);
61 ptr->tsp_time.tv_usec = htonl((u_long)ptr->tsp_time.tv_usec);
70 bytehostorder(ptr)
[all...]
/macosx-10.9.5/Libc-997.90.3/uuid/uuidsrc/
H A Dunpack.c40 const uint8_t *ptr = in; local
43 tmp = *ptr++;
44 tmp = (tmp << 8) | *ptr++;
45 tmp = (tmp << 8) | *ptr++;
46 tmp = (tmp << 8) | *ptr++;
49 tmp = *ptr++;
50 tmp = (tmp << 8) | *ptr++;
53 tmp = *ptr++;
54 tmp = (tmp << 8) | *ptr++;
57 tmp = *ptr
[all...]
/macosx-10.9.5/bash-92/bash-3.2/lib/malloc/
H A Dxleaktrace40 for (ptr in alloc) {
41 if (alloc[ptr] == 1) {
42 printf "%s (%d) from %s:%d\n", ptr, size[ptr], file[ptr], line[ptr];
/macosx-10.9.5/tcl-102/tcl_ext/tclxml/tclxml/expat/xmltok/
H A Dxmltok_impl.c32 #define IS_INVALID_CHAR(enc, ptr, n) (0)
35 #define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \
37 if (end - ptr < n) \
39 if (IS_INVALID_CHAR(enc, ptr, n)) { \
40 *(nextTokPtr) = (ptr); \
43 ptr += n; \
46 #define INVALID_CASES(ptr, nextTokPtr) \
47 INVALID_LEAD_CASE(2, ptr, nextTokPtr) \
48 INVALID_LEAD_CASE(3, ptr, nextTokPtr) \
49 INVALID_LEAD_CASE(4, ptr, nextTokPt
116 scanComment(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
154 scanDecl(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
201 checkPiTarget(const ENCODING *enc, const char *ptr, const char *end, int *tokPtr) argument
245 scanPi(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
308 scanCdataSection(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
326 cdataSectionTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
404 scanEndTag(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
452 scanHexCharRef(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
484 scanCharRef(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
516 scanRef(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
546 scanAtts(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
706 scanLt(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
805 contentTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
904 scanPercent(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
933 scanPoundName(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
960 scanLit(int open, const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
992 prologTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
1220 attributeValueTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
1278 entityValueTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
1332 ignoreSectionTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument
1385 isPublicId(const ENCODING *enc, const char *ptr, const char *end, const char **badPtr) argument
1444 getAtts(const ENCODING *enc, const char *ptr, int attsMax, ATTRIBUTE *atts) argument
1537 charRefNumber(const ENCODING *enc, const char *ptr) argument
1577 predefinedEntityName(const ENCODING *enc, const char *ptr, const char *end) argument
1707 nameLength(const ENCODING *enc, const char *ptr) argument
1734 skipS(const ENCODING *enc, const char *ptr) argument
1750 updatePosition(const ENCODING *enc, const char *ptr, const char *end, POSITION *pos) argument
[all...]
/macosx-10.9.5/xnu-2422.115.4/tools/tests/libMicro/
H A Dcachetocache.c182 traverse_ptrchain(long **ptr, int count, int value) argument
187 *ptr = *ptr + value;
188 ptr = (long **)*ptr;
189 *ptr = *ptr + value;
190 ptr = (long **)*ptr;
191 *ptr
[all...]
/macosx-10.9.5/curl-78.94.1/curl/tests/unit/
H A Dunit1330.c38 char *ptr = malloc(1330); variable
39 Curl_safefree(ptr); variable
/macosx-10.9.5/dtrace-118.1/test/tst/common/funcs/
H A Derr.badalloca.d44 ptr = alloca(sizeof (int));
50 bcopy((void *)&`kmem_flags, ptr, sizeof (int));
52 bcopy((void *)&`max_ncpus, ptr, sizeof (int));
H A Derr.badbcopy.d44 ptr = alloca(sizeof (int));
49 bcopy(ptr, (void *)&`kmem_flags, sizeof (int));
51 bcopy(ptr, (void *)&`max_ncpus, sizeof (int));
H A Derr.badbcopy1.d44 ptr = alloca(0);
48 bcopy((void *)&`kmem_flags, ptr, sizeof (int));
50 bcopy((void *)&`max_ncpus, ptr, sizeof (int));
H A Derr.badbcopy2.d40 int *ptr;
47 bcopy((void *)&`kmem_flags, ptr, sizeof (int));
49 bcopy((void *)&`max_ncpus, ptr, sizeof (int));

Completed in 352 milliseconds

1234567891011>>